K8S and Kind


K8S

I'm making this project to improve my skills!

Initing in the your PC

  • For clone the project git clone https://github.com/Wellers0n/first-cluster-k8s-with-kind.git
  • Enter in the folder cd first-cluster-k8s-with-kind/

Commands

Init config

    kind create cluster --name multinode --config ./cluster.yml

Init nginx with kubectl

    kubectl run nginx --image nginx

Commends to get clusters with kind

    kind get clusters

Commends to get nodes and pods with kubectl

    kubectl get namespaces
    kubectl get pods
    kubectl get nodes