... service <<EOF [Unit] Description=Kubernetes kubelet Server After=docker.service Requires=docker.service [Service] WorkingDirectory=/var/lib/kubelet ExecStart=/usr/bin/kubelet ...
... service <<EOF [Unit] Description=Kubernetes kubelet Server After=docker.service Requires=docker.service [Service] WorkingDirectory=/var/lib/kubelet ExecStart=/usr/bin/kubelet ...
... -pod: '' seccomp.security.alpha.kubernetes.io/pod: 'docker/default' spec: priorityClassName: system-cluster-critical serviceAccountName: metrics-server containers ...
... : generic:通用的secret ,用来保存一些密码数据之类的 docker-registry:保存docker registry 认证信息,在pull私有的仓库时需要认证 ...
... .service systemctl unmask tomcat.service 查看服务依赖关系: systemctl list-dependencies docker.service target 查看所有target: ]# systemctl list-unit-files --type target --all ...
... .docker.com+mirrors.ivolces.com/docker+' /etc/yum.repos.d/docker-ce.repo yum makecache fast yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker ...
... yum源: 配置docker的yum源: wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo kubernetes ...
... =/a\ExecStartPost=/usr/sbin/iptables -P FORWARD ACCEPT' /usr/lib/systemd/system/docker.service 修改行: [address]command\ c change修改 例1: sed ' ...