Cluster

Clusters represent a logical group of services and native cloud resources that are deployed and managed as a single entity.

Definition

kind: cluster
name: <cluster-name>

provides:
    <cluster-endpoint-name>:
        service: <service-name>
        endpoint: <service-endpoint-name>
        public: true|false

environment:
    <variable-name>: <variable-value>

Property Description
name Cluster name. Contain alpha-numeric characters. No symbols. Keep under 6 characters.

Provides

A cluster can wrap endpoints provided by service and expose them. The flag public specifies

Property Description
cluster-endpoint-name Endpoint name. When set as default it can be referred to by cluster name only. Contain alpha-numeric characters. No symbols. Keep under 6 characters.
service-name Service name.
service-endpoint-name Optional. Service endpoint name. If not specified will look for default endpoint under service.
public Optional. Indicates whether endpoints is exposed to public internet or other clusters only.

Environment

Specifies environment variables applied to all services and lambdas within current cluster. Can use ${OTHER_VAR_NAME} to refer to other environment variables within the value.