You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 01-path-basics/103-kubernetes-concepts/readme.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1447,21 +1447,21 @@ Alternatively, a namespace can be created using `kubectl` as well.
1447
1447
. Create a Deployment:
1448
1448
1449
1449
$ kubectl -n dev2 apply -f deployment.yaml
1450
-
deployment "nginx-deployment-ns" created
1450
+
deployment "nginx-deployment" created
1451
1451
1452
1452
. Get Deployments in the newly created Namespace:
1453
1453
1454
1454
$ kubectl get deployments -n dev2
1455
1455
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
1456
-
nginx-deployment-ns 3 3 3 3 1m
1456
+
nginx-deployment 3 3 3 3 1m
1457
1457
1458
1458
. Get Deployments in all Namespaces:
1459
1459
1460
1460
$ kubectl get deployments --all-namespaces
1461
1461
NAMESPACE NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
1462
1462
default nginx-deployment 3 3 3 3 1h
1463
1463
dev nginx-deployment-ns 3 3 3 3 1h
1464
-
dev2 nginx-deployment-ns 3 3 3 3 1m
1464
+
dev2 nginx-deployment 3 3 3 3 1m
1465
1465
kube-system dns-controller 1 1 1 1 5h
1466
1466
kube-system kube-dns 2 2 2 2 5h
1467
1467
kube-system kube-dns-autoscaler 1 1 1 1 5h
@@ -1634,8 +1634,8 @@ Note, how CPU and memory resources have incremented values.
1634
1634
1635
1635
https://github.com/kubernetes/kubernetes/issues/55433[kubernetes#55433] provide more details on how an explicit CPU resource is not needed to create a Pod with ResourceQuota.
1636
1636
1637
-
$ kubectl delete quota/quota
1638
-
$ kubectl delete quota/quota2
1637
+
$ kubectl delete quota/quota
1638
+
$ kubectl delete quota/quota2
1639
1639
1640
1640
You are now ready to continue on with the workshop!
0 commit comments