<< Prev Question Next Question >>

Question 38/41

Apply the autoscaling to this deployment with minimum 10 and maximum 20 replicas and target CPU of 85% and verify hpa is created and replicas are increased to 10 from 1

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (41q)
1 commentQuestion 1: Set CPU and memory requests and limits for existing pod name...
Question 2: Deploy a pod with image=redis on a node with label disktype=...
Question 3: Update the deployment with the image version 1.16.1 and veri...
1 commentQuestion 4: Get all the pods with label "env"...
Question 5: Scale the deployment from 5 replicas to 20 replicas and veri...
Question 6: Get list of PVs and order by size and write to file - /opt/p...
Question 7: Create a job named "hello-job" with the image busybox which ...
Question 8: Print pod name and start time to "/opt/pod-status" file...
Question 9: Annotate the pod with name=webapp...
Question 10: List the nginx pod with custom columns POD_NAME and POD_STAT...
Question 11: Label a node as app=test and verify...
Question 12: Create a Pod nginx and specify a CPU request and a CPU limit...
1 commentQuestion 13: Create the service as type NodePort with the port 32767 for ...
Question 14: List all the pods that are serviced by the service "webservi...
Question 15: Evict all existing pods from a node-1 and make the node unsc...
Question 16: List all configmap and secrets in the cluster in all namespa...
3 commentQuestion 17: Check the Image version of nginx-dev pod using jsonpath...
Question 18: Create a redis pod, and have it use a non-persistent storage...
Question 19: List pod logs named "frontend" and search for the pattern "s...
Question 20: Create a Pod with three busy box containers with commands "l...
Question 21: Create an nginx pod with container Port 80 and it should onl...
Question 22: Check nodes which are ready and print it to a file /opt/node...
Question 23: Create a file called "config.txt" with two values key1=value...
Question 24: Resume the rollout of the deployment...
Question 25: Create a secret mysecret with values user=myuser and passwor...
Question 26: Create a busybox pod which executes this command sleep 3600 ...
Question 27: Get the number of schedulable nodes and write to a file /opt...
Question 28: Install a kubernetes cluster with one master and one worker ...
Question 29: Create an nginx pod and set an env value as 'var1=val1'. Che...
Question 30: Modify "hello-job" and make it run 10 times one after one an...
Question 31: Create a nginx pod that will be deployed to node with the la...
Question 32: Fix a node that shows as non-ready...
Question 33: Verify certificate expiry date for ca certificate in /etc/ku...
Question 34: // Create a configmap kubectl create configmap redis-config ...
Question 35: Pause the rollout of the deployment...
Question 36: Create a deployment called webapp with image nginx having 5 ...
Question 37: Create a namespace called 'development' and a pod with image...
Question 38: Apply the autoscaling to this deployment with minimum 10 and...
Question 39: Create PersistentVolume named task-pv-volume with storage 10...
Question 40: Get the pods with labels env=dev and env=prod and output the...
Question 41: Create 2 nginx image pods in which one of them is labelled w...