Kubernetes version: 1.30.3
Type: K3s (ver. 1.30.3+k3s1)
Cloud: Hetzner
CNI: 1.4.0-flannel1+v0.25.4
CRI: containerd://1.7.17-k3s1
I’m new to Kubernetes. I’m trying to install Nginx ingress (v. 4.11.2) but an error shows up:
Failed pre-install: 1 error occurred: timed out waiting for the condition
I tried also with a --debug flag, to see if debug output would help to understand what’s going on.
Output
history.go:56: 2024-10-16 13:19:11.752334046 +0200 CEST m=+0.144908157 [debug] getting history for release ingress-nginx
Release "ingress-nginx" does not exist. Installing it now.
install.go:224: 2024-10-16 13:19:11.7861503 +0200 CEST m=+0.178724363 [debug] Original chart version: "4.11.2"
install.go:241: 2024-10-16 13:19:12.600701457 +0200 CEST m=+0.993275497 [debug] CHART PATH: /home/roberto.jobet/.cache/helm/repository/ingress-nginx-4.11.2.tgz
client.go:142: 2024-10-16 13:19:13.736609304 +0200 CEST m=+2.129183348 [debug] creating 1 resource(s)
client.go:486: 2024-10-16 13:19:14.003662682 +0200 CEST m=+2.396236723 [debug] Starting delete for "ingress-nginx-admission" ServiceAccount
client.go:490: 2024-10-16 13:19:14.033040786 +0200 CEST m=+2.425614825 [debug] Ignoring delete failure for "ingress-nginx-admission" /v1, Kind=ServiceAccount: serviceaccounts "ingress-nginx-admission" not found
wait.go:104: 2024-10-16 13:19:14.033119295 +0200 CEST m=+2.425693341 [debug] beginning wait for 1 resources to be deleted with timeout of 5m0s
client.go:142: 2024-10-16 13:19:14.355612867 +0200 CEST m=+2.748186915 [debug] creating 1 resource(s)
client.go:486: 2024-10-16 13:19:14.392527978 +0200 CEST m=+2.785102019 [debug] Starting delete for "ingress-nginx-admission" ClusterRole
client.go:490: 2024-10-16 13:19:14.421278528 +0200 CEST m=+2.813852568 [debug] Ignoring delete failure for "ingress-nginx-admission" rbac.authorization.k8s.io/v1, Kind=ClusterRole: clusterroles.rbac.authorization.k8s.io "ingress-nginx-admission" not found
wait.go:104: 2024-10-16 13:19:14.421321045 +0200 CEST m=+2.813895088 [debug] beginning wait for 1 resources to be deleted with timeout of 5m0s
client.go:142: 2024-10-16 13:19:14.66062579 +0200 CEST m=+3.053199828 [debug] creating 1 resource(s)
client.go:486: 2024-10-16 13:19:14.696790511 +0200 CEST m=+3.089364550 [debug] Starting delete for "ingress-nginx-admission" ClusterRoleBinding
client.go:490: 2024-10-16 13:19:14.726534724 +0200 CEST m=+3.119108773 [debug] Ignoring delete failure for "ingress-nginx-admission" rbac.authorization.k8s.io/v1, Kind=ClusterRoleBinding: clusterrolebindings.rbac.authorization.k8s.io "ingress-nginx-admission" not found
wait.go:104: 2024-10-16 13:19:14.727186029 +0200 CEST m=+3.119760066 [debug] beginning wait for 1 resources to be deleted with timeout of 5m0s
client.go:142: 2024-10-16 13:19:14.972070984 +0200 CEST m=+3.364645023 [debug] creating 1 resource(s)
client.go:486: 2024-10-16 13:19:15.008084286 +0200 CEST m=+3.400658325 [debug] Starting delete for "ingress-nginx-admission" Role
client.go:490: 2024-10-16 13:19:15.037654165 +0200 CEST m=+3.430228214 [debug] Ignoring delete failure for "ingress-nginx-admission" rbac.authorization.k8s.io/v1, Kind=Role: roles.rbac.authorization.k8s.io "ingress-nginx-admission" not found
wait.go:104: 2024-10-16 13:19:15.037695916 +0200 CEST m=+3.430269954 [debug] beginning wait for 1 resources to be deleted with timeout of 5m0s
client.go:142: 2024-10-16 13:19:15.318662493 +0200 CEST m=+3.711236530 [debug] creating 1 resource(s)
client.go:486: 2024-10-16 13:19:15.355554261 +0200 CEST m=+3.748128299 [debug] Starting delete for "ingress-nginx-admission" RoleBinding
client.go:490: 2024-10-16 13:19:15.385252402 +0200 CEST m=+3.777826442 [debug] Ignoring delete failure for "ingress-nginx-admission" rbac.authorization.k8s.io/v1, Kind=RoleBinding: rolebindings.rbac.authorization.k8s.io "ingress-nginx-admission" not found
wait.go:104: 2024-10-16 13:19:15.385295638 +0200 CEST m=+3.777869685 [debug] beginning wait for 1 resources to be deleted with timeout of 5m0s
client.go:142: 2024-10-16 13:19:15.677723189 +0200 CEST m=+4.070297298 [debug] creating 1 resource(s)
client.go:486: 2024-10-16 13:19:15.718709006 +0200 CEST m=+4.111283064 [debug] Starting delete for "ingress-nginx-admission-create" Job
client.go:490: 2024-10-16 13:19:15.748052965 +0200 CEST m=+4.140627013 [debug] Ignoring delete failure for "ingress-nginx-admission-create" batch/v1, Kind=Job: jobs.batch "ingress-nginx-admission-create" not found
wait.go:104: 2024-10-16 13:19:15.748124021 +0200 CEST m=+4.140698080 [debug] beginning wait for 1 resources to be deleted with timeout of 5m0s
client.go:142: 2024-10-16 13:19:16.018816932 +0200 CEST m=+4.411390976 [debug] creating 1 resource(s)
client.go:712: 2024-10-16 13:19:16.053784619 +0200 CEST m=+4.446358662 [debug] Watching for changes to Job ingress-nginx-admission-create with timeout of 5m0s
client.go:740: 2024-10-16 13:19:16.089804632 +0200 CEST m=+4.482378671 [debug] Add/Modify event for ingress-nginx-admission-create: ADDED
client.go:779: 2024-10-16 13:19:16.08984306 +0200 CEST m=+4.482417108 [debug] ingress-nginx-admission-create: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
Error: failed pre-install: 1 error occurred:
* timed out waiting for the condition
helm.go:86: 2024-10-16 13:24:16.335767849 +0200 CEST m=+304.728341892 [debug] failed pre-install: 1 error occurred:
* timed out waiting for the condition
INSTALLATION FAILED
main.newInstallCmd.func2
helm.sh/helm/v3/cmd/helm/install.go:158
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.8.1/command.go:985
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.8.1/command.go:1117
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.8.1/command.go:1041
main.main
helm.sh/helm/v3/cmd/helm/helm.go:85
runtime.main
runtime/proc.go:271
runtime.goexit
Any ideas how to troubleshoot this?