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 <
[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]>
> 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
>>
>>
>>
>>

Reply via email to