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 [[email protected]]
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 
<[email protected]<mailto:[email protected]>> 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 
<[email protected]<mailto:[email protected]>> 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



Reply via email to