Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

CCE.Storage.SFS

Updated on 2022-02-22 GMT+08:00

Element Description

The CCE.Storage.SFS element corresponds to file storage volumes in the CCE storage management function. This type of resources must be used together with CCE clusters.

Element Properties

Table 1 Property Description

Property

Mandatory

Descripiton

size

No

Storage space size, in GB. The default value is 80.

Type: integer

Default: 10

Value Constraint: The value ranges from 1 to 511800.

Suggestion: Set the value based on the live environment.

k8sManifest

No

K8s-native manifest object of the SFS, which can be used to replace other configuration items in SFS resource creation

Type: dict

Value Constraint: The value must meet the Kubernetes specifications.

Suggestion: For details, see the sample or CCE documentation.

name

No

Name of the CCE SFS file system, which is mounted to the container

Type: string

Value Constraint: Enter 1 to 24 characters, starting with a letter and ending with a letter or digit. Only lowercase letters, digits, and hyphens (-) are allowed. The value must meet regular expression (^$)|(^[a-z]([-a-z0-9]*[a-z0-9])?$).

Suggestion: Customize the value.

clusterId

No

ID of the cluster which is associated with the storage system

Type: Cloud.CCE.Cluster.Id

Value Constraint: The value must satisfy the UUID rule and contain a maximum of 64 characters.

Suggestion: 1. Enter the cluster ID. Specifically, log in to the CCE console, and choose Resource Management > Clusters. Click the target cluster, and you can then obtain its cluster ID. 2. Connect to the cluster object and use the get_reference function to obtain the cluster ID.

volumeId

No

Cloud storage volume ID when you import a volume

Type: string

Value Description: Customize the value.

Value Constraint: The value must satisfy the UUID rule and contain a maximum of 64 characters.

Suggestion: None

deleteVolume

No

Whether to delete the cloud storage when you import a volume and delete a PVC

Type: boolean

Default: False

Value Constraint: The options are true and false.

Suggestion: None

namespace

No

Namespace where the resource is located

Type: string

Value Constraint: The value must start with a letter. Only lowercase letters, digits, and hyphens (-) are allowed.

Suggestion: Log in to the CCE console, and choose Resource Management > Namespaces. View and select the target namespace.

Relationships Between Elements

Table 2 Relationship description

Description

Target

Dependency

DCS.Redis

Dependency

RDS.MySQL

Dependency

OBS.Bucket

Dependency

CCE.Storage.SFS

Dependency

CCE.Storage.OBS

Dependency

CCE.NodePool

Dependency

CCE.Pod

Inclusion

CCE.Cluster

Return Value

Property

Type

Description

status

string

Status of the SFS file system

clusterId

string

ID of the cluster which is associated with the SFS file system

refID

string

UID of the SFS file system

refName

string

Name of the SFS file system

Blueprint Example

Example 1:

tosca_definitions_version: cloud_tosca_version_1_0
inputs:
  storage-name:
    default: my-evc-storage
node_templates:
  my-storage:
    type: Cloud.CCE.Storage.SFS
    properties:
      name: 
        get_input: storage-name

Example 2: Custom K8s Manifest for Orchestration

  • For clusters of version 1.13 or earlier, the example configuration of the YAML file is as follows:
    tosca_definitions_version: cloud_tosca_version_1_0
    node_templates:
      my-storage:
        type: Cloud.CCE.Storage.SFS
        properties:
          apiVersion: v1
          kind: PersistentVolumeClaim
          metadata:
            annotations:
              volume.beta.kubernetes.io/storage-class: nfs-rw
              volume.beta.kubernetes.io/storage-provisioner: flexvolume.com/fs
            name: cce-sfs-k7yimkqa-p66e
            namespace: default
          spec:
            accessModes:
            - ReadWriteMany
            resources:
              requests:
                storage: 10Gi

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback