Bird
0
0

You want to add two Helm chart repositories, repo1 and repo2, then update and search for a chart named app in both. Which sequence of commands correctly achieves this?

hard📝 Workflow Q15 of 15
Kubernetes - Helm Package Manager
You want to add two Helm chart repositories, repo1 and repo2, then update and search for a chart named app in both. Which sequence of commands correctly achieves this?
Ahelm repo add repo1 https://url1 helm search repo app helm repo add repo2 https://url2 helm repo update
Bhelm repo update helm repo add repo1 https://url1 helm repo add repo2 https://url2 helm search repo app
Chelm repo add repo1 https://url1 helm repo add repo2 https://url2 helm repo update helm search repo app
Dhelm search repo app helm repo add repo1 https://url1 helm repo add repo2 https://url2 helm repo update
Step-by-Step Solution
Solution:
  1. Step 1: Add both repositories first

    Use helm repo add twice to add repo1 and repo2.
  2. Step 2: Update repo list before searching

    Run helm repo update to refresh local repo info.
  3. Step 3: Search for the chart in all repos

    Use helm search repo app to find the chart in both repos.
  4. Final Answer:

    helm repo add repo1 https://url1 helm repo add repo2 https://url2 helm repo update helm search repo app -> Option C
  5. Quick Check:

    Add repos, update, then search [OK]
Quick Trick: Add all repos first, update, then search [OK]
Common Mistakes:
  • Updating before adding repos
  • Searching before updating
  • Adding one repo, searching, then adding another

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes