didi / KnowStreaming

一站式云原生实时流数据平台,通过0侵入、插件化构建企业级Kafka服务,极大降低操作、存储和管理实时流数据门槛
https://knowstreaming.com
GNU Affero General Public License v3.0
6.93k stars 1.28k forks source link

helm 安装报缺少nginx配置 #1225

Open yangyang0106 opened 5 months ago

yangyang0106 commented 5 months ago

在这里提出你的问题

[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 ~]#