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

service "ingress-nginx-controller-admission" not found #13

Open
patsevanton opened this issue Jul 15, 2022 · 0 comments
Open

service "ingress-nginx-controller-admission" not found #13

patsevanton opened this issue Jul 15, 2022 · 0 comments

Comments

@patsevanton
Copy link

Hello!
I try install jenkins-x on k8s 1.21
install ingress

helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx && helm repo update
helm install --atomic nginx-ingress ingress-nginx/ingress-nginx

kubectl get pod -A

NAMESPACE          NAME                                                      READY   STATUS        RESTARTS   AGE
default            nginx-ingress-ingress-nginx-controller-66556dd999-7bm26   1/1     Running       0          12m
jx-git-operator    jx-boot-20d3b790-6fbb-47b0-a34a-31067ac2f17f-6tprb        0/1     Error         0          10m
jx-git-operator    jx-boot-20d3b790-6fbb-47b0-a34a-31067ac2f17f-8nxdk        0/1     Completed     0          8m15s
jx-git-operator    jx-boot-9b21b396-4eff-4267-aa0d-1a9eb13a202c-4k9rv        0/1     Completed     0          5m16s

kubectl logs -n jx-git-operator jx-boot-20d3b790-6fbb-47b0-a34a-31067ac2f17f-6tprb:

Error from server (InternalError): error when creating "config-root/namespaces/jx/jx-pipelines-visualizer/jx-pipelines-visualizer-ingress.yaml": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": Post "https://ingress-nginx-controller-admission.nginx.svc:443/networking/v1/ingresses?timeout=10s": service "ingress-nginx-controller-admission" not found
Error from server (InternalError): error when creating "config-root/namespaces/jx/jxboot-helmfile-resources/bucketrepo-ingress.yaml": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": Post "https://ingress-nginx-controller-admission.nginx.svc:443/networking/v1/ingresses?timeout=10s": service "ingress-nginx-controller-admission" not found
Error from server (InternalError): error when creating "config-root/namespaces/jx/jxboot-helmfile-resources/hook-ingress.yaml": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": Post "https://ingress-nginx-controller-admission.nginx.svc:443/networking/v1/ingresses?timeout=10s": service "ingress-nginx-controller-admission" not found
make[1]: *** [versionStream/src/Makefile.mk:291: kubectl-apply] Error 1
make[1]: Leaving directory '/workspace/source'
error: failed to regenerate: failed to regenerate phase 1: failed to run 'make regen-phase-1' command in directory '.', output: ''
make: *** [versionStream/src/Makefile.mk:243: regen-check] Error 1

Is it ok? How debug ?

jx health status -A

Installing plugin jx-health version 0.0.76 for command jx health from https://github.com/jenkins-x-plugins/jx-health/releases/download/v0.0.76/jx-health-linux-amd64.tar.gz into /home/user/.jx3/plugins/bin
                          NAME                     NAMESPACE                        STATUSERROR MESSAGE
                     daemonset                  kuberhealthy                   OK
                    deployment                  kuberhealthy                   OK
           dns-status-internal                  kuberhealthy                   OK
                  jx-bot-token                            jx                         ERRORCheck execution error: pod deleted unexpectedly
                 jx-pod-status                  kuberhealthy                   OK
                    jx-secrets                  kuberhealthy                   OK
                    jx-webhook                            jx                         ERRORCheck execution error: pod deleted unexpectedly
             jx-webhook-events                            jx                         ERRORCheck execution error: pod deleted unexpectedly
      network-connection-check                  kuberhealthy                   OK
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