nerdexam
Linux_Foundation

CKA · Question #64

You must connect to the correct host. Failure to do so may result in a zero score. [candidate@base] $ ssh cka000059 Task Verify the cert-manager application has been deployed to your cluster . Using k

Task Summary You need to: SSH into the correct node: cka000055 Use kubectl to list all cert-manager CRDs, and save that list to ~/resources.yaml Do not use any output format flags like -o yaml Extract the documentation for the spec.subject field of the Certificate custom resource

Submitted by layla.eg· May 4, 2026Cluster Architecture, Installation & Configuration

Question

You must connect to the correct host. Failure to do so may result in a zero score. [candidate@base] $ ssh cka000059 Task Verify the cert-manager application has been deployed to your cluster . Using kubectl, create a list of all cert-manager Custom Resource Definitions (CRDs ) and save it to ~/resources.yaml . You must use kubectl 's default output format. Do not set an output format. Failure to do so will result in a reduced score. Using kubectl, extract the documentation for the subject specification field of the Certificate Custom Resource and save it to ~/subject.yaml.

Exhibit

CKA question #64 exhibit

Explanation

Task Summary You need to: SSH into the correct node: cka000055 Use kubectl to list all cert-manager CRDs, and save that list to ~/resources.yaml Do not use any output format flags like -o yaml Extract the documentation for the spec.subject field of the Certificate custom resource and save it to ~/subject.yaml

Step-by-Step Instructions Step 1: SSH into the node ssh cka000055 Step 2: List cert-manager CRDs and save to a file First, identify all cert-manager CRDs: kubectl get crds | grep cert-manager Then extract them without specifying an output format: kubectl get crds | grep cert-manager | awk '{print $1}' | xargs kubectl get crd > ~/resources.yaml This saves the default kubectl get output to the required file without formatting flags. Step 3: Get documentation for spec.subject in the Certificate CRD Run the following command: kubectl explain certificate.spec.subject > ~/subject.yaml This extracts the field documentation and saves it to the specified file. If you're not sure of the resource, verify it exists: kubectl get crd certificates.cert-manager.io

Final Command Summary ssh cka000055 kubectl get crds | grep cert-manager | awk '{print $1}' | xargs kubectl get crd > ~/resources.yaml kubectl explain certificate.spec.subject > ~/subject.yaml

Topics

#CRD#kubectl explain#kubectl get#Kubernetes API

Community Discussion

No community discussion yet for this question.

Full CKA Practice