Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Back-off restarting failed container harbor-container-webhook in pod harbor-container-webhook-858864cd49-qpw9z #40

Open
anmolsaini-hpe opened this issue Jul 15, 2024 · 1 comment

Comments

@anmolsaini-hpe
Copy link

I followed the steps to install container webhook via HELM :

Option 1: Install from chart repository

helm repo add harbor-container-webhook https://indeedeng.github.io/harbor-container-webhook/

helm install harbor-container-webhook harbor-container-webhook/harbor-container-webhook -n harbor-container-webhook --create-namespace

I am getting below error :

] $ kubectl get po --namespace harbor-container-webhook
NAME READY STATUS RESTARTS AGE
harbor-container-webhook-858864cd49-qpw9z 0/1 Error 2 (26s ago) 28s

Events:
Type Reason Age From Message


Normal Scheduled 45s default-scheduler Successfully assigned harbor-container-webhook/harbor-container-webhook-858864cd49-qpw9z to ip-10-180-164-7.us-west-2.compute.internal
Normal Pulled 3s (x4 over 44s) kubelet Container image "ghcr.io/indeedeng/harbor-container-webhook:main" already present on machine
Normal Created 3s (x4 over 44s) kubelet Created container harbor-container-webhook
Normal Started 3s (x4 over 44s) kubelet Started container harbor-container-webhook
Warning BackOff 2s (x8 over 43s) kubelet Back-off restarting failed container harbor-container-webhook in pod harbor-container-webhook-858864cd49-qpw9z_harbor-container-webhook(b4bf2067-9e9d-4f25-a18e-2de1877d223c)

Could you please help here in installing webhook correctly ?

@anmolsaini-hpe
Copy link
Author

POD LOGS :

] $ kubectl logs harbor-container-webhook-858864cd49-pxqrc -n harbor-container-webhook
2024-07-15T08:47:35Z ERROR setup no proxy rules configured from /etc/hcw/config/webhook-config.yaml
main.main
/workspace/main.go:61
runtime.main
/usr/local/go/src/runtime/proc.go:267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant