Hi, I am using KVM with VLAN-based advanced networking. I have allocated VLANs 
1000-2000 to VPC’s and looking at the virtual router, it’s using VLAN 1016. I 
successfully can ssh through the virtual router IP address to the nodes via the 
virtual router port redirects that were set up by Cloudstack when I 
instantiated the Kubernetes cluster  (2222 and up, each node incrementing the 
port number). I did have to experiment a bit to find that the user name ‘cloud’ 
was what I needed to use to get into the nodes, that does not appear to be 
documented anywhere.


From: Kiran Chavala <kiran.chav...@shapeblue.com>
Date: Tuesday, December 17, 2024 at 8:26 PM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Re: Kubernetes nginx ingress svc stuck in 'Pending'
Hi Eric

Could you please let me know the hypervisor you are using with Cloudstack.

Is it KVM or Vmware ?

Regards
Kiran

From: Eric Green <eric.lee.gr...@gmail.com>
Date: Wednesday, 18 December 2024 at 4:40 AM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Re: Kubernetes nginx ingress svc stuck in 'Pending'
Ugh. Literally the simplest possible configuration and it's stuck in 'Pending'. 
So it has to be an issue on the Cloudstack side? Let me get the configuration 
of that Kubernetes cluster....

Okay. I destroyed the Kubernetes cluster and re-created it trying various 
options until your two commands created a working LoadBalancer with an assigned 
IP address.  Then I created a Nagios ingress controller using the described 
YAML and successfully created the nginx ingress controller with an IP address 
for its LoadBalancer service. Now to get a working Ingress that routes traffic 
through the Services to my pods... Wish me luck. (To reiterate, I already have 
all of this working on AKS, Azure Kubernetes Service, it's just Cloudstack's 
Kubernetes that's being a pain to me).




________________________________
From: Jayanth Babu Reddy <jayanth.b...@nxtgen.com.INVALID>
Sent: Wednesday, December 11, 2024 7:22 PM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Re: Kubernetes nginx ingress svc stuck in 'Pending'

Just to confirm if there's not any misconfiguration at ACS, try doing these and 
let us know if you get the IP assigned.

$ kubectl run --image=nginx nginx
$ kubectl expose pod/nginx --type=LoadBalancer --port=80


For your nginx ingress controller service of type Load Balancer, what does $ 
kubectl describe svc ingress-nginx-controller say?

Thanks,
Jayanth

Reply via email to