Загрузка данных
[altlinux@k8s-srv1 ~]$ ping -c 4 google.com
PING google.com (64.233.161.100) 56(84) bytes of data.
64 bytes from lh-in-f100.1e100.net (64.233.161.100): icmp_seq=1 ttl=104 time=46.8 ms
64 bytes from lh-in-f100.1e100.net (64.233.161.100): icmp_seq=2 ttl=104 time=46.2 ms
64 bytes from lh-in-f100.1e100.net (64.233.161.100): icmp_seq=3 ttl=104 time=46.7 ms
^C
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 46.239/46.573/46.767/0.237 ms
[altlinux@k8s-srv1 ~]$ sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
[altlinux@k8s-srv1 ~]$ sudo kubeadm init --config /etc/kubernetes/kubeadm-config.yaml --upload-certs
W0416 04:46:04.041768 5652 common.go:100] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta3" (kind: "ClusterConfiguration"). Please use 'kubeadm config migrate --old-config old-config-file --new-config new-config-file', which will write the new, similar spec using a newer API version.
W0416 04:46:04.042050 5652 common.go:100] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta3" (kind: "InitConfiguration"). Please use 'kubeadm config migrate --old-config old-config-file --new-config new-config-file', which will write the new, similar spec using a newer API version.
W0416 04:46:04.043536 5652 utils.go:69] The recommended value for "clusterDNS" in "KubeletConfiguration" is: [10.96.0.10]; the provided value is: [169.254.25.10]
[init] Using Kubernetes version: v1.35.0
[preflight] Running pre-flight checks
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action beforehand using 'kubeadm config images pull'
[preflight] Some fatal errors occurred:
[ERROR ImagePull]: failed to pull image registry.k8s.io/kube-apiserver:v1.35.0: failed to pull image registry.k8s.io/kube-apiserver:v1.35.0: failed to pull and unpack image "registry.k8s.io/kube-apiserver:v1.35.0": failed to resolve image: failed to do request: Head "https://europe-north1-docker.pkg.dev/v2/k8s-artifacts-prod/images/kube-apiserver/manifests/v1.35.0": dial tcp [2607:f8b0:4002:c09::52]:443: connect: cannot assign requested address
[ERROR ImagePull]: failed to pull image registry.k8s.io/kube-controller-manager:v1.35.0: failed to pull image registry.k8s.io/kube-controller-manager:v1.35.0: failed to pull and unpack image "registry.k8s.io/kube-controller-manager:v1.35.0": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://registry.k8s.io/v2/kube-controller-manager/manifests/sha256:3e343fd915d2e214b9a68c045b94017832927edb89aafa471324f8d05a191111": dial tcp [2600:1901:0:bbc4::]:443: connect: cannot assign requested address
[ERROR ImagePull]: failed to pull image registry.k8s.io/kube-scheduler:v1.35.0: failed to pull image registry.k8s.io/kube-scheduler:v1.35.0: failed to pull and unpack image "registry.k8s.io/kube-scheduler:v1.35.0": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://registry.k8s.io/v2/kube-scheduler/manifests/sha256:0ab622491a82532e01876d55e365c08c5bac01bcd5444a8ed58c1127ab47819f": dial tcp [2600:1901:0:bbc4::]:443: connect: cannot assign requested address
[ERROR ImagePull]: failed to pull image registry.k8s.io/kube-proxy:v1.35.0: failed to pull image registry.k8s.io/kube-proxy:v1.35.0: failed to pull and unpack image "registry.k8s.io/kube-proxy:v1.35.0": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://registry.k8s.io/v2/kube-proxy/manifests/sha256:c818ca1eff765e35348b77e484da915175cdf483f298e1f9885ed706fcbcb34c": dial tcp [2600:1901:0:bbc4::]:443: connect: cannot assign requested address
[ERROR ImagePull]: failed to pull image registry.k8s.io/coredns/coredns:v1.13.1: failed to pull image registry.k8s.io/coredns/coredns:v1.13.1: failed to pull and unpack image "registry.k8s.io/coredns/coredns:v1.13.1": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://registry.k8s.io/v2/coredns/coredns/manifests/sha256:9b9128672209474da07c91439bf15ed704ae05ad918dd6454e5b6ae14e35fee6": dial tcp [2600:1901:0:bbc4::]:443: connect: cannot assign requested address
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
error: error execution phase preflight: preflight checks failed
To see the stack trace of this error execute with --v=5 or higher
[altlinux@k8s-srv1 ~]$