Read more

https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands
https://cloud.google.com/architecture/best-practices-for-operating-containers

Cheat Sheet

Kubernetes-Cheat-Sheet_07182019.pdf

Kubectl install/update

Update it's pretty much the same as installation:

Kubernetes handy commands

Other useful commands

Kustomize

https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/

Certificates

Secrets

Context

see more

kubctl processing output:

see more

Digital Ocean diagnostic pod

https://github.com/digitalocean/doks-debug/blob/master/Dockerfile

Digital Ocean / doctl

Digital Ocean - switch cluster tool

Just paste this code to your terminal:

README.md

OpenSHIFT

chrome://inspect

Semver sort

About Disaster Recovery

https://www.druva.com/blog/understanding-rpo-and-rto/

Bitnami Sealed Secrets / Kubeseal

Video1 Video2 Video3

Concept:

  • - create a secret locally
  • - use Sealed Secret to encrypt it
  • - save it to repo (normally it should be a separate gitops repo)
  • - now your CD tool (like Argo of Flux) apply it to a cluster (keep in mind that CI is for building,testing,pushing image, and that's it)
  • - secret is now stored in as a decrypted secret (also SealedSecret will be stored for a reference)

Installation:

Usage (BasicAuth as an example):

Argo CD (and sealed secrets)

links:

  • https://levelup.gitconnected.com/from-local-development-to-kubernetes-cluster-helm-https-ci-cd-gitops-kustomize-argocd-5d9de6f5364c - argo, sealed secrets, kustomize, helm
  • https://www.youtube.com/watch?v=7tEc23-BS9I - argo,bitnami sealed secrets
  • https://www.youtube.com/watch?v=vpWQeoaiRM4 - argo
  • https://piotrminkowski.com/2022/12/14/sealed-secrets-on-kubernetes-with-argocd-and-terraform/ - argo,bitnami sealed secrets,terraform
  • https://igboie.medium.com/kubernetes-ci-cd-with-github-github-actions-and-argo-cd-36b88b6bda64 - argo,github actions,kuber
  • https://circleci.com/blog/deploy-to-kubernetes-with-argocd/ - argo,azure,nodeapp,circleci
  • https://levelup.gitconnected.com/gitops-ci-cd-using-github-actions-and-argocd-on-kubernetes-909d85d37746 - github actions, helm chart repo

Helm secrets

links:

  • https://www.thorsten-hans.com/encrypted-secrets-in-helm-charts/ - azure, sops