1
0
Fork 0
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
This commit is contained in:
Arnaud Morin 2022-01-08 23:58:14 +01:00
parent 1bfed12966
commit 2e9104c8b8
1 changed files with 7 additions and 2 deletions

View File

@ -10,7 +10,9 @@ curl -sfL https://get.k3s.io | sh -
Check the nodes: Check the nodes:
``` ```
k get nodes kubectl get nodes
```
```
NAME STATUS ROLES AGE VERSION NAME STATUS ROLES AGE VERSION
ansible101 Ready control-plane,master 100s v1.22.5+k3s1 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 View the deployment
```shell ```shell
kubectl get deployments kubectl get deployments
```
```
NAME READY UP-TO-DATE AVAILABLE AGE NAME READY UP-TO-DATE AVAILABLE AGE
first-dep 1/1 1 1 1m first-dep 1/1 1 1 1m
``` ```
@ -33,6 +36,8 @@ first-dep 1/1 1 1 1m
View the pods: View the pods:
```shell ```shell
kubectl get pods kubectl get pods
```
```
NAME READY STATUS RESTARTS AGE NAME READY STATUS RESTARTS AGE
first-dep-69c7f7c9f4-jzbh8 1/1 Running 0 14s first-dep-69c7f7c9f4-jzbh8 1/1 Running 0 14s