zalf-rdm / geonode-k8s

A Kubernetes helm chart for the geospacial webapplication Geonode
https://geonode-k8s.readthedocs.io/en/latest/
GNU General Public License v2.0
12 stars 7 forks source link

Starting via minikube gives the following error: #182

Closed ridoo closed 2 weeks ago

ridoo commented 2 weeks ago

Starting main branch via minikube gives the following error:

minikube kubectl -- -n geonode logs -f pod/geonode-nginx-86b679cf75-hhns5
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2024/06/20 09:46:07 [emerg] 1#1: host not found in upstream "geonode-geoserver" in /etc/nginx/conf.d/geonode.conf:54
nginx: [emerg] host not found in upstream "geonode-geoserver" in /etc/nginx/conf.d/geonode.conf:54

Kubernetes and Minikube versions:

k version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.27.4
Kustomize Version: v5.0.1
Server Version: v1.30.0

I could successfully start minikube with Kubernetes version v1.27.13.

Originally posted by @ridoo in https://github.com/zalf-rdm/geonode-k8s/issues/181#issuecomment-2180300034

ridoo commented 2 weeks ago

After testing through K8S versions 1.27 to 1.30 the error was not reproducible anymore for me. :man_shrugging: