Does Kube-API Server Allow Requests on Port 8080?
Problem
- Does Platform9 Managed Kubernetes Kube-API server allows request on port 8080?
Environment
- Platform9 Managed Kubernetes - All Versions
Answer
- There are 2 ports on which a Kubernetes Kube-API server can allow requests, localhost port
8080
and Secure port443
. - Platform9 Managed Kubernetes Kube-API server allows request only on the secure port
443
.
x
$ kubectl describe po k8s-master-10.28.228.30 -n kube-system
kube-apiserver:
Container ID: docker://b25814f93402305a5edf6390814fab3e09f082340eed78b6225aca149e3d4967
Image: k8s.gcr.io/kube-apiserver:v1.20.5
Image ID: docker-pullable://k8s.gcr.io/kube-apiserver@sha256:e2ca052cbde8532d4c2e613a7fbb3145a5ecbea1bd47ac243877815ed80abb5a
Port: <none>
Host Port: <none>
Command:
kube-apiserver
--allow-privileged=true
--anonymous-auth=false
--insecure-port=0
--secure-port=443
Additional Information
For additional information regarding Kube-API server ports please refer to the article Controlling Access to the Kubernetes API.
Was this page helpful?