--serviceaccount=kube-system:dashboard-admin [root@k8s-master ~]# kubectl describe secrets -n kube-system $(kubectl -n kube-system get secret | awk '/dashboard-admin/{print $1}') Name: dashboard-admin-token-zbn9f Namespace: kube-system Labels: <none> Annotations: kubernetes.io/service-...
1 apiVersion: extensions/v1beta1 2 kind: Deployment 3 metadata: 4 # Keep the name in sync with image version and 5 # gce/coreos/kube-manifests/addons/dashboard counterparts 6 name: kubernetes-dashboard-latest 7 namespace: kube-system 8 spec: 9 replicas: 1 10 template: 11 metadata: ...
yum install epel-release -y [root@xuegod63 network-scripts]# yum install python-devel libffi-devel gcc openssl-devel git python-pip -y [root@xuegod63 ~]# pip install -U pip #升级一下pip,不然后,后期安装会报警告 [root@xuegod63 ~]# yum install -y yum-utils device-mapper-persistent-data...
关闭防火墙,关闭selinu,设置hosts安装ntpdate并创建计划任务的方法请参照Master节点前面部分1.在Node节点上安装kubernetes-nodeflannel,kubernetes-node默认会自动安装docker1.13版本命令:yum–yinstallkubernetes-nodeflannel2.查看kubernetes-nodeflanneldocker都安装哪个版 ...
yum安装openstack安装前准备:Cpu:开启虚拟化(单台部署,改为4核)内存:8G磁盘空间》40G##测试用了28G网络:1个千兆网卡##虚拟机中,加一个网卡,改为桥接安装依赖环境(可参照kvm)Yum-yinstallgcc*libxml2-devellibmlx4##即(libibverbs)同步时间Ntpdatepool.ntp.org关闭防火墙,安全机制,NetworkManage ...
yum安装openstack安装前准备:Cpu:开启虚拟化(单台部署,改为4核)内存:8G磁盘空间》40G##测试用了28G网络:1个千兆网卡##虚拟机中,加一个网卡,改为桥接安装依赖环境(可参照kvm)Yum-yinstallgcc*libxml2-devellibmlx4##即(libibverbs)同步时间Ntpdatepool.ntp.org关闭防火墙,安全机制,NetworkManage ...
echo "*/3 * * * * /usr/sbin/ntpdate ntp6.aliyun.com &> /dev/null" > /tmp/crontab crontab /tmp/crontab #更换阿里源 mv /etc/yum.repos.d/CentOS-Base.repo{,.bak} wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo ...
# yum install -y ntpdate # ntpdate time.windows.com 2.2.4 docker 安装 $ wget https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo -O /etc/yum.repos.d/docker-ce.repo $ yum -y install docker-ce-18.06.1.ce-3.el7 ...
yum -y install docker-ce #配置镜像加速器 mkdir -p /etc/docker cat > /etc/docker/daemon.json <<EOF { "registry-mirrors": ["https://registry.docker-cn.com","http://hub-mirror.c.163.com","https://docker.mirrors.ustc.edu.cn"] ...
# yum缓存的rpm包拷贝到/www/share/centos7_rpm/find/www/share/yum-name *.rpm |sed-r's#.*#mv & /www/share/centos7_rpm/\n#'|bash # #下载没有安装过的包 #yuminstall--downloadonly --downloaddir=/www/share/centos7_rpm/ -y 包名称 ...