Kubernetes 1.8 with TLS&RBAC 配置 kubernetes system config

原创 Jeff Tang  2018-08-20 16:54  阅读 143 次 次

# 配置 kubernetes system config  [k8s-m1,  k8s-m2,  k8s-m3,  k8s-n1,  k8s-n2,  k8s-n3  上执行]

cat > /etc/kubernetes/config <<EOF
###
# kubernetes system config
#
# The following values are used to configure various aspects of all
# kubernetes services, including
#
#   kube-apiserver.service
#   kube-controller-manager.service
#   kube-scheduler.service
#   kubelet.service
#   kube-proxy.service
# logging to stderr means we get it in the systemd journal
KUBE_LOGTOSTDERR="--logtostderr=true"
# journal message level, 0 is debug
KUBE_LOG_LEVEL="--v=2"
# Should this cluster be allowed to run privileged docker containers
KUBE_ALLOW_PRIV="--allow-privileged=true"
# How the controller-manager, scheduler, and proxy find the apiserver
KUBE_MASTER="--master=https://10.0.3.230:6443"
EOF

 

 

本文地址:https://www.easylinux.cn/archives/634
版权声明:本文为原创文章,版权归 Jeff Tang 所有,欢迎分享本文,转载请保留出处!

发表评论


表情