Skip to main content
Version: v1.6

Elastic Cloud EC Deployment

Description

Provides an Elastic Cloud deployment resource, which allows deployments to be created, updated, and deleted.

Examples

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: ec-deploy
spec:
components:
- name: ec-deploy-comp
type: elastic-ec-deployment
properties:
name: test-app
region: aws-ap-east-1
deployment_template_id: aws-compute-optimized-v3
version: 8.3.3

Specification

Properties

NameDescriptionTypeRequiredDefault
deployment_template_idDeployment template identifier to create the deployment from, full list: https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html.stringfalse
nameName of the deployment.stringfalse
regionElasticsearch Service region, full list: https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html.stringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written to.writeConnectionSecretToReffalse

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written to.stringtrue
namespaceThe secret namespace which the cloud resource connection will be written to.stringfalse

Outputs

If writeConnectionSecretToRef is set, a secret will be generated with these keys as below:

NameDescription
ES_CLOUD_ID
ES_HTTPS_ENDPOINT
ES_PASSWORD
ES_USERNAME
ES_VERSION