k8s-deploy
k8s-deploy copied to clipboard
k8s-deploy does not update pods with new images
What happened?
This executes as part of my GH Actions after a code update. The resulting image builds fine and is uploaded to my ACR registry. GH Actions successfully runs k8s-deploy as part of the workflow, but it doesn't detect any changes. The pods never bleed over and the old pods still run. I'm sure I have something wrong but I've had no luck searching.
Here's my action... - name: Deploy Cluster uses: Azure/k8s-deploy@v4 with: resource-group: $RESOURCE_GROUP name: $NAME action: deploy strategy: basic pull-images: false namespace: ingress-basic private-cluster: false manifests: | k8s/deployment.yaml k8s/service.yaml k8s/cluster-issuer.yaml k8s/ingress.yaml images: | myacr.azurecr.io/my-app:latest
I appreciate any thoughts people have on what I'm missing.
Version
- [X] I am using the latest version
Runner
self-hosted, Azure ACA Container Job
Relevant log output
/usr/local/bin/kubectl apply -f /tmp/deployment.yaml,/tmp/service.yaml,/tmp/cluster-issuer.yaml,/tmp/ingress.yaml --namespace ingress-basic deployment.apps/my-app unchanged service/my-app unchanged clusterissuer.cert-manager.io/letsencrypt unchanged ingress.networking.k8s.io/my-app-ingress unchanged