From e83fa514cb30a917e6a00818d82f6e243ccc625a Mon Sep 17 00:00:00 2001 From: MohamedHaroon98 <120387545+MohamedHaroon98@users.noreply.github.com> Date: Thu, 6 Apr 2023 21:08:38 +0200 Subject: [PATCH] Combine the `create` and `scale` commands together (#369) --- topics/kubernetes/CKA.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/topics/kubernetes/CKA.md b/topics/kubernetes/CKA.md index d864d5a..548af4c 100644 --- a/topics/kubernetes/CKA.md +++ b/topics/kubernetes/CKA.md @@ -492,9 +492,7 @@ The selector doesn't match the label (cache vs cachy). To solve it, fix cachy so
Create a deployment called "pluck" using the image "redis" and make sure it runs 5 replicas
-`kubectl create deployment pluck --image=redis` - -`kubectl scale deployment pluck --replicas=5` +`kubectl create deployment pluck --image=redis --replicas=5`
@@ -857,4 +855,4 @@ Add the following to the spec of the Pod: spec: schedulerName: some-custom-scheduler ``` - \ No newline at end of file +