CCE.HelmRelease
Element Description
Helm is a type of Kubernetes-based package specifications provided by CCE. The CCE.HelmRelease element is a deployment instance of the Helm package.
Element Properties
Property |
Required |
Descripiton |
---|---|---|
name |
Yes |
Name of the created CCE.HelmRelease Type: string Value Description: Supports customization, for example, my_release. Value Constraint: The value must start with a letter. Only lowercase letters, digits, and hyphens (-) are allowed. |
clusterId |
No |
ID of the cluster to which the resource belongs Type: HuaweiCloud.CCE.Cluster.Id Value Description: Indicates the ID of an existing or new container cluster. Value Constraint: The value must satisfy the UUID rule and support a maximum of 64 characters. Suggestion: This parameter is optional. You can set this parameter when creating a stack. |
namespace |
No |
Namespace in a cluster where a resource is located Type: string Value Description: Indicates the namespace of a cluster. Default: default Value Constraint: The value must start with a letter. Only lowercase letters, digits, and hyphens (-) are allowed. Suggestion: This parameter is optional. You can set this parameter when creating a stack. |
chart |
Yes |
Chart information about the Helm application Type: CCE.HelmChart Value Description: Information includes the chart package name and version number, which can be obtained from Charts in the navigation pane on the CCE console. Default: {u'version': u'', u'name': u''} Suggestion: Set the value based on the helm application to be orchestrated. The value can be your own applications or Huawei official applications. |
values |
Yes |
Input value of the Helm application Type: dict Value Description: Supports customization. Default: {} Value Constraint: Composite structure, which is similar to {"key": "value"}, where value can be nested. Suggestion: For your own applications, enter the corresponding value. For Huawei official applications, the value can be an empty structure body. |
Relationships Between Elements
Description |
Target |
---|---|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
ContainedIn |
Return Value
Property |
Type |
Description |
---|---|---|
clusterId |
string |
Cluster ID |
refName |
string |
Release name |
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0 inputs: release_name: default: "release" cluster_id: default: "25f511bc-00f7-11e8-958d-0255ac101a5a" namespace: default: "default" chart_name: default: "redis" chart_version: default: "1.0.0" app_image: default: "10.125.5.235:20202/hwofficial/redis:3.2.8" config_image: default: "10.125.5.235:20202/hwofficial/redis-conf:3.2.8" service_port: type: integer default: 6379 node_templates: redis-helm: type: HuaweiCloud.CCE.HelmRelease properties: name: {get_input: release_name} chart: name: {get_input: chart_name} version: {get_input: chart_version} clusterId: {get_input: cluster_id} namespace: {get_input: namespace} values: chartimage: app_image: {get_input: app_image} config_image: {get_input: config_image} format1: redis_master_replicas: 1 redis_sentinel_replicas: 1 redis_slave_replicas: 1 format2: redis_master_replicas: 1 redis_sentinel_replicas: 1 redis_slave_replicas: 2 highavailable: redis_replication_enabled: true redis_sentinel_replicas: 1 redis_slave_replicas: 1 servicestorage: service: instance: "127.0.0.1" service_port: {get_input: service_port} type: "ClusterIP" storage: enabled: false kind: "sas" size: "10Gi"
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.