flagflag  If you want to see English page, please click "English" Button at Left.
16: 2021-09-13 (月) 12:46:48 iseki ソース 現: 2021-09-15 (水) 13:03:38 iseki ソース
Line 65: Line 65:
 Wants=network-online.target  Wants=network-online.target
 After=network-online.target  After=network-online.target
 + 
 [Service]  [Service]
 ExecStart=/usr/bin/kubelet  ExecStart=/usr/bin/kubelet
Line 71: Line 71:
 StartLimitInterval=0  StartLimitInterval=0
 RestartSec=10  RestartSec=10
 + 
 [Install]  [Install]
 WantedBy=multi-user.target  WantedBy=multi-user.target
Line 134: Line 134:
 vi custom-resources.yaml      (correct IP)  vi custom-resources.yaml      (correct IP)
 kubectl create -f custom-resources.yaml  kubectl create -f custom-resources.yaml
 + 
 watch kubectl get pods -n calico-system  watch kubectl get pods -n calico-system
 kubectl taint nodes --all node-role.kubernetes.io/master-  (マスタノードでも Podを実行できるようになる)  kubectl taint nodes --all node-role.kubernetes.io/master-  (マスタノードでも Podを実行できるようになる)
 kubectl get nodes -o wide  kubectl get nodes -o wide
 +
 +- /etc/NetworkManager/conf.d/calico.conf  で以下の設定が必要になるかもしれない
 + [keyfile]
 + unmanaged-devices=interface-name:cali*;​interface-name:tunl*;interface-name:vxla​n.calico
**** calicoctl [#t3e4c13e] **** calicoctl [#t3e4c13e]
Line 156: Line 160:
#br #br
-***** Alt 1 [#a2d229df]+***** 他の方法 [#dba04328] 
 +- その1
 curl -L https://docs.projectcalico.org/manifests​/calico.yaml | \  curl -L https://docs.projectcalico.org/manifests​/calico.yaml | \
 sed  '/            - name: CALICO_DISABLE_FILE_LOGGING/i\            # ADD' | \  sed  '/            - name: CALICO_DISABLE_FILE_LOGGING/i\            # ADD' | \
Line 166: Line 171:
 cat - >  calico.yaml  cat - >  calico.yaml
 kubectl apply -f calico.yaml  kubectl apply -f calico.yaml
 + 
 watch kubectl get pods -n calico-system  watch kubectl get pods -n calico-system
 kubectl taint nodes --all node-role.kubernetes.io/master-  kubectl taint nodes --all node-role.kubernetes.io/master-
 kubectl get nodes -o wide  kubectl get nodes -o wide
-***** Alt 2 [#i1978737]+- その2
 cat <<EOF > /etc/NetworkManager/conf.d/calico.conf  cat <<EOF > /etc/NetworkManager/conf.d/calico.conf
 [keyfile]  [keyfile]
Line 179: Line 184:
 vi calico.yaml  (correct IP)  vi calico.yaml  (correct IP)
 kubectl apply -f calico.yaml  kubectl apply -f calico.yaml
 + 
 watch kubectl get pods -n calico-system  watch kubectl get pods -n calico-system
 kubectl taint nodes --all node-role.kubernetes.io/master-  kubectl taint nodes --all node-role.kubernetes.io/master-


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 3月翌月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
<今日>

オンライン状況

75 人のユーザが現在オンラインです。 (1 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 75

もっと...

アクセスカウンタ

今日 : 716716716
昨日 : 1358113581135811358113581
総計 : 2318858023188580231885802318858023188580231885802318858023188580
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com