<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>cloud on Christian Knedel</title>
    <link>https://www.christian-knedel.de/ja/tags/cloud/</link>
    <description>Recent content in cloud on Christian Knedel</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ja-jp</language>
    <lastBuildDate>Sat, 26 Jun 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://www.christian-knedel.de/ja/tags/cloud/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>コンテナですごいこと：Kubernetes Dashboard</title>
      <link>https://www.christian-knedel.de/ja/post/2021/june/20210726-kubernetes-board/</link>
      <pubDate>Sat, 26 Jun 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2021/june/20210726-kubernetes-board/</guid>
      <description>コンテナですごいこと：KubenetesクラスタとNFSストレージチュートリアルでKubernetesクラスタを作成した後、Kubernetesダッシュボードをインストールしたいと思います。    このコマンドには、私のプロジェクトに必要なものがすべて含まれています。 x  &amp;ndash;  +   Terminal   $ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.2.0/aio/deploy/recommended.yaml   関連するサービスは外部からアクセスできないため、やはり「.spec.type」ノードを変更する必要があります。 x  &amp;ndash;  +   Terminal   $ kubectl -n kube-system edit service kubernetes-dashboard --namespace=kubernetes-dashboard   ノード「.spec.type」は &amp;ldquo;NodePort &amp;ldquo;でなければならない。    その後、すでにダッシュボードにアクセスできるようになっています。      アクセストークンを取得するには、デプロイメントコントローラーのキーを検索する必要があります。 x  &amp;ndash;  +   Terminal   $ kubectl -n kube-system get secret | grep deployment-controller-token   そして、トークンを表示し、コピーすることができます。 x  &amp;ndash;  +   Terminal   $ kubectl -n kube-system describe secret deployment-controller-token-g7qdm</description>
    </item>
    
    <item>
      <title>AnsibleでPIをリモートで制御する</title>
      <link>https://www.christian-knedel.de/ja/post/2021/june/20210725-ansible/</link>
      <pubDate>Fri, 25 Jun 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2021/june/20210725-ansible/</guid>
      <description>コンテナですごいこと：KubenetesクラスタとNFSストレージチュートリアルでKubernetesクラスターを作成した後、今度はAnsibleでこれらのコンピュータに対処できるようにしたいと思います。    そのためには、新しいキーが必要です。 x  &amp;ndash;  +   Terminal   $ ssh-keygen -b 4096   すべてのサーバー（Server 1, Server 2, Server 3）の &amp;ldquo;/home/pi/.ssh/authorized_keys&amp;rdquo; ファイルに新しい公開鍵を追加しました。また、Ansible では、このパッケージをインストールする必要があります。 x  &amp;ndash;  +   Terminal   $ sudo apt-get install -y ansible   その後、「/etc/ansible/hosts」ファイルにRaspberrysを入力する必要があります。
[raspi-kube.clust] ip-server-1:ssh-port ansible_ssh_user=username ip-server-2:ssh-port ansible_ssh_user=username ip-server-3:ssh-port ansible_ssh_user=username これで、以下のように設定を確認することができます。 x  &amp;ndash;  +   Terminal   $ ansible all -m ping --ssh-common-args=&amp;#39;-o StrictHostKeyChecking=no&amp;#39;   ご覧ください。      これで、すべてのサーバーを再起動するなどのプレイブックやコマンドを実行できるようになりました。 x  &amp;ndash;  +   Terminal   $ ansible raspi -m shell -a &amp;#39;sudo /sbin/reboot&amp;#39;</description>
    </item>
    
    <item>
      <title>コンテナですごいこと：KubenetesクラスタとNFSストレージ</title>
      <link>https://www.christian-knedel.de/ja/post/2021/june/20210620-pi-kubenetes-cloud/</link>
      <pubDate>Sun, 20 Jun 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2021/june/20210620-pi-kubenetes-cloud/</guid>
      <description>今日は新しいKubenetesクラスタをインストールするのですが、やることがたくさんあります。    そのために、これらの部品を注文しました。
 1x WDBU6Y0050BBK WD Elements portable 5TB：https://www.reichelt.de/wd-elements-portable-5tb-wdbu6y0050bbk-p270625.html? 3x ファン、デュアル： https://www.reichelt.de/raspberry-pi-luefter-dual-rpi-fan-dual-p223618.html? 1x Raspberry 4 / 4GB Ram: https://www.reichelt.de/raspberry-pi-4-b-4x-1-5-ghz-4-gb-ram-wlan-bt-rasp-pi-4-b-4gb-p259920.html? 2x Raspberry 4 / 8GB Ram：https://www.reichelt.de/raspberry-pi-4-b-4x-1-5-ghz-8-gb-ram-wlan-bt-rasp-pi-4-b-8gb-p276923.html? 3x 電源ユニット： https://www.reichelt.de/raspberry-pi-netzteil-5-1-v-3-0-a-usb-type-c-eu-stecker-s-rpi-ps-15w-bk-eu-p260010.html 1x ラックマウント: https://amzn.to/3H8vOg7 1x 600 pieces Dupont plug kit: https://amzn.to/3kcfYqQ 直列抵抗付き緑色LED1個：https://amzn.to/3EQgXVp 直列抵抗付き青色LED 1個：https://amzn.to/31ChYSO 10x Marquardt 203.007.013 Blanking piece Black: https://www.voelkner.de/products/215024/Marquardt-203.007.013-Blindstueck-Schwarz.html 1x ランプベース: https://amzn.to/3H0UZkG  さあ、行こう！    Raspian Liteのインストールをベースに、インストール用のイメージを独自に作成しました。私のユーザー/公開鍵はすでにこのイメージに保存されており、「/boot/config.txt」ファイルは私のLEDに適合するように作られています。
# meine Server brauchen kein HDMI, WLAN und Bluetooth dtoverlay=disable-bt dtoverlay=disable-wifi disable_splash=1 hdmi_blanking=1 hdmi_ignore_hotplug=1 hdmi_ignore_composite=1 # Status-LEDs an GPIO weiterleiten dtoverlay=act-led,gpio=21 dtparam=act_led_trigger=cpu0 サーバー1 - マウントディスク まず、「Server 1」にNFSサービスをインストールする。このストレージは、後で私のコンテナ・クラスタに使用することができます。USBハードディスクを「サーバー1」に接続し、以下の説明を参考にEXT4でフォーマットしてみました。https://homecircuits.</description>
    </item>
    
  </channel>
</rss>
