How to Configure 10250 Port
The 10250 port runs the main node agent API in a Kubernetes cluster. You set it up safely by locking down network paths and requiring strict client certs. Every worker node uses this network port to take commands from the control plane. The control plane sends pod specs, reads node health, and opens container shells here. If you leave this port open to the public web, attackers can run code on nodes. Good setup rules keep this path safe while letting your cluster work well. How the 10250 port
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
The 10250 port runs the main node agent API in a Kubernetes cluster. You set it up safely by locking down network paths and requiring strict client certs.
Every worker node uses this network port to take commands from the control plane. The control plane sends pod specs, reads node health, and opens container shells here. If you leave this port open to the public web, attackers can run code on nodes. Good setup rules keep this path safe while letting your cluster work well.
How the 10250 port setup works
The node agent listens on the 10250 port over an encrypted network link. By default, the control plane talks to this port to manage every running pod. Monitoring tools also read metrics from this port to track CPU and memory use.
Two main settings keep this port safe from bad actors on the network. First, you must turn off guest requests so unknown callers get rejected right away. Second, you must turn on webhook permissions so the node checks with the main API server. The node asks the central server if the caller has a valid role before running commands.
Network rules add another strong layer of defense around your worker nodes. You should set up your cloud firewall to block outside traffic to the 10250 port. Only the control plane and trusted metric collectors need a network path to this port. Regular user laptops and public apps should never talk to the node port directly.
Network checks and TLS cert rules
Every request to the node agent must use a valid TLS cert. You should set up automatic cert rotation on all nodes in your cluster. When certs rotate on a set schedule, stolen keys stop working after a short time. The cluster authority signs new keys and drops old ones without stopping your apps.
You should also bind the node agent to private network interfaces only. If a server has both a public IP and a private IP, pick the private IP. This step stops outside scanners from finding the port on the open web.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Auditing node sessions and static rule limits
You can test your setup by sending a test request without a client cert. A safe node will block the request and return a clear permission error right away. You should also check your cloud network logs to find blocked packets on this port. Frequent blocked hits inside your private network often point to a broken app or an attacker.
Static node settings do a great job of blocking strangers on the network. Yet static rules leave big blind spots once a user logs in with a high role. When an engineer runs a shell command in a pod, the API server calls this port. Standard node logs show that a session started, but they miss the actual commands inside.
Shared admin roles make it even harder to track who ran a bad command. If five engineers share one cluster role, the node logs look the same for all five. Static certs also stay valid until they expire, even after an incident finishes. Teams also worry about sensitive data like emails or card numbers showing up in pod outputs. To fix this, teams add controls that check each command and mask sensitive fields in results.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
What service listens on the 10250 port by default?
The Kubernetes kubelet agent listens on the 10250 port on every worker node. It takes orders from the control plane to start, stop, and check containers.
How does the 10250 port differ from the configured port?
The 10250 port uses TLS encryption and checks client certs for full read and write actions. The configured port is an old unencrypted read-only port that safe clusters turn off.
Should developers send traffic to the 10250 port from their laptops?
No, user laptops should never talk straight to worker nodes on the 10250 port. Developers should talk to the central API server, which forwards valid requests to the node.
Related guides
In this post