美文网首页云原生
microk8s(七)k8s的预定义端口

microk8s(七)k8s的预定义端口

作者: 印随2018 | 来源:发表于2019-07-22 10:28 被阅读1次

kubernetes: release-1.14

参见源码:_output/local/go/src/k8s.io/kubernetes/pkg/master/ports/ports.go

const (
        // ProxyStatusPort is the default port for the proxy metrics server.
        // May be overridden 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
        // InsecureSchedulerPort is the default port for the scheduler status server.
        // May be overridden by a flag at startup.
        // Deprecated: use the secure KubeSchedulerPort instead.
        InsecureSchedulerPort = 10251
        // InsecureKubeControllerManagerPort is the default port for the controller manager status server.
        // May be overridden by a flag at startup.
        // Deprecated: use the secure KubeControllerManagerPort instead.
        InsecureKubeControllerManagerPort = 10252
        // InsecureCloudControllerManagerPort is the default port for the cloud controller manager server.
        // This value may be overridden by a flag at startup.
        // Deprecated: use the secure CloudControllerManagerPort instead.
        InsecureCloudControllerManagerPort = 10253
        // KubeletReadOnlyPort exposes basic read-only services from the kubelet.
        // May be overridden by a flag at startup.
        // This is necessary for heapster to collect monitoring stats from the kubelet
        // until heapster can transition to using the SSL endpoint.
        // TODO(roberthbailey): Remove this once we have a better solution for heapster.
        KubeletReadOnlyPort = 10255
        // ProxyHealthzPort is the default port for the proxy healthz server.
        // May be overridden by a flag at startup.
        ProxyHealthzPort = 10256
        // KubeControllerManagerPort is the default port for the controller manager status server.
        // May be overridden by a flag at startup.
        KubeControllerManagerPort = 10257
        // CloudControllerManagerPort is the default port for the cloud controller manager server.
        // This value may be overridden by a flag at startup.
        CloudControllerManagerPort = 10258

        // KubeSchedulerPort is the default port for the scheduler status server.
        // May be overridden by a flag at startup.
        KubeSchedulerPort = 10259
)

相关文章

  • microk8s(七)k8s的预定义端口

    kubernetes: release-1.14 参见源码:_output/local/go/src/k8s.io...

  • k8s 运行elasticsearch

    k8s 运行elasticsearch 修改host post 镜像 端口 内部端口外部端口30920309203...

  • microk8s 安装

    microk8s 是ubuntu 生态里的一个可以单机使用的k8s版本,非常适合学习。这里记录一下,microk8...

  • kubernetes-service发布

    k8s发布端口 镜像中程序端口为8088 启动后需要映射到公网 =========================...

  • 第二章:K8S的资源管理

    K8S的资源管理 k8s编排资源介绍 回顾:Master:- APIServer: 6443端口- 用户认证: 双...

  • microk8s(二)深入

    本文讨论的内容需要先阅读《microk8s(一)安装》 上一篇内容中,使用下面这条命令,讲Pod的开发端口映射到本...

  • Microk8s采坑记录

    Microk8s采坑记录 In order to install MicroK8s make sureport 8...

  • k8s 修改端口取值范围

    k8s 修改端口取值范围 vi /etc/kubernetes/manifests/kube-apiserver....

  • microk8s部署springboot微服务系列

    使用microk8s的初衷在于学习k8s上的相关部署,探讨怎么能够将已经部署在阿里云虚拟机环境的微服务迁入到k8s...

  • K8S原理(重要)

    1、用K8S部署Nginx 2、K8S 核心架构原理 3、常用命令 4、k8s中各端口说明 5、用yaml创建de...

网友评论

    本文标题:microk8s(七)k8s的预定义端口

    本文链接:https://www.haomeiwen.com/subject/ofdilctx.html