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 |
Mandatory |
Descripiton |
---|---|---|
name |
Yes |
Name of the created CCE.HelmRelease Type: string Value Description: Customize the value, 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: Cloud.CCE.Cluster.Id Value Description: ID of an existing or new container cluster. Value Constraint: The value must satisfy the UUID rule and contain a maximum of 64 characters. Suggestion: This parameter is optional. You can set this parameter when creating a stack. |
namespace |
No |
Namespace where the resource is located Type: string Value Description: 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. |
values |
Yes |
Input value of the Helm application Type: dict Value Description: Customize the value. 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. |
Relationships Between Elements
Description |
Target |
---|---|
Connected |
|
Connected |
|
Connected |
|
Connected |
|
Inclusion |
Return Value
Property |
Type |
Description |
---|---|---|
clusterId |
string |
Cluster ID |
refName |
string |
Release name |
Blueprint Example
tosca_definitions_version: cloud_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/test/redis:3.2.8" config_image: default: "10.125.5.235:20202/test/redis-conf:3.2.8" service_port: type: integer default: 6379 node_templates: redis-helm: type: Cloud.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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot