Difference between revisions of "Kubectl proxy"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
[[kubectl]] proxy
+
:<code>[[kubectl proxy --help]]</code>
 +
:<code>[[kubectl]] [[proxy]]</code>
 +
:<code>[[kube-proxy --oom-score-adj]]</code>
 +
 
 
* https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/
 
* https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/
 
   
 
   
Line 9: Line 12:
 
  error: listen tcp 127.0.0.1:8001: bind: address already in use
 
  error: listen tcp 127.0.0.1:8001: bind: address already in use
  
* <code>[[kubectl proxy --help]]</code>
 
  
 
  To connect to [[Kubernetes dashboard]] connect to:
 
  To connect to [[Kubernetes dashboard]] connect to:
Line 15: Line 17:
  
 
  [[http localhost 8001]]
 
  [[http localhost 8001]]
 +
 +
[[kubectl]] proxy --address='0.0.0.0' --accept-hosts='^*$
 +
kubectl proxy [[--api-prefix]]=/
  
 
== Related ==
 
== Related ==
Line 20: Line 25:
 
* <code>[[kubectl get endpoints]]</code>
 
* <code>[[kubectl get endpoints]]</code>
 
* <code>[[kube-proxy]]</code>
 
* <code>[[kube-proxy]]</code>
 +
* [[Kubernetes networking]]
  
 
== Related terms ==
 
== Related terms ==
Line 26: Line 32:
  
 
== See also ==
 
== See also ==
 +
* {{kubectl port-forward}}
 
* {{kubectl proxy}}
 
* {{kubectl proxy}}
* {{kubectl}}
+
* {{Kubernetes networking}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 14:44, 12 September 2024

Advertising: