Skip to content

Unable to acquire External IP using Kubernetes Nginx Ingress Controler #11514

@tazouxme

Description

@tazouxme

problem

Hi!

I installed a brand new CloudStack instance on my machine (4.20.1).
I managed to import the Kubernetes ISO version 1.33.1.
I was able to create a new Kubernetes cluster with 1 Controller and 3 Nodes.

Then, I wanted to install Nginx Ingress Controller and the service is stuck in state Pending (using this YAML manifest https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.13.1/deploy/static/provider/cloud/deploy.yaml). This version is compatible with Kubernetes 1.33.

kubectl get svc -n ingress-nginx

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ingress-nginx-controller LoadBalancer 10.104.136.17 < pending > 80:30487/TCP,443:32395/TCP 8m
ingress-nginx-controller-admission ClusterIP 10.101.184.165 < none > 443/TCP 8m

The detailed error is the following

Error syncing load balancer: failed to ensure load balancer: error retrieving load balancer rules: Get "http://192.168.1.18:8080/client/api?apiKey=LVO-XvwBCdw0s_ES5s7f9eRkkfNSsSGa7vFXJCQsXhcTggOqo01QZpD7aQY8mtal7veZIxYKRHsErJTKt0_zdQ&command=listLoadBalancerRules&keyword=ac8f6b302d0274000bad294d69e64bd4&listall=true&response=json&signature=8BIFbTI5X6wAUt%2FLWC5brXJg%2Bfk%3D": dial tcp 192.168.1.18:8080: i/o timeout

Furthermore, when I check the logs, I see that "GET /client/api" never appears. Looks like the request never arrives to CloudStack.

Any idea how to resolve this issue?
Do I miss some configuration?

Thank you!

versions

ACS 4.20.1
CKS 1.33.1

The steps to reproduce the bug

  1. Create a K8s cluster
  2. Via manifest, install Nginx Ingress Controller (https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.13.1/deploy/static/provider/cloud/deploy.yaml)
  3. State remains "Pending" and never gets an External IP
    ...

What to do about it?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions