CCI.Storage.EVS
Element Description
The CCI.Storage.EVS element is used to create a Persistent Volume Claim (PVC) under a specified namespace.
Element Properties
Property |
Required |
Descripiton |
---|---|---|
k8sManifest |
No |
K8s-native manifest object of the EVS, based on which you can create EVS 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. |
name |
No |
PVC name Type: string Value Description: Supports customization. Value Constraint: Each PVC 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. |
accessMode |
Yes |
Access mode for the persist volume, default value is ReadWriteMany. Type: string Value Description: Supports customization. Default: ReadWriteMany Value Constraint: Supports "ReadWriteOnce", "ReadOnlyMany", "ReadWriteMany" Suggestion: None |
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. |
diskType |
Yes |
disk type Type: HuaweiCloud.CCI.Volume.Type.Name Value Description: Supports customization. Value Constraint: SATA: common I/O EVS disks; SAS: high I/O EVS disks; SSD: ultra-high I/O EVS disks Suggestion: None |
storageClass |
No |
storage class(deprecated) Type: string Value Description: Supports customization. Default: sata Value Constraint: Supports "sata", "sas", "ssd" Suggestion: None |
size |
Yes |
PVC name Type: integer Value Description: Supports customization. Default: 10 Value Constraint: the value range 1-1024 Suggestion: None |
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 |
---|---|---|
refName |
string |
Name of the EVS file system |
refID |
string |
UID of the EVS file system |
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0 inputs: pvc-name: default: pvc pvc-ns: default: default class: default: sata node_templates: my-pvc: properties: name: get_input: pvc-name namespace: get_input: pvc-ns storageClass: get_input: class type: HuaweiCloud.CCI.Storage.EVS outputs: pvc-name: description: Name of pvc value: get_attribute: - my-pvc - refName
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.