CKA 2025 - Q16 CRD LIST

 

1️⃣ ArgoCD Application Field Extraction

🧪 Task:

  • Verify ArgoCD is installed in the cluster.

  • Create a list of all CRDs related to ArgoCD and save to:
    ~/argocd-resources.yaml

  • Use kubectl explain to extract .spec.syncPolicy field of Application custom resource and save to:
    ~/sync-policy.yaml




2️⃣ Traefik IngressRoute Field Extraction

🧪 Task:

  • Verify Traefik Ingress Controller is deployed.

  • List all Traefik CRDs, save to:
    ~/traefik-resources.yaml

  • Extract .spec.tls field of IngressRoute custom resource and save to:
    ~/tls-doc.yaml



3️⃣ Linkerd ServiceProfile Field Extraction

🧪 Task:

  • Verify Linkerd is running and control plane is healthy.

  • List all Linkerd CRDs and save to:
    ~/linkerd-resources.yaml

  • Extract .spec.routes field of ServiceProfile custom resource and save to:
    ~/routes-doc.yaml


4️⃣ cert-manager Issuer Field Extraction 

🧪 Task:

  • Verify cert-manager is running in the cluster.

  • List all cert-manager CRDs and save to:
    ~/issuer-resources.yaml

  • Extract .spec.acme field of Issuer custom resource and save to:
    ~/acme-doc.yaml

  • Extract .spec.subject field of Certificate custom resource and save to:
    ~/subject-doc.yaml



5️⃣ Istio VirtualService Field Extraction

🧪 Task:

  • Verify Istio control plane is installed.

  • List all Istio CRDs and save to:
    ~/istio-resources.yaml

  • Extract .spec.http field of VirtualService custom resource and save to:
    ~/http-doc.yaml


1️⃣ ArgoCD Application Field Extraction

✅ Install ArgoCD:

kubectl create namespace argocd

kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml


✅ Solve the question:

# List CRDs
kubectl get crds | grep argoproj.io > ~/argocd-resources.yaml

# Extract .spec.syncPolicy field
kubectl explain applications.argoproj.io.spec.syncPolicy > ~/sync-policy.yaml


2️⃣ Traefik IngressRoute Field Extraction

✅ Install Traefik CRDs:


kubectl create namespace traefik

kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v3.0/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml

kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v3.0/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml

✅ Solve the question:



# List CRDs
kubectl get crds | grep traefik > ~/traefik-resources.yaml

# Extract .spec.tls field
kubectl explain ingressroutes.traefik.containo.us.spec.tls > ~/tls-doc.yaml


3️⃣ Linkerd ServiceProfile Field Extraction

✅ Install Linkerd CRDs:
curl -sL https://run.linkerd.io/install | sh

export PATH=$PATH:$HOME/.linkerd2/bin

linkerd version

kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.1/standard-install.yaml

linkerd install --crds | kubectl apply -f -





✅ Solve the question:


# List CRDs
kubectl get crds | grep linkerd > ~/linkerd-resources.yaml

# Extract .spec.routes field
kubectl explain serviceprofiles.linkerd.io.spec.routes > ~/routes-doc.yaml

4️⃣ cert-manager Issuer Field Extraction
✅ Install cert-manager:


kubectl create namespace cert-manager

kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.2/cert-manager.yaml

✅ Solve the question:


# List CRDs
kubectl get crds | grep cert-manager > ~/issuer-resources.yaml

# Extract .spec.acme field
kubectl explain issuers.cert-manager.io.spec.acme > ~/acme-doc.yaml

kubectl explain issuers.cert-manager.io.spec.subject > ~/subject-doc.yaml


5️⃣ Istio VirtualService Field Extraction
✅ Install Istio CRDs:
controlplane:~$ curl -L https://istio.io/downloadIstio | sh -

controlplane:~$ ls

Desktop    Downloads  Pictures  Templates  filesystem
Documents  Music      Public    Videos     istio-1.26.1

controlplane:~$ cd istio-1.26.1/

controlplane:~/istio-1.26.1$ ls bin
istioctl


controlplane:~/istio-1.26.1$ export PATH=$PATH:$istio-1.26.1/bin
controlplane:~/istio-1.26.1$ istioctl version
Istio is not present in the cluster: no running Istio pods in namespace "istio-system"
client version: 1.26.1
controlplane:~/istio-1.26.1$ istioctl install --set profile=demo -y
        |\          
        | \         
        |  \        
        |   \       
      /||    \      
     / ||     \     
    /  ||      \    
   /   ||       \   
  /    ||        \  
 /     ||         \ 
/______||__________\
____________________
  \__       _____/  
     \_____/        

✔ Istio core installed ⛵️                                                               
✔ Istiod installed 🧠                                                                   
✔ Egress gateways installed 🛫                                                          
✔ Ingress gateways installed 🛬                                                         
✔ Installation complete                                                                 




✅ Solve the question:

# List CRDs
kubectl get crds | grep istio.io > ~/istio-resources.yaml

# Extract .spec.http field
kubectl explain virtualservices.networking.istio.io.spec.http > ~/http-doc.yaml

Comments

Popular posts from this blog

CKA 2025 MOCK Q-05 HPA

CKA-2025 MOCK Q-06 PRIORITY

Cert-manager - Custom Resource Definitions