mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 22:53:22 +00:00
Configure the kubelet to bind a simple healthz server to a localhost
port for monitoring by monit. This is in preparation for the standard kubelet port to switch to SSL only (and eventually to only accepting connections on the SSL port that present a proper client SSL cert). Also standardize the formatting of the monit config files a bit.
This commit is contained in:
@@ -17,7 +17,13 @@ limitations under the License.
|
||||
package ports
|
||||
|
||||
const (
|
||||
// KubeletPort is the default port for the kubelet status server on each host machine.
|
||||
// KubeletStatusPort is the default port for the kubelet healthz server.
|
||||
// May be overridden by a flag at startup.
|
||||
KubeletStatusPort = 10248
|
||||
// ProxyPort is the default port for the proxy healthz server.
|
||||
// May be overriden by a flag at startup.
|
||||
ProxyStatusPort = 10249
|
||||
// KubeletPort is the default port for the kubelet server on each host machine.
|
||||
// May be overridden by a flag at startup.
|
||||
KubeletPort = 10250
|
||||
// SchedulerPort is the default port for the scheduler status server.
|
||||
@@ -26,7 +32,4 @@ const (
|
||||
// ControllerManagerPort is the default port for the controller manager status server.
|
||||
// May be overridden by a flag at startup.
|
||||
ControllerManagerPort = 10252
|
||||
// ProxyPort is the default port for the proxy status server.
|
||||
// May be overriden by a flag at startup.
|
||||
ProxyPort = 10249
|
||||
)
|
||||
|
Reference in New Issue
Block a user