标签:info lan list k8s code epo ber lin gpg
cat > /etc/yum.repos.d/kubernetes.repo <<EOF
[kubernetes]
name=Kubernetes
baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg
EOF
yum clean all
yum repolist
标签:info lan list k8s code epo ber lin gpg
原文地址:https://www.cnblogs.com/leoshi/p/12815744.html