码迷,mamicode.com
首页 > Web开发 > 详细

kubelet 安装kubernetes

时间:2018-07-26 16:41:28      阅读:340      评论:0      收藏:0      [点我收藏+]

标签:baseline   led   back   round   dex   ott   margin   conf   tar   

#vim /etc/docker/daemon.json

{
  "exec-opts": ["native.cgroupdriver=cgroupfs"]

}

#systemctl enable docker && systemctl start docker

#/etc/yum.repos.d/kubernetes.repo

[kubernetes]

name=Kubernetes

baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64

enabled=1

gpgcheck=1

repo_gpgcheck=1

gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg


#setenforce 0

# yum install -y kubelet kubeadm kubectl ebtables

# systemctl enable kubelet && systemctl start kubelet

#vim /etc/sysctl.d/k8s.conf

net.bridge.bridge-nf-call-ip6tables = 1

net.bridge.bridge-nf-call-iptables = 1









kubelet 安装kubernetes

标签:baseline   led   back   round   dex   ott   margin   conf   tar   

原文地址:http://blog.51cto.com/xudate/2150601

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!