Difference between revisions of "Kubectl proxy"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(32 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lowercase}} |
+ | :<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/ | ||
+ | |||
+ | [[kubectl]] proxy | ||
+ | Starting to serve on 127.0.0.1:[[8001]] | ||
+ | |||
+ | kubectl proxy | ||
+ | error: listen tcp 127.0.0.1:8001: bind: address already in use | ||
+ | |||
+ | |||
+ | To connect to [[Kubernetes dashboard]] connect to: | ||
+ | http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ | ||
+ | |||
+ | [[http localhost 8001]] | ||
+ | |||
+ | [[kubectl]] proxy --address='0.0.0.0' --accept-hosts='^*$ | ||
+ | kubectl proxy [[--api-prefix]]=/ | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kubectl proxy --help]]</code> | ||
+ | * <code>[[kubectl get endpoints]]</code> | ||
+ | * <code>[[kube-proxy]]</code> | ||
+ | * [[Kubernetes networking]] | ||
== Related terms == | == Related terms == | ||
* [[Kubernetes dashboard]] | * [[Kubernetes dashboard]] | ||
+ | * <code>[[kubectl port-forward]]</code> | ||
== See also == | == See also == | ||
− | * {{kubectl}} | + | * {{kubectl port-forward}} |
+ | * {{kubectl proxy}} | ||
+ | * {{Kubernetes networking}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 14:44, 12 September 2024
kubectl proxy Starting to serve on 127.0.0.1:8001
kubectl proxy error: listen tcp 127.0.0.1:8001: bind: address already in use
To connect to Kubernetes dashboard connect to: http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/
http localhost 8001
kubectl proxy --address='0.0.0.0' --accept-hosts='^*$ kubectl proxy --api-prefix=/
Related[edit]
Related terms[edit]
See also[edit]
kubectl port-forward [ --help ]
- kube-proxy:
kubectl proxy
,kubectl proxy --help
, 8001, Kubernetes API, https localhost 8001,kubectl port-forward
- Kubernetes networking: network policies, Network Policy Providers, CNI, Calico, flannel, Service mesh, Istio,
kube-proxy, coredns, AWS VPC CNI: vpc-cni
, Kubernetes: Ingress controllers, IPVS, ServiceTypes:LoadBalancer, ClusterIP, NodePort, ExternalName
, Endpoints, EndpointSlices, Kubernetes DNS,svc.cluster.local
, Weave Net
Advertising: