Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
configmap
istio
namespaces
README.md
WHAT.md

README.md

Answers to Kubernetes questions you did not dare to ask.

Bazel rules for k8s

https://github.com/bazelbuild/rules_k8s/issues/271

It would be nice to catch validation errors as part of a template generation unit test suite rather than wait until deploy time to find out you have a malformed template.

Doesn't even validate, so what's the point?

Nginx controller

https://github.com/kubernetes/ingress-nginx/issues/3691

The advice is to run more than one replica using some affinity definition to ensure the replicas do not land in the same node.

 spec:
      affinity:
        podAntiAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchExpressions:
              - key: app
                operator: In
                values:
                - ingress-nginx
            topologyKey: kubernetes.io/hostname

https://github.com/kubernetes/ingress-nginx/issues/875

the reason is simple: you don't need a high number of NGINX instances to handle high volumes of traffic and most importantly, you need to keep in mind that each instance of the ingress controller needs to reach the kubernetes API server. This means if you have lots of replicas, you are putting (unnecessary) pressure. Using a deployment with an anti-affinity rule to avoid multiple replicas in the same node is, in most of the cases, more than enough.

Pain(less) NGINX Ingress – Daniel Martins

https://danielfm.me/posts/painless-nginx-ingress.html

You can’t perform that action at this time.