Kubernetes学习笔记---安装
Kubernetes安装环境 Centos7.1系统的机器3台 Master:192.168.0.120 Nodes:192.168.0.106, 192.168.0.107 ===== Master ===== 1 在Master上安装kubernetes etcd flannel yum install kubernetes etcd flannel -y 2 修改配置文件/etc/kubernetes/controller-manager #指定key文件,key文件可以通过命令生成:openssl genrsa -out /etc/kubernetes/service.key 2048 KUBE_CONTROLLER_MANAGER_ARGS=" --service_account_private_key_file=/etc/kubernetes/service.key " 3 修改配置文件/etc/kubernetes/apiserver # The address on the local server to listen to. 设为全部监听 KUBE_API_ADDRESS=" --address=0.0.0.0 " # Comma separated list of nodes in the etcd cluster . 指定etcd节点的地址 KUBE_ETCD