2024-09-23 08:19:40 +00:00
|
|
|
stack: webapp-deployer-backend
|
|
|
|
deploy-to: k8s
|
|
|
|
kube-config: {{ansible_env.HOME}}/.kube/config-default.yaml
|
2024-09-26 06:04:19 +00:00
|
|
|
image-registry: container-registry.pwa.{{full_domain}}/laconic-registry
|
2024-09-23 08:19:40 +00:00
|
|
|
network:
|
|
|
|
ports:
|
|
|
|
server:
|
|
|
|
- '9555'
|
|
|
|
http-proxy:
|
2024-09-26 06:04:19 +00:00
|
|
|
- host-name: webapp-deployer-api.pwa.{{ full_domain }}
|
2024-09-23 08:19:40 +00:00
|
|
|
routes:
|
|
|
|
- path: '/'
|
|
|
|
proxy-to: server:9555
|
|
|
|
volumes:
|
|
|
|
srv:
|
|
|
|
configmaps:
|
|
|
|
config: ./data/config
|
|
|
|
annotations:
|
|
|
|
container.apparmor.security.beta.kubernetes.io/{name}: unconfined
|
|
|
|
labels:
|
|
|
|
container.kubeaudit.io/{name}.allow-disabled-apparmor: "podman"
|
|
|
|
security:
|
|
|
|
privileged: true
|
|
|
|
|
|
|
|
resources:
|
|
|
|
containers:
|
|
|
|
reservations:
|
2024-09-26 09:41:06 +00:00
|
|
|
cpus: "{{ cpu_reservation }}"
|
|
|
|
memory: "{{ memory_reservation }}"
|
2024-09-23 08:19:40 +00:00
|
|
|
limits:
|
|
|
|
cpus: 6
|
|
|
|
memory: 16G
|
|
|
|
volumes:
|
|
|
|
reservations:
|
|
|
|
storage: 200G
|