Welcome to the Linux Foundation Forum!

3.5. 演習 23 Error

  1. コントロールプレーンノードを初期化し、出力内容を読みましょう。Kubernetes のバージョンによっては出力が異なっているかも
    しれません。最後の方に、root 以外のユーザで Kubernetes を操作するための手順を記載しています。トークンも記載していま
    す。この情報は、後からでも kubeadm token list コマンドで参照できます。この出力内容では、次の手順であるクラスタ用の
    Pod ネットワークを作成することも指示しています。先の手順で閲覧した設定ファイル内の Calico のネットワーク設定をコマン
    ドの引数に渡します。注意: このコマンドの出力には、後の演習で実施しなければいけないいくつかのコマンドが表示されます。
    root@cp:~# kubeadm init --config=kubeadm-config.yaml --upload-certs \
    | tee kubeadm-init.out

エラー;
root@master:~# kubeadm init --config=kubeadm-config.yaml --upload-certs | tee kubeadm-init.out
W0225 07:23:37.350417 17835 common.go:101] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta3" (kind: "ClusterConfiguration"). Please use 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.
W0225 07:23:37.350839 17835 initconfiguration.go:332] error unmarshaling configuration schema.GroupVersionKind{Group:"kubeadm.k8s.io", Version:"v1beta3", Kind:"ClusterConfiguration"}: strict decoding error: unknown field "networking:6podSubnet"
this version of kubeadm only supports deploying clusters with the control plane version >= 1.30.0. Current version: v1.26.1
To see the stack trace of this error execute with --v=5 or higher

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training