CCI.Storage.SFS
Element Description
The CCI.Storage.SFS element is used to create an SFS file system under a specified namespace.
Element Properties
Property |
Required |
Descripiton |
---|---|---|
k8sManifest |
No |
K8s-native manifest object of the SFS, based on which you can create SFS resources to replace other configuration items Type: dict Value Constraint: The value must meet the Kubernetes specifications. Suggestion: For details, see the sample or CCI documentation. |
namespace |
Yes |
Namespace in a cluster where a service is located Type: HuaweiCloud.CCI.Namespace.Name Value Description: Supports customization. Value Constraint: The value must start with a letter. Only lowercase letters, digits, and hyphens (-) are allowed. The length of namespace can't be over 63. Suggestion: Log in to the CCI console. In the navigation pane on the left, choose Namespaces. View and select the target namespace. |
name |
No |
SFS name Type: string Value Description: Supports customization. Value Constraint: Each SFS name must be unique in a namespace. The value must contain 1 to 24 characters and meet the following requirement: (^$) | (^[a-z] ([-a-z0-9]*[a-z0-9])?$). Suggestion: Customize the value. |
Relationships Between Elements
Description |
Target |
---|---|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
ContainedIn |
Return Value
Property |
Type |
Description |
---|---|---|
status |
string |
Status of the SFS file system |
refName |
string |
Name of the SFS file system |
refID |
string |
UID of the SFS file system |
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0 inputs: ccis34wa_namespace: description: Namespace defines the space within which name must be unique label: '' node_templates: ccis34wa: type: HuaweiCloud.CCI.Storage.SFS properties: namespace: get_input: ccis34wa_namespace k8sManifest: kind: PersistentVolumeClaim spec: accessModes: - ReadWriteMany resources: requests: storage: 10Gi apiVersion: v1 metadata: namespace: default annotations: 'volume.beta.kubernetes.io/storage-class': nfs-rw 'volume.beta.kubernetes.io/storage-provisioner': 'flexvolume-huawei.com/fuxinfs' name: pvc-sfs-auto-example
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot