Giter Club home page Giter Club logo

Comments (10)

snpyeso avatar snpyeso commented on July 24, 2024
[root@zpfrltgup4tujpi1-0001 ~]# kubectl get ingress -n wordpress-space
NAME   CLASS   HOSTS        ADDRESS   PORTS   AGE
ng-1   nginx   a.usudo.cn             80      10h
[root@zpfrltgup4tujpi1-0001 ~]# kubectl get ns
NAME                              STATUS   AGE
default                           Active   18h
elasticsearch                     Active   18h
hnc-system                        Active   18h
ingress-nginx                     Active   18h
kube-node-lease                   Active   18h
kube-public                       Active   18h
kube-system                       Active   18h
kubecube-monitoring               Active   18h
kubecube-project-wordpress        Active   17h
kubecube-system                   Active   18h
kubecube-tenant-wordpresstenant   Active   17h
local-path-storage                Active   18h
wordpress-space                   Active   17h
[root@zpfrltgup4tujpi1-0001 ~]# kubectl get pod -n ingress-nginx
NAME                                        READY   STATUS      RESTARTS   AGE
ingress-nginx-admission-create-cf6mw        0/1     Completed   0          18h
ingress-nginx-admission-patch-6m5kt         0/1     Completed   1          18h
ingress-nginx-controller-776d88d5c9-vptdm   1/1     Running     0          18h
[root@zpfrltgup4tujpi1-0001 ~]# kubectl get service -n ingress-nginx
NAME                                 TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                      AGE
ingress-nginx-controller             LoadBalancer   10.101.198.84   <pending>     80:30621/TCP,443:32469/TCP   18h
ingress-nginx-controller-admission   ClusterIP      10.98.28.60     <none>        443/TCP                      18h
[root@zpfrltgup4tujpi1-0001 ~]# kubectl logs -n ingress-nginx ingress-nginx-controller-776d88d5c9-vptdm

日志如下

I0524 14:58:21.313531       8 admission.go:149] processed ingress via admission controller {testedIngressLength:3 testedIngressTime:0.048s renderingIngressLength:3 renderingIngressTime:0s admissionTime:26.4kBs testedConfigurationSize:0.048}
I0524 14:58:21.313570       8 main.go:100] "successfully validated configuration, accepting" ingress="wordpress-space/ng-1"
I0524 14:58:21.316134       8 store.go:474] "creating ingress" ingress="wordpress-space/ng-1" ingressclass="nginx"
I0524 14:58:21.316712       8 event.go:285] Event(v1.ObjectReference{Kind:"Ingress", Namespace:"wordpress-space", Name:"ng-1", UID:"17be4121-7f80-4b25-85ee-54fddec1b4fa", APIVersion:"networking.k8s.io/v1", ResourceVersion:"115139", FieldPath:""}): type: 'Normal' reason: 'Sync' Scheduled for sync
W0524 14:58:21.318857       8 controller.go:1110] Service "kubecube-monitoring/kubecube-monitoring-alertmanager" does not have any active Endpoint.
I0524 14:58:21.318970       8 controller.go:166] "Configuration changes detected, backend reload required"
I0524 14:58:21.410338       8 controller.go:183] "Backend successfully reloaded"
I0524 14:58:21.410989       8 event.go:285] Event(v1.ObjectReference{Kind:"Pod", Namespace:"ingress-nginx", Name:"ingress-nginx-controller-776d88d5c9-vptdm", UID:"cd0e9b8a-4cfb-449e-af78-6fe970d7435a", APIVersion:"v1", ResourceVersion:"1032", FieldPath:""}): type: 'Normal' reason: 'RELOAD' NGINX reload triggered due to a change in configuration

from kubecube.

weilaaa avatar weilaaa commented on July 24, 2024

cc @tiancandevloper

from kubecube.

tiancandevloper avatar tiancandevloper commented on July 24, 2024

试着复现了一下,确实存在这个问题,我们修复一下,多谢反馈

from kubecube.

snpyeso avatar snpyeso commented on July 24, 2024

试着复现了一下,确实存在这个问题,我们修复一下,多谢反馈

如果需要实验环境我可以提供,可以发送email 至 [email protected]

from kubecube.

tiancandevloper avatar tiancandevloper commented on July 24, 2024

暂时不用,已经定位问题,是在于我们ingress的svc没有暴露80端口,下个版本会在安装时增加一个选项,选择ingress svc暴露的端口

from kubecube.

snpyeso avatar snpyeso commented on July 24, 2024

暂时不用,已经定位问题,是在于我们ingress的svc没有暴露80端口,下个版本会在安装时增加一个选项,选择ingress svc暴露的端口
还有443

from kubecube.

snpyeso avatar snpyeso commented on July 24, 2024

暂时不用,已经定位问题,是在于我们ingress的svc没有暴露80端口,下个版本会在安装时增加一个选项,选择ingress svc暴露的端口

现在是在ingress的svc 添加nodeport的80暴露就行了是吧

from kubecube.

tiancandevloper avatar tiancandevloper commented on July 24, 2024

是的,或者更推荐使用hostnetwork的模式重新安装ingress controller

from kubecube.

zhujf1989 avatar zhujf1989 commented on July 24, 2024

除此之外,新版本还需额外指定默认的IngressClass,该问题也会在1.2.1中修复。
注意:设置完IngressClass后,需删除已有ingress资源,重新创建才会生效。
image

from kubecube.

snpyeso avatar snpyeso commented on July 24, 2024

期待1.21,不过每次调试一次都会学到不少东西

from kubecube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.