<!-- Thanks for filing an issue! Before submitting, please fill in the following information. --> <!--Required Information--> **This is a...** <!-- choose one by changing [ ] to [x] --> - [ ] Feature Request - [x] Bug Report **Problem:** The line in http://kubernetes.io/docs/user-guide/accessing-the-cluster/#accessing-the-api-from-a-pod about `NewInCluster` is (a) out of date and (b) pointing to a broken link. **Proposed Solution:** The link should be https://github.com/kubernetes/client-go/blob/master/examples/in-cluster/main.go The text should talk about `InClusterConfig` and `NewForConfig` **Page to Update:** http://kubernetes.io/docs/user-guide/accessing-the-cluster <!--Optional Information (remove the comment tags around information you would like to include)--> <!--Kubernetes Version:--> <!--Additional Information:-->
This is a...
Problem:
The line in http://kubernetes.io/docs/user-guide/accessing-the-cluster/#accessing-the-api-from-a-pod about
NewInClusteris (a) out of date and (b) pointing to a broken link.Proposed Solution:
The link should be https://github.com/kubernetes/client-go/blob/master/examples/in-cluster/main.go
The text should talk about
InClusterConfigandNewForConfigPage to Update:
http://kubernetes.io/docs/user-guide/accessing-the-cluster