Difference between revisions of "Kind create cluster"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
+
{{lc}}
kind create cluster
 
Creating cluster "kind" ...
 
✓ Ensuring node image (kindest/node:v1.20.2) 🖼
 
✓ Preparing nodes 📦
 
✓ Writing configuration 📜
 
✓ Starting control-plane 🕹️
 
✓ Installing CNI 🔌
 
✓ Installing StorageClass 💾
 
Set kubectl context to "kind-kind"
 
You can now use your cluster with:
 
  
kubectl cluster-info --context kind-kind
+
== 2024 ==
 +
[[kind create]] cluster
 +
Creating cluster "kind" ...
 +
  ✓ Ensuring node image (kindest/node:[[v1.29]].2) 🖼
 +
  ✓ Preparing nodes 📦
 +
  ✓ Writing configuration 📜
 +
  ✓ Starting control-plane 🕹️
 +
  ✓ Installing CNI 🔌
 +
  ✓ Installing StorageClass 💾
 +
Set kubectl context to "kind-kind"
 +
You can now use your cluster with:
 +
 +
[[kubectl cluster-info --context kind-kind]]
 +
 +
Thanks for using kind! 😊
  
Have a nice day! 👋
+
[[k get no]]
</pre>
+
NAME                STATUS  ROLES          AGE    VERSION
 +
[[kind-control-plane]]  Ready    control-plane  4m44s  v1.29.2
 +
 
 +
k get pods -A
 +
NAMESPACE            NAME                                        READY  STATUS    RESTARTS    AGE
 +
kube-system          coredns-76f75df574-lt4s8                    1/1    Running  0            25m
 +
kube-system          coredns-76f75df574-t7h9f                    1/1    Running  0            25m
 +
kube-system          etcd-kind-control-plane                      1/1    Running  0            25m
 +
kube-system          [[kindnet]]-b9dfc                                1/1    Running  0            25m
 +
kube-system          [[kube-apiserver]]-kind-control-plane            1/1    Running  0            25m
 +
kube-system          kube-controller-manager-kind-control-plane  1/1    Running  0            25m
 +
kube-system          kube-proxy-ftz8k                            1/1    Running  0            25m
 +
kube-system          [[kube-scheduler]]-kind-control-plane            1/1    Running  0            25m
 +
[[local-path-storage]]  [[local-path-provisioner]]-7577fdbbfb-r6mzq      1/1    Running  0            25m
 +
 
 +
== 2020 ==
 +
[[kind create]] cluster
 +
Creating cluster "kind" ...
 +
  ✓ Ensuring node image (kindest/node:[[v1.20]].2) 🖼
 +
  ✓ Preparing nodes 📦
 +
  ✓ Writing configuration 📜
 +
  ✓ Starting control-plane 🕹️
 +
  ✓ Installing CNI 🔌
 +
  ✓ Installing StorageClass 💾
 +
Set kubectl context to "kind-kind"
 +
You can now use your cluster with:
 +
 +
[[kubectl cluster-info --context kind-kind]]
 +
 +
Have a nice day! 👋
  
  
 
== Related commands ==
 
== Related commands ==
 
* <code>[[snap install kubectl --classic]]</code>
 
* <code>[[snap install kubectl --classic]]</code>
 +
* [[minikube start]]
  
 
== See also ==
 
== See also ==

Latest revision as of 11:37, 14 March 2024

2024[edit]

kind create cluster
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.29.2) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹️
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
Set kubectl context to "kind-kind"
You can now use your cluster with:

kubectl cluster-info --context kind-kind 

Thanks for using kind! 😊
k get no
NAME                 STATUS   ROLES           AGE     VERSION
kind-control-plane   Ready    control-plane   4m44s   v1.29.2
k get pods -A
NAMESPACE            NAME                                         READY   STATUS    RESTARTS     AGE
kube-system          coredns-76f75df574-lt4s8                     1/1     Running   0            25m
kube-system          coredns-76f75df574-t7h9f                     1/1     Running   0            25m
kube-system          etcd-kind-control-plane                      1/1     Running   0            25m
kube-system          kindnet-b9dfc                                1/1     Running   0            25m
kube-system          kube-apiserver-kind-control-plane            1/1     Running   0            25m
kube-system          kube-controller-manager-kind-control-plane   1/1     Running   0            25m
kube-system          kube-proxy-ftz8k                             1/1     Running   0            25m
kube-system          kube-scheduler-kind-control-plane            1/1     Running   0            25m
local-path-storage   local-path-provisioner-7577fdbbfb-r6mzq      1/1     Running   0            25m

2020[edit]

kind create cluster
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.20.2) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹️
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
Set kubectl context to "kind-kind"
You can now use your cluster with: 

kubectl cluster-info --context kind-kind

Have a nice day! 👋


Related commands[edit]

See also[edit]

Advertising: