Konubinix' opinionated web of thoughts

K8s

Fleeting

ingress

Point d’entrée http(s) de kubernetes

ingress class

default

You can mark a particular IngressClass as default for your cluster. Setting the ingressclass.kubernetes.io/is-default-class annotation to true on an IngressClass resource will ensure that new Ingresses without an ingressClassName field specified will be assigned this default IngressClass.

https://kubernetes.io/docs/concepts/services-networking/ingress/

some ingress controllers, that work without the definition of a default IngressClass. For example, the Ingress-NGINX controller can be configured with a flag –watch-ingress-without-class. It is recommended though, to specify the default IngressClass:

https://kubernetes.io/docs/concepts/services-networking/ingress/

cronjob

trigger manually

kubectl create job –from=cronjob/pgdump pgdump-manual-001

https://www.craftypenguins.net/blog/how-to-trigger-a-kubernetes-cronjob-manually/

taint

remove

if we want to taint a node we use kubectl taint as follows

https://pet2cattle.com/2021/09/k8s-node-untaint

We can use kubectl taint but adding an hyphen at the end to remove the taint (untaint the node)

https://pet2cattle.com/2021/09/k8s-node-untaint

$ kubectl taint nodes minikube application=example:NoSchedule- node/minikubee untainted

https://pet2cattle.com/2021/09/k8s-node-untaint

If we don’t know the command used to taint the node we can use kubectl describe node to get the exact taint we’ll need to use to untaint the node

https://pet2cattle.com/2021/09/k8s-node-untaint

Notes pointant ici