CORRECT TEXT

CORRECT TEXT

Create a RuntimeClass named gvisor-rc using the prepared runtime handler named runsc.

Create a Pods of image Nginx in the Namespace server to run on the gVisor runtime class

Answer: ✑ Install the Runtime Class for gVisor { # Step 1: Install a RuntimeClass

cat <<EOF | kubectl apply -f –

apiVersion: node.k8s.io/v1beta1

kind: RuntimeClass

metadata:

name: gvisor

handler: runsc

EOF

}

✑ Create a Pod with the gVisor Runtime Class { # Step 2: Create a pod

cat <<EOF | kubectl apply -f –

apiVersion: v1

kind: Pod

metadata:

name: nginx-gvisor

spec:

runtimeClassName: gvisor

containers:

– name: nginx image: nginx

EOF

}

✑ Verify that the Pod is running { # Step 3: Get the pod

kubectl get pod nginx-gvisor -o wide

}

Latest CKS Dumps Valid Version with 44 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments