k8s-deploy
k8s-deploy copied to clipboard
Unnecessary `docker pull` being triggered
I have a workflow that's deploying some manifests which don't contain any images and yet the workflow is still triggering a docker pull
which fails with the following error:
Deploying manifests
Warning: Deployment strategy is not recognized.
/usr/local/bin/kubectl apply -f /tmp/kafka.yml,/tmp/monitoring.yml --insecure-skip-tls-verify --namespace metrics
prometheusrule.monitoring.coreos.com/staging.kafka-to-bq-lag created
prometheusrule.monitoring.coreos.com/data-science-monitoring.rules created
Checking manifest stability
Printing ingresses
Annotating resources
/usr/bin/docker pull
invalid reference format
Warning: Failed to get dockerfile path for image : Error: The process '/usr/bin/docker' failed with exit code 1
As a temporary workaround you can use the
pull-images: false
option
Thanks!
This issue is idle because it has been open for 14 days with no activity.
Not idle, still waiting for a fix but the workaround works for now
@richardsimko can you post the inputs you are supplying to k8s-deploy? And which version of deploy this is
Sure, here it is:
- name: Deploy alerts
uses: azure/k8s-deploy@v4
with:
manifests: |
k8s/production/alerts
The alerts themselves contain only PrometheusRule
definitions and no services.
This issue is idle because it has been open for 14 days with no activity.
related issue: #164
Using pull-images: false
solves the issue