CCM-linode shows error when installing Ingress Nginx
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go, helm, kubernetes, nginx
- Lĩnh vực
- cloud, infrastructure, networking
Hướng nghiên cứu
Bắt đầu với các log của ccm-linode, đặc biệt là controller.go:298, và xem lại các script đính kèm install-helm-and-ccm.txt, install-k8.txt và install-k8-and-start.txt. Tái hiện thiết lập ingress-nginx LoadBalancer được mô tả trong issue và theo dõi cách địa chỉ của các node được truyền tới load balancer. Được coi là hoàn tất khi controller không còn báo lỗi xác thực address:port và ingress-nginx-controller nhận được một IP bên ngoài.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
General:
- [ yes] Have you removed all sensitive information, including but not limited to access keys and passwords?
- [ yes] Have you checked to ensure there aren't other open or closed Pull Requests for the same bug/feature/question?
This is a follow up to this earlier ticket: https://github.com/linode/linode-cloud-controller-manager/issues/250
Even though the earlier ticket is resolved, the CCM is still not publishing an external IP that can be used by an Ingress Nginx Controller. Here's my question:
I am trying to get ingress-nginx-controller to work in an unmanaged kubernetes system. I followed these guides:
https://www.linode.com/docs/guides/deploy-kubernetes-cluster-using-kubeadm/
https://github.com/linode/linode-cloud-controller-manager?tab=readme-ov-file#to-deploy-ccm-linode-run-the-following-command
https://www.linode.com/docs/guides/deploy-nginx-ingress-on-lke/
But the end result is always this:
$ kubectl logs ccm-linode-9s4fz -n kube-system
E1205 04:09:27.805891 1 controller.go:298] error processing service default/ingress-nginx-controller (retrying with exponential backoff): failed to ensure load balancer: [400] [configs[0].nodes[0].address] Must be in address:port format; [configs[1].nodes[0].address] Must be in address:port format
I1205 04:09:27.806132 1 event.go:376] "Event occurred" object="default/ingress-nginx-controller" fieldPath="" kind="Service" apiVersion="v1" type="Warning" reason="SyncLoadBalancerFailed" message="Error syncing load balancer: failed to ensure load balancer: [400] [configs[0].nodes[0].address] Must be in address:port format; [configs[1].nodes[0].address] Must be in address:port format"
$ kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
hello-one ClusterIP 10.100.159.160 <none> 80/TCP 8m37s
hello-two ClusterIP 10.101.70.107 <none> 80/TCP 8m37s
ingress-nginx-controller LoadBalancer 10.106.208.134 <pending> 80:32595/TCP,443:30397/TCP 10m
ingress-nginx-controller-admission ClusterIP 10.107.157.208 <none> 443/TCP 10m
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 16m
Notice the ccm-linode-9s4fz gives an error. And my ingress-nginx-controller EXTERNAL-IP is always stuck in <pending>.
I made an 8 minute video showing and explaining step by step what I was doing:
https://www.youtube.com/watch?v=D-dTveBpDuY
To summarize what I did in the video, i performed these steps: (all *.sh files are attached here as *.txt files, so you can rename the extensions)
- Create 2 new linodes with Ubuntu 22.04 (i also tried Ubuntu 24.04 and it gave the same issue). I called them
kube1andkube2. - I ran the file
./install-k8-and-start.shon kube1 (for this *.sh, replace the IPs on line 6 with your machine IPs) - I ran the file
./install-k8.shon kube2 (for this *.sh, replace the IPs on line 6 with your machine IPs). - Make kube2 join kube1.
- I set the
--cloud-provider=externaland did asystemctl restart kubeleton both kube1 and kube2. - I ran
./install-helm-and-ccm.shon kube1. (make sure to replace the api token and region with yours) - I ran
helm install ingress-nginx ingress-nginx/ingress-nginx;on kube1.
Then I get the issues above where the ccm-linode-9s4fz pod gives an error, and the ingress-nginx-controller never gets an IP address.
EXPECTED BEHAVIOUR
the ingress-nginx-controller should get an external ip
install-helm-and-ccm.txt
install-k8.txt
install-k8-and-start.txt
Environment Specifications
Ubuntu 22.04 and Ubuntu 24.04
- Ngôn ngữ chính
- Go
- Star
- 94
- Fork
- 75
- Merge trung bình
- 16 giờ 26 phút
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linode/linode-cloud-controller-manager
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
linode/linode-cloud-controller-manager#543 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Set LoadBalancer ingress IPMode to prevent kube-proxy from short-circuiting LoadBalancer trafficĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
linode/linode-cloud-controller-manager#533 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Dependency DashboardĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
linode/linode-cloud-controller-manager#474 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
linode/linode-cloud-controller-manager#399 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
linode/linode-cloud-controller-manager#392 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của linode/linode-cloud-controller-manager
Issue tương tự
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug P2 reliability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
afreidah/s3-orchestrator#1564 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
blinklabs-io/gouroboros#2577 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày