Kubernetes#

Local Development & Testing#

Minikube#

KinD#

Kubernetes in Docker (KinD)

k3d#

Lightweight wrapper to run k3s (Rancher Lab's minimal k8s distribution).

Helm#

Install#

  • https://helm.sh/docs/intro/install/

Quickstart#

  • https://helm.sh/docs/intro/quickstart/

Kubectl#

Install#

  • https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/

Troubleshooting#

  • https://medium.com/@texasdave2/troubleshoot-kubectl-connection-refused-6f5445a396ed

Learning Kubernetes#

K8s Notes#

Ingress#

ingress-nginx:

  • https://kubernetes.github.io/ingress-nginx/deploy/

Troubleshooting ingress#

If getting the following error:

iakraker@Ubuntu-PF3TFBEH-1255:~/TheK8sBook/ingress$ kubectl apply -f ig-all.yml 
Error from server (InternalError): error when creating "ig-all.yml": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": failed to call webhook: Post "https://ingress-nginx-controller-admission.ingress-nginx.svc:443/networking/v1/ingresses?timeout=10s": no endpoints available for service "ingress-nginx-controller-admission"

Try this: https://stackoverflow.com/questions/61365202/nginx-ingress-service-ingress-nginx-controller-admission-not-found

Also make sure official deploy was followed: https://kubernetes.github.io/ingress-nginx/deploy/

Cloud-Native#

  • https://acloudguru.com/blog/engineering/aks-vs-eks-vs-gke-managed-kubernetes-services-compared