logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

CentOs7.3的DHCP安装及配置

**CentOs7.3的DHCP配置环境:虚拟机centos7.3、centos61. 配置静态IP地址vim /etc/sysconfig/network-scripts/ifcfg-ens332. 关闭防火墙,沙河,并重启网络服务systemctl stop firewalldsetenforce 0systemctl restart network3.挂载镜像mou...

#linux
containerd对接自签名harbor

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.

#docker#linux#运维
k8s api访问证书

$ 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

#kubernetes#运维#容器
k8s解决kubectl -bash: _get_comp_words_by_ref: 未找到命令

1. yum -y intall bash-completion2. source /usr/share/bash-completion/bash_completion3. echo 'source <(kubectl completion bash)' >>~/.bashrc

#bash#linux
k8s imagePullSecrets

创建secret$ kubectl create secret docker-registry regsecret \--docker-server=kb01.com \--docker-username='admin' \--docker-password='Harbor12345'yaml使用spec:template:spec:imagePullSecrets:- name: regsecr

#docker#kubernetes#容器
到底了