diff --git a/applications/netbox/netbox/deployment.yaml b/applications/netbox/netbox/deployment.yaml index b8e567f..70c3cd3 100644 --- a/applications/netbox/netbox/deployment.yaml +++ b/applications/netbox/netbox/deployment.yaml @@ -50,6 +50,10 @@ spec: httpGet: path: /login/ port: 8080 + # Django rejects the pod IP as a Host header (ALLOWED_HOSTS). + httpHeaders: + - name: Host + value: netbox.jsme.be periodSeconds: 10 # Generous: the entrypoint runs migrations before granian binds. failureThreshold: 60 @@ -57,11 +61,19 @@ spec: httpGet: path: /login/ port: 8080 + # Django rejects the pod IP as a Host header (ALLOWED_HOSTS). + httpHeaders: + - name: Host + value: netbox.jsme.be periodSeconds: 15 livenessProbe: httpGet: path: /login/ port: 8080 + # Django rejects the pod IP as a Host header (ALLOWED_HOSTS). + httpHeaders: + - name: Host + value: netbox.jsme.be periodSeconds: 30 failureThreshold: 5 volumes: