Documentation
¶
Overview ¶
Command app-roller generates latest application YAML file and applies it to the K8s cluster. Because there are internal data in our k8s applications, we use a YAML file to pass them to app-roller. The YAML file looks like:
- name: my_cool_app source: https://chrome.googlesource.com/path/to/the/app/yaml/template # clusters lists the K8s cluster which will run this app. When not # specified, the app will run on all clusters. clusters:
- <API_server_IP:API_server_port> images:
- name: my_cool_image1 repo: gcr.io/project/image1 official_tag_regex: ^official-\d+$ tag: prod # default tag is 'latest-official'
- name: my_cool_image2 repo: gcr.io/project/image2 official_tag_regex: ^official-\d+$
The regex must begin with '^' and end with '$' in order to match the whole tag string strictly.
Click to show internal directories.
Click to hide internal directories.