Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
This commit is contained in:
parent
1bfed12966
commit
2e9104c8b8
|
@ -10,7 +10,9 @@ curl -sfL https://get.k3s.io | sh -
|
|||
|
||||
Check the nodes:
|
||||
```
|
||||
k get nodes
|
||||
kubectl get nodes
|
||||
```
|
||||
```
|
||||
NAME STATUS ROLES AGE VERSION
|
||||
ansible101 Ready control-plane,master 100s v1.22.5+k3s1
|
||||
```
|
||||
|
@ -25,7 +27,8 @@ kubectl create deployment first-dep --image=gcr.io/google-samples/kubernetes-boo
|
|||
View the deployment
|
||||
```shell
|
||||
kubectl get deployments
|
||||
|
||||
```
|
||||
```
|
||||
NAME READY UP-TO-DATE AVAILABLE AGE
|
||||
first-dep 1/1 1 1 1m
|
||||
```
|
||||
|
@ -33,6 +36,8 @@ first-dep 1/1 1 1 1m
|
|||
View the pods:
|
||||
```shell
|
||||
kubectl get pods
|
||||
```
|
||||
```
|
||||
|
||||
NAME READY STATUS RESTARTS AGE
|
||||
first-dep-69c7f7c9f4-jzbh8 1/1 Running 0 14s
|
||||
|
|
Loading…
Reference in New Issue