Skip to content
This repository has been archived by the owner on Feb 22, 2021. It is now read-only.

Service

Daniel Berman edited this page Feb 11, 2018 · 3 revisions

A Service in apollo consists of a combination of Kubernetes "Deployment" YAML, and Kubernetes "Service" YAML.
The "service_yaml" part of a deployment is nullable because not every service needs a service.

When configuring the deployment_yaml section, it needs to be in the same format as Kubernetes will love and take. Apollo will programmatically convert this YAML, and apply a set of transformers on top of it. (More on the transformers section)

The only thing you should be aware of when configuring a deloyment_yaml is leaving the image tag out. Apollo will match the image tag to the deployment using the value of the deployable version commit sha.
If the image tag is explicitly set, Apollo will not change it. (Useful for applications with multiple containers that some are static)

Clone this wiki locally