You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
If you use latest as the tag for all images and you don't set pull-images to true, then I believe it will use the cached images instead of updating them from your registry.
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
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
The text was updated successfully, but these errors were encountered: