-
Notifications
You must be signed in to change notification settings - Fork 784
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
[BUG] Error while deploying kyverno on minikube #581
Comments
init-container error is due to a missing |
The other error with kyverno_container is due to an incorrect target in CI script. The binary is linked to C libs and the vanilla alpine image does not contain the The PR #582 should fix the above issue: The specific make targets for initContainer & kyverno container disable the CGO flags while building the binary. Updating the CI script to use the specific make targets should resolve this issue. The default make targets @shubham-asati I have tested the above fix with the following setup, do confirm if the above fixes the reported issues for your setup. Testing Environment: |
I'm deploying the latest kyverno, seems like the pod falls in crashloopbackoff.
Logs:
|
there was a typo in make target command, fixed in nirmata@d0ab83a |
@shivdudhani Thanks for the help . Both issues are fixed . |
Describe the bug
I have tried installing kyverno using installation.md on minikube .But on deployment pod gets into error phase.
Logs from pod
init-container
ERROR: logging before flag.Parse: I1227 14:20:57.721367 1 main.go:109] Using in-cluster configuration ERROR: logging before flag.Parse: I1227 14:20:57.722398 1 client.go:281] Starting registered resources sync: every 10000000000 seconds
kyverno container
standard_init_linux.go:211: exec user process caused "no such file or directory"
minikube version: v1.6.2
vm-driver: virtualbox
Kubernetes version : v1.17.0
Docker version : 19.03.5
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Successful installation
The text was updated successfully, but these errors were encountered: