LoginSignup
0
0

More than 5 years have passed since last update.

軽量版Kubernetesがリリースされたので使ってみた。(が動かない。)

Posted at

その名もk3s.

早速使ってみました。
公式サイトはこちら

手順

公式サイトにある通りのコマンド実行を行います。

[root@localhost k3s]#  curl -sfL https://get.k3s.io | sh -
[INFO]  Finding latest release
[INFO]  Using v0.1.0 as release
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  Downloading https://github.com/rancher/k3s/releases/download/v0.1.0/sha256sum-arm64.txt
[INFO]  Downloading https://github.com/rancher/k3s/releases/download/v0.1.0/k3s-arm64
[INFO]  Verifying download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  systemd: Creating /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink from /etc/systemd/system/multi-user.target.wants/k3s.service to /etc/systemd/system/k3s.service.
[INFO]  systemd: Starting k3s
[root@localhost k3s]# which k3s
/usr/local/bin/k3s

k3sというコマンドがインストールされました。
どうも、k3sがkuberctlへのproxyコマンドになっている印象。

[root@localhost k3s]# k3s server &
・
・ (省略)
・
INFO[2019-03-02T14:06:54.483610551Z] Handling backend connection request [localhost]
WARN[2019-03-02T14:06:54.494138816Z] Disabling CPU quotas due to missing cpu.cfs_period_us
INFO[2019-03-02T14:06:54.494763746Z] Running kubelet --healthz-bind-address 127.0.0.1 --read-only-port 0 --allow-privileged=true --cluster-domain cluster.local --kubeconfig /var/lib/rancher/k3s/agent/kubeconfig.yaml --eviction-hard imagefs.available<5%,nodefs.available<5% --eviction-minimum-reclaim imagefs.available=10%,nodefs.available=10% --fail-swap-on=false --cgroup-driver cgroupfs --root-dir /var/lib/rancher/k3s/agent/kubelet --cert-dir /var/lib/rancher/k3s/agent/kubelet/pki --seccomp-profile-root /var/lib/rancher/k3s/agent/kubelet/seccomp --cni-conf-dir /var/lib/rancher/k3s/agent/etc/cni/net.d --cni-bin-dir /var/lib/rancher/k3s/data/d13d901c2b0aca5ab82da684ade2d343ea11285cf335afd743a7fc0a91583d56/bin --cluster-dns 10.43.0.10 --container-runtime remote --container-runtime-endpoint unix:///run/k3s/containerd/containerd.sock --address 127.0.0.1 --anonymous-auth=false --client-ca-file /var/lib/rancher/k3s/agent/client-ca.pem --hostname-override localhost --cpu-cfs-quota=false
Flag --allow-privileged has been deprecated, will be removed in a future version
FATA[2019-03-02T14:06:56.793982959Z] fannel exited: operation not supported

あれ?起動しない。
ので、Githubにバグレポートした。

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