Kind kubernetes cluster

Kind:

Must watch video: here

  • To get config file of the cluster, use command 
     kind export kubeconfig --name <clustername>
     kind get kubeconfig >~/.kube/config(Only if you are connected to the cluster and want to get kubeconfig of that cluster)
  • If you want to use specific version of kubernetes with kind, specify the same using --image option while creating cluster
     kind create cluster --name testcluster --image kindest/node:v1.23.10@sha256:f047448af6a656fae7bc909e2fab360c18c487ef3edc93f06d78cdfd864b2d12
    Note: Images are available under github->releases. click here
  • kind export logs --name <clustername>
    It copies all logs into host machine inside /tmp/randomnumbers. It containers all the 


Comments

Popular posts from this blog

Docker Imp points

Docker volumes backup and restore & Docker networks