Rate This Document
Findability
Accuracy
Completeness
Readability

Kubernetes Source Network Access Denied

Symptom

Kubernetes source network access is denied.

Key Process and Cause Analysis

Replace the Kubernetes source with another source.

Conclusion and Solution

Replace the Kubernetes source with the HUAWEI CLOUD source. Download URL of HUAWEI CLOUD source: https://mirrors.huaweicloud.com/kubernetes/yum/repos/kubernetes-el7-aarch64/.

Run the following command to replace the Kubernetes source with the HUAWEI CLOUD source:

cat <<EOF > /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://mirrors.huaweicloud.com/kubernetes/yum/repos/kubernetes-el7-aarch64
enabled=1
gpgcheck=1
repo_gpgcheck=0
gpgkey=https://mirrors.huaweicloud.com/kubernetes/yum/doc/yum-key.gpg https://mirrors.huaweicloud.com/kubernetes/yum/doc/rpm-package-key.gpg
EOF