You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Modak, Prashant Kumar" <pr...@iu.edu> on 2018/12/04 08:51:25 UTC

issue with accessing dashboard of kubernetes in jetstream centos7 environment

Hi Everyone,

I am trying to access kubernetes dashboard in the CentOS Jetstream environment.

I have successfully installed kubernetes in jetstream environment with one master node and one slave pod,


[cid:55319844-963a-4fb0-a16e-335dd1968a0c]

When I am running-- "kubectl proxy" the service is running properly


[cid:6f18b775-dcf0-400e-8cf7-b5e559edcfbc]


cluster-info:

[cid:a113c776-1e22-44b8-8e90-a50c20a4e438]


But I can not access the dashboard with the static ip.

[cid:dba82947-90e2-4d98-b2f5-4ee7f2dc849f]


Let me know if further details are needed to recreate the issue.


Please provide any help. Will be very thankful.?


Thanks and Regards,

Prashant



Re: issue with accessing dashboard of kubernetes in jetstream centos7 environment

Posted by naveenkumarmarri <na...@gmail.com>.
Hi Prashanth,

I followed the medium post[1] to set up kubernetes and I was able to setup
on jetstream ubuntu instance.
May be it will be helpful if you are setting up from scratch.

[1] https://medium.com/@Grigorkh/install-kubernetes-on-ubuntu-1ac2ef522a36

Regards,
Naveen

On Wed, Dec 5, 2018 at 5:23 PM Modak, Prashant Kumar <pr...@iu.edu>
wrote:

> Hi,
> Since yesterday, I am struggling with this strange issue: node "kmaster"
> not found.
> [kubeissue_1.jpg]
>
> I tried with multiple combinations of installing kubernetes on jetstream
> instance.
> 1. using calico in ubuntu
> 2. using flannel in centos
> and few other ways
>
> I looked it online and found many people have the same issue.
> https://github.com/kubernetes/kubernetes/issues/61277
> [kubeissue_2.jpg]
>
> If someone ran into similar issue, then please let me know what steps are
> needed to be taken to resolve it.
>
> Thanks and Regards,
> Prashant
>
> ________________________________________
> From: Modak, Prashant Kumar
> Sent: Tuesday, December 4, 2018 1:34 PM
> To: dev@airavata.apache.org
> Subject: FW: issue with accessing dashboard of kubernetes in jetstream
> centos7 environment
>
> Hi Pankaj/Naveen,
> The below solution is not working, may be because I have done some RBAC
> configuration changes in kube api-server yaml file, which messed up
> the kubernetes installation. So need to do scratch build again. Will
> update you soon on this.
>
> Thanks.
> Prashant
> ________________________________________
> From: Pankaj Saha [psaha4@binghamton.edu]
> Sent: Tuesday, December 4, 2018 11:40 AM
> To: dev
> Subject: Re: issue with accessing dashboard of kubernetes in jetstream
> centos7 environment
>
> did you use the advertise-address while initializing the kubeadm?
>
> like:
> kubeadm init --apiserver-advertise-address=<public ip address>
> --pod-network-cidr=<10.20.0.0/16<http://10.20.0.0/16>>
>
> On Tue, Dec 4, 2018 at 10:09 AM naveenkumarmarri <
> naveenkumarmarri6014@gmail.com<ma...@gmail.com>>
> wrote:
> Hi Prashanth,
>
> Can you try running the following command to start the kubernetes proxy?
>
> kubectl proxy --address 0.0.0.0 --accept-hosts '.*'
>
> You should be able to access the API page on http://
> <static-master-ip>:<port>/
> and dashboard on http://
> <static-master-ip>:<port>/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/overview?namespace=default
>
> Let me know if you face any issues.
>
> Regards,
> Naveen
>
> On Tue, Dec 4, 2018 at 3:51 AM Modak, Prashant Kumar <prkumoda@iu.edu
> <ma...@iu.edu>> wrote:
>
> Hi Everyone,
>
> I am trying to access kubernetes dashboard in the CentOS Jetstream
> environment.
>
> I have successfully installed kubernetes in jetstream environment with one
> master node and one slave pod,
>
>
> [X]
>
> When I am running-- "kubectl proxy" the service is running properly
>
>
> [X]
>
>
> cluster-info:
>
> [X]
>
>
> But I can not access the dashboard with the static ip.
>
> [X]
>
>
> Let me know if further details are needed to recreate the issue.
>
>
> Please provide any help. Will be very thankful.​
>
>
> Thanks and Regards,
>
> Prashant
>
>
>
>

Re: issue with accessing dashboard of kubernetes in jetstream centos7 environment

Posted by DImuthu Upeksha <di...@gmail.com>.
Hi,

If you guys have more Kubernetes specific issues, post them in
stackoverflow under kubernetes tag [1].

[1] https://stackoverflow.com/questions/tagged/kubernetes

Dimuthu

On Thu, Dec 6, 2018 at 6:22 AM Kotabagi, Karan <kk...@iu.edu> wrote:

> ​
> Hi Prashant,
>
> As discussed, I was able to set-up the kubernetes cluster on the
> openstack using the Kubenow, and the documentation also seems promising.
>
> https://kubenow.readthedocs.io/en/stable
>
> Regards
> Karan
>
> ________________________________________
> From: Modak, Prashant Kumar <pr...@iu.edu>
> Sent: Wednesday, December 5, 2018 5:23 PM
> To: dev@airavata.apache.org
> Subject: Re: issue with accessing dashboard of kubernetes in jetstream
> centos7 environment
>
> Hi,
> Since yesterday, I am struggling with this strange issue: node "kmaster"
> not found.
> [kubeissue_1.jpg]
>
> I tried with multiple combinations of installing kubernetes on jetstream
> instance.
> 1. using calico in ubuntu
> 2. using flannel in centos
> and few other ways
>
> I looked it online and found many people have the same issue.
> https://github.com/kubernetes/kubernetes/issues/61277
> [kubeissue_2.jpg]
>
> If someone ran into similar issue, then please let me know what steps are
> needed to be taken to resolve it.
>
> Thanks and Regards,
> Prashant
>
> ________________________________________
> From: Modak, Prashant Kumar
> Sent: Tuesday, December 4, 2018 1:34 PM
> To: dev@airavata.apache.org
> Subject: FW: issue with accessing dashboard of kubernetes in jetstream
> centos7 environment
>
> Hi Pankaj/Naveen,
> The below solution is not working, may be because I have done some RBAC
> configuration changes in kube api-server yaml file, which messed up
> the kubernetes installation. So need to do scratch build again. Will
> update you soon on this.
>
> Thanks.
> Prashant
> ________________________________________
> From: Pankaj Saha [psaha4@binghamton.edu]
> Sent: Tuesday, December 4, 2018 11:40 AM
> To: dev
> Subject: Re: issue with accessing dashboard of kubernetes in jetstream
> centos7 environment
>
> did you use the advertise-address while initializing the kubeadm?
>
> like:
> kubeadm init --apiserver-advertise-address=<public ip address>
> --pod-network-cidr=<10.20.0.0/16<http://10.20.0.0/16>>;
>
> On Tue, Dec 4, 2018 at 10:09 AM naveenkumarmarri <
> naveenkumarmarri6014@gmail.com<ma...@gmail.com>>
> wrote:
> Hi Prashanth,
>
> Can you try running the following command to start the kubernetes proxy?
>
> kubectl proxy --address 0.0.0.0 --accept-hosts '.*'
>
> You should be able to access the API page on
> http://<static-master-ip>:<port>/
> and dashboard on
> http://<static-master-ip>:<port>/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/overview?namespace=default
>
> Let me know if you face any issues.
>
> Regards,
> Naveen
>
> On Tue, Dec 4, 2018 at 3:51 AM Modak, Prashant Kumar <prkumoda@iu.edu
> <ma...@iu.edu>> wrote:
>
> Hi Everyone,
>
> I am trying to access kubernetes dashboard in the CentOS Jetstream
> environment.
>
> I have successfully installed kubernetes in jetstream environment with one
> master node and one slave pod,
>
>
> [X]
>
> When I am running-- "kubectl proxy" the service is running properly
>
>
> [X]
>
>
> cluster-info:
>
> [X]
>
>
> But I can not access the dashboard with the static ip.
>
> [X]
>
>
> Let me know if further details are needed to recreate the issue.
>
>
> Please provide any help. Will be very thankful.​
>
>
> Thanks and Regards,
>
> Prashant
>
>
>

Re: issue with accessing dashboard of kubernetes in jetstream centos7 environment

Posted by "Kotabagi, Karan" <kk...@iu.edu>.
?

Hi Prashant,

As discussed, I was able to set-up the kubernetes cluster on the openstack using the Kubenow, and the documentation also seems promising.

https://kubenow.readthedocs.io/en/stable

Regards
Karan

________________________________________
From: Modak, Prashant Kumar <pr...@iu.edu>
Sent: Wednesday, December 5, 2018 5:23 PM
To: dev@airavata.apache.org
Subject: Re: issue with accessing dashboard of kubernetes in jetstream centos7 environment

Hi,
Since yesterday, I am struggling with this strange issue: node "kmaster" not found.
[kubeissue_1.jpg]

I tried with multiple combinations of installing kubernetes on jetstream instance.
1. using calico in ubuntu
2. using flannel in centos
and few other ways

I looked it online and found many people have the same issue.
https://github.com/kubernetes/kubernetes/issues/61277
[kubeissue_2.jpg]

If someone ran into similar issue, then please let me know what steps are needed to be taken to resolve it.

Thanks and Regards,
Prashant

________________________________________
From: Modak, Prashant Kumar
Sent: Tuesday, December 4, 2018 1:34 PM
To: dev@airavata.apache.org
Subject: FW: issue with accessing dashboard of kubernetes in jetstream centos7 environment

Hi Pankaj/Naveen,
The below solution is not working, may be because I have done some RBAC configuration changes in kube api-server yaml file, which messed up
the kubernetes installation. So need to do scratch build again. Will update you soon on this.

Thanks.
Prashant
________________________________________
From: Pankaj Saha [psaha4@binghamton.edu]
Sent: Tuesday, December 4, 2018 11:40 AM
To: dev
Subject: Re: issue with accessing dashboard of kubernetes in jetstream centos7 environment

did you use the advertise-address while initializing the kubeadm?

like:
kubeadm init --apiserver-advertise-address=<public ip address> --pod-network-cidr=<10.20.0.0/16<http://10.20.0.0/16>>;

On Tue, Dec 4, 2018 at 10:09 AM naveenkumarmarri <na...@gmail.com>> wrote:
Hi Prashanth,

Can you try running the following command to start the kubernetes proxy?

kubectl proxy --address 0.0.0.0 --accept-hosts '.*'

You should be able to access the API page on http://<static-master-ip>:<port>/
and dashboard on http://<static-master-ip>:<port>/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/overview?namespace=default

Let me know if you face any issues.

Regards,
Naveen

On Tue, Dec 4, 2018 at 3:51 AM Modak, Prashant Kumar <pr...@iu.edu>> wrote:

Hi Everyone,

I am trying to access kubernetes dashboard in the CentOS Jetstream environment.

I have successfully installed kubernetes in jetstream environment with one master node and one slave pod,


[X]

When I am running-- "kubectl proxy" the service is running properly


[X]


cluster-info:

[X]


But I can not access the dashboard with the static ip.

[X]


Let me know if further details are needed to recreate the issue.


Please provide any help. Will be very thankful.?


Thanks and Regards,

Prashant



Re: issue with accessing dashboard of kubernetes in jetstream centos7 environment

Posted by "Modak, Prashant Kumar" <pr...@iu.edu>.
Hi,
Since yesterday, I am struggling with this strange issue: node "kmaster" not found.
[kubeissue_1.jpg]

I tried with multiple combinations of installing kubernetes on jetstream instance.
1. using calico in ubuntu
2. using flannel in centos
and few other ways

I looked it online and found many people have the same issue.
https://github.com/kubernetes/kubernetes/issues/61277
[kubeissue_2.jpg]

If someone ran into similar issue, then please let me know what steps are needed to be taken to resolve it.

Thanks and Regards,
Prashant

________________________________________
From: Modak, Prashant Kumar
Sent: Tuesday, December 4, 2018 1:34 PM
To: dev@airavata.apache.org
Subject: FW: issue with accessing dashboard of kubernetes in jetstream centos7 environment

Hi Pankaj/Naveen,
The below solution is not working, may be because I have done some RBAC configuration changes in kube api-server yaml file, which messed up
the kubernetes installation. So need to do scratch build again. Will update you soon on this.

Thanks.
Prashant
________________________________________
From: Pankaj Saha [psaha4@binghamton.edu]
Sent: Tuesday, December 4, 2018 11:40 AM
To: dev
Subject: Re: issue with accessing dashboard of kubernetes in jetstream centos7 environment

did you use the advertise-address while initializing the kubeadm?

like:
kubeadm init --apiserver-advertise-address=<public ip address> --pod-network-cidr=<10.20.0.0/16<http://10.20.0.0/16>>

On Tue, Dec 4, 2018 at 10:09 AM naveenkumarmarri <na...@gmail.com>> wrote:
Hi Prashanth,

Can you try running the following command to start the kubernetes proxy?

kubectl proxy --address 0.0.0.0 --accept-hosts '.*'

You should be able to access the API page on http://<static-master-ip>:<port>/
and dashboard on http://<static-master-ip>:<port>/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/overview?namespace=default

Let me know if you face any issues.

Regards,
Naveen

On Tue, Dec 4, 2018 at 3:51 AM Modak, Prashant Kumar <pr...@iu.edu>> wrote:

Hi Everyone,

I am trying to access kubernetes dashboard in the CentOS Jetstream environment.

I have successfully installed kubernetes in jetstream environment with one master node and one slave pod,


[X]

When I am running-- "kubectl proxy" the service is running properly


[X]


cluster-info:

[X]


But I can not access the dashboard with the static ip.

[X]


Let me know if further details are needed to recreate the issue.


Please provide any help. Will be very thankful.​


Thanks and Regards,

Prashant




FW: issue with accessing dashboard of kubernetes in jetstream centos7 environment

Posted by "Modak, Prashant Kumar" <pr...@iu.edu>.
Hi Pankaj/Naveen,
The below solution is not working, may be because I have done some RBAC configuration changes in kube api-server yaml file, which messed up 
the kubernetes installation. So need to do scratch build again. Will update you soon on this.

Thanks.
Prashant
________________________________________
From: Pankaj Saha [psaha4@binghamton.edu]
Sent: Tuesday, December 4, 2018 11:40 AM
To: dev
Subject: Re: issue with accessing dashboard of kubernetes in jetstream centos7 environment

did you use the advertise-address while initializing the kubeadm?

like:
kubeadm init --apiserver-advertise-address=<public ip address> --pod-network-cidr=<10.20.0.0/16<http://10.20.0.0/16>>

On Tue, Dec 4, 2018 at 10:09 AM naveenkumarmarri <na...@gmail.com>> wrote:
Hi Prashanth,

Can you try running the following command to start the kubernetes proxy?

kubectl proxy --address 0.0.0.0 --accept-hosts '.*'

You should be able to access the API page on http://<static-master-ip>:<port>/
and dashboard on http://<static-master-ip>:<port>/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/overview?namespace=default

Let me know if you face any issues.

Regards,
Naveen

On Tue, Dec 4, 2018 at 3:51 AM Modak, Prashant Kumar <pr...@iu.edu>> wrote:

Hi Everyone,

I am trying to access kubernetes dashboard in the CentOS Jetstream environment.

I have successfully installed kubernetes in jetstream environment with one master node and one slave pod,


[X]

When I am running-- "kubectl proxy" the service is running properly


[X]


cluster-info:

[X]


But I can not access the dashboard with the static ip.

[X]


Let me know if further details are needed to recreate the issue.


Please provide any help. Will be very thankful.​


Thanks and Regards,

Prashant




Re: issue with accessing dashboard of kubernetes in jetstream centos7 environment

Posted by Pankaj Saha <ps...@binghamton.edu>.
did you use the advertise-address while initializing the kubeadm?

like:
kubeadm init --apiserver-advertise-address=<public ip address>
--pod-network-cidr=<10.20.0.0/16>

On Tue, Dec 4, 2018 at 10:09 AM naveenkumarmarri <
naveenkumarmarri6014@gmail.com> wrote:

> Hi Prashanth,
>
> Can you try running the following command to start the kubernetes proxy?
>
> kubectl proxy --address 0.0.0.0 --accept-hosts '.*'
>
> You should be able to access the API page on http://
> <static-master-ip>:<port>/
> and dashboard on http://
> <static-master-ip>:<port>/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/overview?namespace=default
>
> Let me know if you face any issues.
>
> Regards,
> Naveen
>
> On Tue, Dec 4, 2018 at 3:51 AM Modak, Prashant Kumar <pr...@iu.edu>
> wrote:
>
>> Hi Everyone,
>>
>> I am trying to access kubernetes dashboard in the CentOS Jetstream
>> environment.
>>
>> I have successfully installed kubernetes in jetstream environment with
>> one master node and one slave pod,
>>
>>
>>
>>
>> When I am running-- "*kubectl proxy*" the service is running properly
>>
>>
>>
>>
>> cluster-info:
>>
>>
>>
>> But I can not access the dashboard with the static ip.
>>
>>
>>
>> Let me know if further details are needed to recreate the issue.
>>
>>
>> Please provide any help. Will be very thankful.​
>>
>>
>> Thanks and Regards,
>>
>> Prashant
>>
>>
>>
>>

Re: issue with accessing dashboard of kubernetes in jetstream centos7 environment

Posted by naveenkumarmarri <na...@gmail.com>.
Hi Prashanth,

Can you try running the following command to start the kubernetes proxy?

kubectl proxy --address 0.0.0.0 --accept-hosts '.*'

You should be able to access the API page on http://
<static-master-ip>:<port>/
and dashboard on http://
<static-master-ip>:<port>/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/overview?namespace=default

Let me know if you face any issues.

Regards,
Naveen

On Tue, Dec 4, 2018 at 3:51 AM Modak, Prashant Kumar <pr...@iu.edu>
wrote:

> Hi Everyone,
>
> I am trying to access kubernetes dashboard in the CentOS Jetstream
> environment.
>
> I have successfully installed kubernetes in jetstream environment with one
> master node and one slave pod,
>
>
>
>
> When I am running-- "*kubectl proxy*" the service is running properly
>
>
>
>
> cluster-info:
>
>
>
> But I can not access the dashboard with the static ip.
>
>
>
> Let me know if further details are needed to recreate the issue.
>
>
> Please provide any help. Will be very thankful.​
>
>
> Thanks and Regards,
>
> Prashant
>
>
>
>