Interview Prep/Helm/Install & Upgrade Failures

`Error: INSTALLATION FAILED: create: failed to create: namespaces "shop" not found`

BeginnerTroubleshootingInstall & Upgrade Failures
Answer

Likely causes → Helm does not create the target namespace by default.

Diagnose → kubectl get ns shop.

Fix → Add --create-namespace, or create it beforehand (kubectl create ns shop), ideally through your platform pipeline with labels and quotas.

Prevent → Namespaces managed declaratively by the platform team; app pipelines use --create-namespace only in dev.

All Helm questions Roadmap: Helm

More on Install & Upgrade Failures