Skip to content

helm 安装报缺少nginx配置 #1225

Open

Description

@yangyang0106
  • 我已经在 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 ~]#

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions