Après avoir suivi quelques formations et de pratique de Kubernetes dans le cadre de mon travail, j’ai décidé de passer le certification CKAD de la CNCF afin de valider mes compétences.
Avant d’utiliser Vim, il faut le paramétrer afin d'éditer au mieux les fichiers YAML.
On édite le fichier .vimrc :
vi ~/.vimrc :
Vous pouvez créer de déploiement depuis le manifest d'un pod. Il suffit de copier depuis la partie metatdata du pod et copier dans : deploy.spec.template.metadata
Dans cet exemple, il suffit de tapper : début de ligne du pod, fin de ligne du pod s, /^/ le nombre d'espaces pour le bon formatage : 17,53s/^/ /
Vous pouvez suivre la formation Udemy qui m'a été très utile pour mes préparatifs :
https://www.udemy.com/course/certified-kubernetes-application-developer/
Pour vous entrainer :
- https://killer.sh/
- https://medium.com/bb-tutorials-and-thoughts/practice-enough-with-these-questions-for-the-ckad-exam-2f42d1228552
- https://github.com/bmuschko/ckad-crash-course/tree/master/exercises
- https://github.com/dgkanatsios/CKAD-exercises
- kubectl explain
- kubectl api-resources
Mes liens favoris : Vous pouvez créer de bookmark et installer ce plugin chrome permettant d'effectuer de recherches dans vos bookmarks (en tapant bm puis entrer dans la barre de recherche) :
https://chrome.google.com/webstore/detail/bookmark-search/hhmokalkpaiacdofbcddkogifepbaijk
Les URLs :
A lire absolument si vous voulez comprendre en profondeur ! : Kubernetes in Action écrit par Marko Luksa aux éditions Manning.
https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-a-liveness-command
https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/#concepts
https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#define-a-container-environment-variable-with-data-from-a-single-configmap
https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets-as-environment-variables
https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/#create-a-persistentvolume
https://kubernetes.io/docs/concepts/storage/volumes/#types-of-volumes
https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#creating-a-deployment
https://kubernetes.io/docs/concepts/workloads/controllers/job/#running-an-example-job
https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#example
https://kubernetes.io/docs/concepts/services-networking/service/#nodeport
https://kubernetes.io/docs/concepts/services-networking/network-policies/#networkpolicy-resource
https://kubernetes.io/docs/concepts/services-networking/ingress/
https://kubernetes.io/fr/docs/reference/kubectl/cheatsheet/
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands
https://kubernetes.io/docs/concepts/services-networking/service/
https://kubernetes.io/docs/concepts/storage/storage-classes/
https://kubernetes.io/docs/concepts/storage/persistent-volumes/
https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims
https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/
https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/
https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/
https://kubernetes.io/fr/docs/tasks/access-application-cluster/list-all-running-container-images/
https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
https://kubernetes.io/fr/docs/tasks/configure-pod-container/configure-service-account/
https://kubernetes.io/docs/reference/access-authn-authz/rbac/
https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/
https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/
https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
https://kubernetes.io/docs/concepts/services-networking/network-policies/
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#scale
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#rollout
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#exec
https://kubernetes.io/docs/concepts/workloads/pods/
https://kubernetes.io/fr/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue/
https://kubernetes.io/docs/concepts/workloads/controllers/job/
https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/
https://kubernetes.io/fr/docs/tasks/configure-pod-container/assign-pods-nodes/
https://kubernetes.io/fr/docs/concepts/storage/volumes/
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-configmap-em-
https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/
https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/
https://kubernetes.io/docs/tutorials/stateful-application/cassandra/
https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
https://kodekloud.com/courses/kubernetes-certification-course-labs/lectures/12039471
https://github.com/kubernetes/website/blob/master/content/en/examples/windows/emptydir-pod.yaml
https://kubernetes.io/blog/2016/07/autoscaling-in-kubernetes/
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/
https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
https://github.com/kubernetes/website/blob/master/content/en/examples/application/wordpress/wordpress-deployment.yaml
https://github.com/kubernetes/website/tree/master/content/en/examples/pods
https://github.com/kubernetes/website/blob/master/content/en/examples/application/job/rabbitmq/job.yaml
https://kubernetes.io/docs/concepts/cluster-administration/logging/
https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/
https://kubernetes.io/docs/tutorials/services/source-ip/
https://kubernetes.io/docs/tutorials/stateless-application/guestbook/
https://github.com/kubernetes/website/blob/master/content/en/examples/service/networking/nginx-secure-app.yaml
https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#job-v1-batch
https://kubernetes.io/docs/concepts/storage/volumes/