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

helm 安装报缺少nginx配置 #1225

Open
1 task
yangyang0106 opened this issue Apr 16, 2024 · 0 comments
Open
1 task

helm 安装报缺少nginx配置 #1225

yangyang0106 opened this issue Apr 16, 2024 · 0 comments

Comments

@yangyang0106
Copy link

  • 我已经在 issues 搜索过相关问题了,并没有重复的。

在这里提出你的问题

[root@k8s-master ~]# kubectl get pods --namespace=knowstreaming -l release=knowstreaming-manager-0-1713261383 -w
NAME READY STATUS RESTARTS AGE
elasticsearch-master-0 0/1 Pending 0 7s
elasticsearch-master-1 0/1 Pending 0 7s
elasticsearch-master-2 0/1 Pending 0 6s
knowstreaming-manager-0-1713261383-77d555768-7gmhx 0/1 Pending 0 7s
knowstreaming-manager-0-1713261383-77d555768-kx2mb 0/1 Pending 0 8s
knowstreaming-manager-0-1713261383-knowstreaming-web-869b6p5nsp 0/1 ContainerCreating 0 8s
knowstreaming-manager-0-1713261383-knowstreaming-web-869b6xrq8f 0/1 ContainerCreating 0 8s
knowstreaming-manager-0-1713261383-ksmysql-0 0/1 Pending 0 7s
knowstreaming-manager-0-1713261383-knowstreaming-web-869b6p5nsp 0/1 Error 0 44s
knowstreaming-manager-0-1713261383-knowstreaming-web-869b6p5nsp 0/1 Error 1 (1s ago) 45s
knowstreaming-manager-0-1713261383-knowstreaming-web-869b6p5nsp 0/1 CrashLoopBackOff 1 (2s ago) 47s
knowstreaming-manager-0-1713261383-knowstreaming-web-869b6xrq8f 0/1 Error 0 53s
knowstreaming-manager-0-1713261383-knowstreaming-web-869b6xrq8f 0/1 Error 1 (7s ago) 59s
knowstreaming-manager-0-1713261383-knowstreaming-web-869b6xrq8f 0/1 CrashLoopBackOff 1 (3s ago) 60s
knowstreaming-manager-0-1713261383-knowstreaming-web-869b6p5nsp 0/1 Error 2 (23s ago) 68s
knowstreaming-manager-0-1713261383-knowstreaming-web-869b6p5nsp 0/1 CrashLoopBackOff 2 (4s ago) 71s
查看日志:
[root@k8s-master ~]# kubectl logs -f knowstreaming-manager-0-1713261383-knowstreaming-web-869b6xrq8f -n knowstreaming
/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: error: /etc/nginx/conf.d/default.conf is not a file or does not exist
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2024/04/16 17:57:44 [emerg] 1#1: host not found in upstream "knowstreaming-manager-0-1713261383-knowstreaming-manager" in /etc/nginx/conf.d/knowStreaming.conf:29
nginx: [emerg] host not found in upstream "knowstreaming-manager-0-1713261383-knowstreaming-manager" in /etc/nginx/conf.d/knowStreaming.conf:29
[root@k8s-master ~]#

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