存在的记忆

k8s 平台部署 - Kubernetes+Etcd 集群

环境

系统: centos7
docker:
go:
etcd:
k8s:

master

etcd
kube-apiserver
kube-controller-manager
kube-scheduler
kube-proxy
kubelet
docker
flannel
matser:192.168.0.10

node

kube-proxy
kubelet
docker
flannel
node1:192.168.0.11 node2:192.168.0.12

docker 安装

yum install -y yum-utils device-mapper-persistent-data lvm2
#安装依赖包

yum-config-manager --add-repo \
 https://download.docker.com/linux/centos/docker-ce.repo

etcd 集群

tar zxvf etcd-*tar.gz

mv  etcd-*/{etcd,etcdctl}  /usr/bin/
chown root:root  /usr/bin/{etcd,etcdctl}

Flannel 网络

tar zxvf flannel-*tar.gz

chown root:root flanneld mk-docker-opts.sh
mv flanneld mk-docker-opts.sh /usr/bin

k8s_master
k8s_node

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »