-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathkube-vars.yml
25 lines (21 loc) · 1.01 KB
/
kube-vars.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# If we should deploy this kubernetes or not.
# Setting this to false and re-running our deploy playbook will remove the kubernetes deployment
# example to remove: ansible-playbook kubernetes/kube.deployment.playbook.yml --extra-vars '{deployment_enabled: false}'
deployment_enabled: true
# Docker registry where this image will come from
docker_registry: kiab.local:5000
# Variabled specific to our app or service
app:
# Name our app or service
name: <app_name>
# Name of our container image within our registry
container_name: <container_name>
# Tag of our image within our registry
container_tag: <container_tag>
# Port exposed on kubernetes worker
nodePort: 30180
# Port exposed to the pod - note that nodePort is typically forwarded to this port
port: 5000
# A compiled variable of our image we will run in the pod
# Note: this needs to be built outside of our our app: context due to a recursion bug in jinja2
container_image: "{{docker_registry}}/{{app.container_name}}:{{app.container_tag}}"