Konubinix' opinionated web of thoughts

K8s Nginx Ingress Controller

Fleeting

k8s nginx ingress controller

basic Authentication

htpasswd -c auth foo kubectl create secret generic basic-auth –from-file=auth kubectl get secret basic-auth -o yaml

metadata: name: ingress-with-auth annotations:

nginx.ingress.kubernetes.io/auth-type: basic

nginx.ingress.kubernetes.io/auth-secret: basic-auth

nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - foo'

spec:

https://kubernetes.github.io/ingress-nginx/examples/auth/basic/

how it deals with HSTS

hsts hsts-include-subdomains hsts-max-age
type bool bool string
default “true” “true” “31536000”

https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/configmap.md

NGINX ingress controller timing out request after 60s

503 in Kubernetes NGINX Ingress