Kubernetes stuck in the starting state and gets error state after some time.

2023-04-28 Thread Sanjay Kumar
Hello All Kubernetes cluster is stuck in the 'Starting' state, and gets error state after some time even though VM's, LB, Firewall Rules are been created properly. cloudstack version: 4.18.0 kubernetes version : Kubernetes 1.23.3 Any help would be really appreciated. Regards, S Kumar

Re: Kubernetes stuck in the starting state

2023-03-20 Thread Sanjay Kumar
Hi Wei, We did re-register the k8 and it's started to work. On Fri, Mar 17, 2023 at 6:34 PM Wei ZHOU wrote: > Hi Sanjay, > > Good to know it. Do you use a different the systemvm template ? > > -Wei > > > On Friday, 17 March 2023, Sanjay Kumar wrote: > > > Hi Wei, > > > > Thank you so much

Re: Kubernetes stuck in the starting state

2023-03-17 Thread Wei ZHOU
Hi Sanjay, Good to know it. Do you use a different the systemvm template ? -Wei On Friday, 17 March 2023, Sanjay Kumar wrote: > Hi Wei, > > Thank you so much for your help! > > We have successfully deploy the k8 cluster after re-added the template. > > > On Tue, Mar 14, 2023 at 8:46 PM Wei

Re: Kubernetes stuck in the starting state

2023-03-17 Thread Wei ZHOU
by jaejong > > -Original Message- > From: "Wei ZHOU" > To: ; > Cc: > Sent: 2023-03-17 (금) 19:06:30 (GMT+09:00) > Subject: Re: Kubernetes stuck in the starting state > > Hi, > > What's the output of the command ? You can add "-v" to the

Re: Kubernetes stuck in the starting state

2023-03-17 Thread Sanjay Kumar
Hi Wei, Thank you so much for your help! We have successfully deploy the k8 cluster after re-added the template. On Tue, Mar 14, 2023 at 8:46 PM Wei ZHOU wrote: > You should run these commands in the control node which has name " name>-control-xxx" > > -Wei > > > > On Tue, 14 Mar 2023 at

Re: Kubernetes stuck in the starting state

2023-03-17 Thread 김재종
denied. I'd like to edit /etc/sysctl.conf to add vm.max_map_count=262144. opensearch require this option. thank you!! by jaejong -Original Message- From: "Wei ZHOU" To: ; Cc: Sent: 2023-03-17 (금) 19:06:30 (GMT+09:00) Subject: Re: Kubernetes stuck in the starting state Hi, What's

Re: Kubernetes stuck in the starting state

2023-03-17 Thread Wei ZHOU
s in allocated but not setup. > VR with this public ip is Running state. > Why is the same ip state defferent? > > > > > > > -Original Message- > From: "Wei ZHOU" > To: ; > Cc: > Sent: 2023-03-15 (수) 00:16:03 (GMT+09:00) > Subject: Re: Kubern

Re: Kubernetes stuck in the starting state

2023-03-17 Thread 김재종
with this public ip is Running state. Why is the same ip state defferent? -Original Message- From: "Wei ZHOU" To: ; Cc: Sent: 2023-03-15 (수) 00:16:03 (GMT+09:00) Subject: Re: Kubernetes stuck in the starting state You should run these commands in the control node which has name &qu

Re: Kubernetes stuck in the starting state

2023-03-14 Thread Wei ZHOU
You should run these commands in the control node which has name "-control-xxx" -Wei On Tue, 14 Mar 2023 at 15:01, Sanjay Kumar wrote: > Hi Wei, > > Thanks for quick dig the issue. is there any way to get fix the dashboard > of cluster is showing in alerts state? > >

Re: Kubernetes stuck in the starting state

2023-03-14 Thread Sanjay Kumar
Hi Wei, Thanks for quick dig the issue. is there any way to get fix the dashboard of cluster is showing in alerts state? cloud@k8s-test-cluster-node-186debc6be7:~$ /opt/bin/kubectl get nodes The connection to the server localhost:8080 was refused - did you specify the right host or port?

Re: Kubernetes stuck in the starting state

2023-03-14 Thread Wei ZHOU
Hi, You can do some checks in the control node. for example sudo /opt/bin/kubectl get nodes sudo /opt/bin/kubectl get pods -A sudo /opt/bin/kubectl describe pod kubernetes-dashboard-- -n kubernetes-dashboard I have no problem with creating cks clusters. -Wei On Tue, 14 Mar 2023 at

Re: Kubernetes stuck in the starting state

2023-03-14 Thread Sanjay Kumar
Hi Wei, I am able to do ssh but cluster is showing alerts state. root@CS01:~# ssh -p -i /var/lib/cloudstack/management/.ssh/id_rsa cloud@103.192.198.23 Linux k8s-test-cluster-control-186debc31f4 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 The programs included with the

Re: Kubernetes stuck in the starting state

2023-03-14 Thread Wei ZHOU
Hi, You can ssh into the cks control node from the cloudstack management server. ssh -p -i cloud@ Here is an example: # ssh -p -i /var/lib/cloudstack/management/.ssh/id_rsa cloud@10.0.52.195 The path of id_rsa is different on the ubuntu/rhel management servers. You can also ssh

Re: Kubernetes stuck in the starting state

2023-03-14 Thread Sanjay Kumar
Hi Wei, Could you please help me out on this? How could we access the console node or any link that could be help for us. On Tue, Mar 14, 2023 at 2:53 PM Wei ZHOU wrote: > It looks like the K8s API server is up, but the dashboard is not. > > Can you log into the console node (from the

Re: Kubernetes stuck in the starting state

2023-03-14 Thread Wei ZHOU
It looks like the K8s API server is up, but the dashboard is not. Can you log into the console node (from the cloudstack management server) and check the status? -Wei On Tue, 14 Mar 2023 at 09:24, Sanjay Kumar wrote: > Hi Wei, > > Thank you so much for your prompt response! > > Now the

Re: Kubernetes stuck in the starting state

2023-03-14 Thread Sanjay Kumar
Hi Wei, Thank you so much for your prompt response! Now the running kubernetes cluster is showing in alerts state after 1 hours. cloudstack version: 4.17.2 kubernetes version : Kubernetes 1.23.3 network details (services, rules, etc) : Network name (k8s-test-cluster-network) vm details

Re: Kubernetes stuck in the starting state

2023-03-14 Thread Wei ZHOU
Hi Sanjay, To be clear, can you share the details like below ? cloudstack version kubernetes version network details (services, rules, etc) vm details (template, offering, etc) management logs agent logs anything else you can share. -Wei On Tue, 14 Mar 2023 at 08:26, Sanjay Kumar wrote: > Hi

Re: Kubernetes stuck in the starting state

2023-03-14 Thread Sanjay Kumar
Hi Wei, Thanks for the quick response! We have checked the event as well and VM's, LB, Firewall Rules have been created properly but the cluster still showing starting state. we are attaching the screenshot for the same. On Tue, Mar 14, 2023 at 12:48 PM Wei ZHOU wrote: > HI, > > Can you give

Re: Kubernetes stuck in the starting state

2023-03-14 Thread Wei ZHOU
HI, Can you give more details ? -Wei On Tue, 14 Mar 2023 at 07:20, Sanjay Kumar wrote: > Hello All > > Kubernetes cluster is stucked in the 'Starting' state, even though VM's, > LB, Firewall Rules are been created properly. > Have any one faced such issue? > > [image: image.png] > > Any help

Kubernetes stuck in the starting state

2023-03-14 Thread Sanjay Kumar
Hello All Kubernetes cluster is stucked in the 'Starting' state, even though VM's, LB, Firewall Rules are been created properly. Have any one faced such issue? [image: image.png] Any help would be really appreciated. Thank you! Regards, Sanjay Kumar