Azure / Enterprise-Scale-for-AKS

Enterprise Scale for AKS Reference Implementation Repo
MIT License
45 stars 55 forks source link

08-Workload - Helm package bitnami image can't find source image #84

Open larrywa opened 3 years ago

larrywa commented 3 years ago

In the docs, you have to deploy a helm package that includes Bitnami:

helm repo add bitnami https://charts.bitnami.com/bitnami

helm install ratings bitnami/mongodb --namespace ratingsapp --set auth.username=,auth.password=,auth.database=ratingsdb

After deployment, in the ratingsapp namespace, the pod ratings-mongodb-client will not run, it has ImagePullBackOff error:

Warning Failed 19m (x4 over 21m) kubelet Failed to pull image "docker.io/bitnami/mongodb:4.4.10-de": rpc error: code = NotFound desc = failed to pull and unpack image "do cker.io/bitnami/mongodb:4.4.10-de": failed to resolve reference "docker.io/bitnami/mongodb:4.4.10-de": docker.io/bitnami/mongodb:4.4.10-de: not found

This is more than likely coming from the chart being downloaded, but it is not accessible.

I am not sure if this container is needed, but if it is, this needs to be corrected.

mosabami commented 3 years ago

@larrywa it may be that you didnt provide the secret provider managed identity access to pull secrets from keyvault. line 71 of this page https://github.com/Azure/Enterprise-Scale-for-AKS/blob/main/Scenarios/Secure-Baseline/Terraform/07-b-keyvault-addon.md.