testnet-ops/service-provider-setup/templates/specs/webapp-deployer.spec.j2
nabarun f597e5dfc7 Add result with endpoints to service-provider-setup README (#11)
Part of [Service Provider setup](https://www.notion.so/Service-provider-setup-a09e2207e1f34f3a847f7ce9713b7ac5)
- Add tasks to create DNS records for daemon
- Add DNS resolution check with retries for daemon URL

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Reviewed-on: #11
2024-10-08 12:41:36 +00:00

36 lines
837 B
Django/Jinja

stack: webapp-deployer-backend
deploy-to: k8s
kube-config: {{ansible_env.HOME}}/.kube/config-default.yaml
image-registry: container-registry.pwa.{{full_domain}}/laconic-registry
network:
ports:
server:
- '9555'
http-proxy:
- host-name: webapp-deployer-api.pwa.{{ full_domain }}
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:
cpus: {{ cpu_reservation }}
memory: {{ memory_reservation }}
limits:
cpus: {{ cpu_limit }}
memory: {{ memory_limit }}
volumes:
reservations:
storage: 200G