简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
**CentOs7.3的DHCP配置环境:虚拟机centos7.3、centos61. 配置静态IP地址vim /etc/sysconfig/network-scripts/ifcfg-ens332. 关闭防火墙,沙河,并重启网络服务systemctl stop firewalldsetenforce 0systemctl restart network3.挂载镜像mou...
containerd版本: v1.5.5生成并配置文件# kb01为harbor域名$ containerd config default > /etc/containerd/config.toml# containerd支持docker的证书文件模式$ mkdir /etc/containerd/certs.d/kb01.com -p# 将ca.crt、kb01.com.key、kb01.
$ cp /etc/kubernetes/admin.conf $HOME/.kube/config$ grep 'client-certificate-data' ~/.kube/config | head -n 1 | awk '{print $2}' | base64 -d >> kubecfg.crt$ grep 'client-key-data' ~/.kube/config
1. yum -y intall bash-completion2. source /usr/share/bash-completion/bash_completion3. echo 'source <(kubectl completion bash)' >>~/.bashrc
创建secret$ kubectl create secret docker-registry regsecret \--docker-server=kb01.com \--docker-username='admin' \--docker-password='Harbor12345'yaml使用spec:template:spec:imagePullSecrets:- name: regsecr