LoginSignup
0
0

More than 1 year has passed since last update.

istioctl installが失敗する

Posted at

Calico公式の手順に従って、Istioをインストールしようとしたら、Install Istioの手順で次のエラーメッセージが出て困った話。

$ istioctl install -y
✔ Istio core installed
✘ Istiod encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition

環境

  • Debian 11.4
  • Kubernetes 1.21-13-00
  • Calico 3.23.3
  • Istio 1.13.2
  • シングルノード環境

解決方法

マスターノードへのtaintを外す必要がありました。
次のコマンドでマスターノードへのtaintを外します。

$ kubectl taint nodes --all node-role.kubernetes.io/master-

taintとは汚れの意味で、nodeに紐づきます。
nodeにtaintが付いているとPodが起動できないことがあり、マスターノードにはデフォルトでtaintが付いています。
これによって、csi-node-driverという名前のPodが起動せず、istioctl installが失敗するようでした。
シングルノード環境でのCalicoインストール手順(公式)にもtaintを外すように書いてありますが、見落としていました。

参考

シングルノード環境でのCalicoインストール手順(公式)
timed out waiting for the condition Deployment/istio-system/istiod
TaintとToleration

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0