Palette Dev Engine output variables are defined in the app profile and are only resolved at cluster deployment time. The output variables have the following properties:
May be referenced by specifying them during app profile creation.
Output variables are inherited from the lower tiers of the app profile.
Each service type exposes a set of unique output variables.
The variables are generated when the server layer is deployed. Output variables can be consumed by the higher layers in the app profile.
Check out the Services Connectivity page to learn how to use output variables for establishing network connectivity between services.
The following output variables are globally available for all services.
|The user name of the logged in user.|
|The id of the logged in user.|
|The email address of the logged in user.|
|The id of the current tenant or organization.|
|The id of the current project.|
|The name of the current project.|
|The id of the current cluster.|
|The name of the current cluster.|
|The current version of Kubernetes.|
|The hostname of the Spectro Cloud reverse proxy server. This value is empty when not enabled.|
|The port of the Spectro Cloud reverse proxy server. This value is empty when not enabled.|
|The port of the virtual host that is hosting the reverse proxy.|
|The protocol used for the Spectro Cloud reverse proxy.|
|The type of cloud environment where the cluster is deployed, such as EKS, AKS, and GKE.|
|The cloud provider region where the cluster is deployed.|
|The name of the service layer from the context of the app profile.|
|The id of the service layer.|
|The name of the app profile.|
|The id of the app profile.|
|The id of the app deployment.|
|The name of the app deployment.|
|The name of the service layer from the context of the app deployment.|
|The ingress host pattern for a cluster group with ingress enabled. This value is dynamically generated.|
The container service type exposes the following output variables. Replace [service-name] with the respective name of the service layer.
|The Kubernetes namespace of the deployed container.|
|The Kubernetes DNS hostname of the service.|
|The exposed port of the service.|
|The Kubernetes DNS hostname of the load balancer. This value is available if the service's to Public and deployed to a public cloud provider environment.|
|The public URL of the load balancer. This value is available if the service's access is set to Public and deployed to a private cloud provider environment.|
Each database service exposes a set of output variables. Review each database service for more details. You can find information about each database service by checking out the Available Services resource.