Paste the output of the: 

get services -o wide and 

curl hostip:NodePort 

commands.

> On Sep 15, 2017, at 10:52 PM, Parth Gandhi <parth6...@gmail.com> wrote:
> 
> Hi Jay,
> I did try exposing the NodePort and accessing it using the 
> http://hostip:NodePort. But still not able to access it.
> 
>> On 16-Sep-2017 12:57 AM, "Jay Vyas" <jayunit100.apa...@gmail.com> wrote:
>> Hi parth.  
>> 
>> Can't help with rancher but in general, in this forum.
>> 
>> But this is a generic confusion some folks have.
>> 
>> End users don't access things through the apiserver proxy endpoint, instead 
>> You need to expose the services using kubectl expose on the service and wait 
>> for the external ip to come up (kubectl get services -o wide).
>> 
>> In GCE or Kops / Kubeadm you'll get this glue for free.
>> In other clouds the loadbalancer will be done in a different way.
>> Worst case scenario use type NodePort and access it anywhere on your cluster.
>> 
>>> On Sep 15, 2017, at 5:56 AM, Parth Gandhi <parth6...@gmail.com> wrote:
>>> 
>>> Hi Brandon,
>>> 
>>> I did. However i was asked to check with the kubernetes team on this. :(
>>> 
>>>> On Saturday, 9 September 2017 04:22:21 UTC+5:30, Brandon Philips wrote:
>>>> Hello Parth-
>>>> 
>>>> This isn't a general Kuberentes question so you might get help on the 
>>>> Rancher forums: https://forums.rancher.com/
>>>> 
>>>> Brandon
>>>> 
>>>>> On Fri, Sep 8, 2017 at 6:21 AM Parth Gandhi <part...@gmail.com> wrote:
>>>>> I have just installed 3 node kubernetes cluster using rancher. I am 
>>>>> trying to access the grafana dashboard with the url that i get from 
>>>>> cluster info output. However i am getting unathorized error.
>>>>> 
>>>>> 
>>>>> 
>>>>> monitoring-grafana is running at 
>>>>> https://mypublicIP:8080/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy
>>>>> 
>>>>> 
>>>>> 
>>>>> Thanks.
>>>>> 
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google Groups 
>>>>> "Kubernetes user discussion and Q&A" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>>>> email to kubernetes-use...@googlegroups.com.
>>>>> To post to this group, send email to kubernet...@googlegroups.com.
>>>>> Visit this group at https://groups.google.com/group/kubernetes-users.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>> 
>>>> -- 
>>>> CTO, CoreOS, Inc
>>>> Tectonic is enterprise Kubernetes
>>>> https://coreos.com/tectonic
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Kubernetes user discussion and Q&A" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to kubernetes-users+unsubscr...@googlegroups.com.
>>> To post to this group, send email to kubernetes-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/kubernetes-users.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Kubernetes user discussion and Q&A" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/kubernetes-users/Ier4nOOy5n8/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> kubernetes-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to kubernetes-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/kubernetes-users.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Kubernetes user discussion and Q&A" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to kubernetes-users+unsubscr...@googlegroups.com.
> To post to this group, send email to kubernetes-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/kubernetes-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to