nerdexam
Linux_Foundation

CKA · Question #60

You must connect to the correct host. Failure to do so may result in a zero score. [candidate@base] $ ssh Cka000060 Task Install Argo CD in the cluster by performing the following tasks: Add the…

The candidate must use Helm commands in the provided web terminal to add the Argo CD repository, then template the Argo CD chart (version 7.7.3) into a YAML file, ensuring CRD installation is skipped and the output is saved to the specified location.

Submitted by devops_kid· May 4, 2026Workloads and Scheduling

Question

You must connect to the correct host. Failure to do so may result in a zero score. [candidate@base] $ ssh Cka000060 Task Install Argo CD in the cluster by performing the following tasks: Add the official Argo CD Helm repository with the name argo The Argo CD CRDs have already been pre-installed in the cluster Generate a template of the Argo CD Helm chart version 7.7.3 for the argocd namespace and save it to ~/argo-helm.yaml . Configure the chart to not install CRDs.

Exhibits

CKA question #60 exhibit 1
CKA question #60 exhibit 2

Explanation

The candidate must use Helm commands in the provided web terminal to add the Argo CD repository, then template the Argo CD chart (version 7.7.3) into a YAML file, ensuring CRD installation is skipped and the output is saved to the specified location.

Approach. The core task is to install Argo CD using Helm, specifically templating its chart. The steps, executed in the web terminal after connecting to the target host, are:

  1. Connect to the target host: The question explicitly states 'You must connect to the correct host. [candidate@base] $ ssh Cka000060'. Assuming the web terminal is the candidate@base host, the first command to type is: ssh Cka000060 (All subsequent commands are executed after successfully SSHing into Cka000060).

  2. Add the Argo CD Helm repository: The task requires adding the official Argo CD Helm repository with the name argo. The command for this is: helm repo add argo https://argoproj.github.io/argo-helm

  3. Update Helm repositories (good practice): While not explicitly stated, it's good practice to update the repository index to ensure the latest chart versions are available: helm repo update

  4. Generate the Helm chart template: The task requires generating a template of the Argo CD Helm chart (version 7.7.3) for the argocd namespace, saving it to ~/argo-helm.yaml, and crucially, configuring it to not install CRDs because they are pre-installed. The correct command incorporating all these requirements is: helm template argo/argo-cd --version 7.7.3 --namespace argocd --skip-crds > ~/argo-helm.yaml

    • helm template: Command to render a chart locally.
    • argo/argo-cd: Specifies the chart name from the argo repository.
    • --version 7.7.3: Ensures the specific chart version is used.
    • --namespace argocd: Specifies the target namespace for the resources (even though it's a template, this configures the namespace field in the YAML).
    • --skip-crds: This is the critical flag to prevent Helm from rendering CRD definitions, aligning with the prompt's instruction that CRDs are 'pre-installed'.
    • > ~/argo-helm.yaml: Redirects the generated YAML output to the specified file in the user's home directory.

Common mistakes.

  • common_mistake. Common mistakes include:
  • Forgetting to SSH to the correct host (Cka000060): The question explicitly states this as a critical first step.
  • Not adding the Helm repository: Failing to execute helm repo add argo https://argoproj.github.io/argo-helm before attempting to template the chart will result in Helm not finding the 'argo/argo-cd' chart.
  • Incorrectly handling CRDs: Using --no-hooks instead of --skip-crds, or forgetting to include any flag to prevent CRD installation. --no-hooks prevents pre/post-install hooks, not CRD installation. Installing CRDs when they are pre-installed can lead to conflicts or errors. Omitting the flag would include CRDs in the template.
  • Missing or incorrect chart version/namespace: Not specifying --version 7.7.3 or --namespace argocd would result in a template that doesn't meet the requirements.
  • Forgetting to redirect output: Not using > ~/argo-helm.yaml will print the YAML to the console instead of saving it to the required file.
  • Using helm install instead of helm template: The task specifically asks to 'Generate a template' and 'save it to ~/argo-helm.yaml', indicating a templating operation, not a direct installation into the cluster.

Concept tested. This question tests the candidate's proficiency in managing Kubernetes applications using Helm, specifically:

  • Helm repository management (adding and updating).
  • Generating Helm chart templates (helm template).
  • Configuring Helm charts with specific versions and namespaces.
  • Understanding and correctly applying Helm flags to control chart behavior, especially regarding Custom Resource Definitions (CRDs) with --skip-crds.
  • Basic command-line operations, including output redirection and SSH connectivity in a multi-host lab environment.

Topics

#Helm#Application Deployment#Argo CD#Helm Chart Configuration

Community Discussion

No community discussion yet for this question.

Full CKA Practice