diff options
Diffstat (limited to 'infra/kubernetes')
-rw-r--r-- | infra/kubernetes/https-lb/ingress.yaml | 5 | ||||
-rw-r--r-- | infra/kubernetes/nginx/nginx.conf | 7 | ||||
-rw-r--r-- | infra/kubernetes/nginx/nginx.yaml | 2 |
3 files changed, 11 insertions, 3 deletions
diff --git a/infra/kubernetes/https-lb/ingress.yaml b/infra/kubernetes/https-lb/ingress.yaml index 03fa2cec0738..f1d9fa4270b0 100644 --- a/infra/kubernetes/https-lb/ingress.yaml +++ b/infra/kubernetes/https-lb/ingress.yaml @@ -18,6 +18,7 @@ spec: - host: oslo.pub http: paths: - - backend: + - path: / + backend: serviceName: nginx - servicePort: 80 + servicePort: 6756 diff --git a/infra/kubernetes/nginx/nginx.conf b/infra/kubernetes/nginx/nginx.conf index cdc228b494b0..5a008a0b953f 100644 --- a/infra/kubernetes/nginx/nginx.conf +++ b/infra/kubernetes/nginx/nginx.conf @@ -26,6 +26,13 @@ http { keepalive_timeout 65; server { + listen 80 default_server; + location / { + return 200 "ok"; + } + } + + server { listen 80; server_name oslo.pub; diff --git a/infra/kubernetes/nginx/nginx.yaml b/infra/kubernetes/nginx/nginx.yaml index c107ab68764a..366beb458cc4 100644 --- a/infra/kubernetes/nginx/nginx.yaml +++ b/infra/kubernetes/nginx/nginx.yaml @@ -51,5 +51,5 @@ spec: app: nginx ports: - protocol: TCP - port: 80 + port: 6756 targetPort: 80 |