Formation DevOps | Formation Terraform : 48- Configurer Kubectl

This website is powered by ItGalaxy.io


La configuration de kubectl permet de spécifier sur quel cluster Kubernetes les actions doivent être réalisées.

Chaque cluster est associé à un context , et kubectl config use-context permet de basculer de l’un à l’autre :

$ kubectl config get-contexts
$ kubectl config set-cluster cluster-demo –embed-certs –server=https://cluster-demo.formation.corp:6443
--certificate-authority=/tmp/ca-kubernetes.pem
$ kubectl config set-credentials admin-formation –username=admin –password=password
$ kubectl config set-context formation –user=admin-formation –cluster=cluster-demo
$ kubectl config use-context formation
$ kubectl config get-contexts






1. Nous contactez


2. Infra as a Service

  • Description: Infrastructure cloud évolutive et sécurisée
  • Links:

3. Projets Développeurs


4. Développeurs


5. Formations Complètes


6. Marketplace

7. Blogs


This website is powered by ItGalaxy.io