An Azure platform for running a service on AKS with Terraform, Argo CD, CI, observability and incident handling.
View the Project on GitHub Franklindot04/production-platform-Azure
A pod of the sample service shows ErrImagePull or ImagePullBackOff. The image ghcr.io/franklindot04/sample-service:<tag> cannot be pulled.
New pods do not start. Pods that already run are not affected. During a rollout, the old pods keep serving. At the start of a session, no pod starts and the service has no ready pod.
kubectl get pods -n apps -l app.kubernetes.io/name=sample-service (planned, not run). It shows ErrImagePull or ImagePullBackOff.kubectl describe pod -n apps <pod name> (planned, not run). The events show the reason from the registry, such as unauthorized, denied or not found.kubectl get deploy sample-service -n apps -o jsonpath='{.spec.template.spec.containers[0].image}' (planned, not run). It shows the exact image and tag the pod asked for.git log --oneline -- gitops/dev/values/sample-service.yaml (planned, not run). It shows when the tag changed.docker manifest inspect ghcr.io/franklindot04/sample-service:<tag> from the maintainer’s machine, signed out of ghcr.io (planned, not run). It shows whether an anonymous pull can find the tag.Unsure: step 5. It is a common way to test an anonymous pull. It is not used in this repository, and docker is not part of the documented tools for this check.
docs/workflows.md, gitops/README.md). The cluster has no pull secret, so it can pull a public package only.gitops/dev/values/sample-service.yaml is wrong. Tags are full commit SHAs.Other causes are not known from the repository.
docs/workflows.md), or set the tag back to one that exists by reverting the pull request that changed it. See bad-image-tag.md.kubectl delete pod -n apps <pod name> (planned, not run). The kubelet also retries with a back-off.kubectl get pods -n apps -l app.kubernetes.io/name=sample-service (planned, not run). Both pods are ready.kubectl describe pod -n apps <pod name> (planned, not run). The events show the image pulled.Making a package public cannot be undone. Setting a tag back is a revert pull request in Git.
ADR 0013, gitops/README.md, docs/workflows.md.
not exercised