kubernetes
このドキュメントひたすら読む必要がある
ubuntu
install
https://gyazo.com/aa295deab72c0613a0bbe990085278f8
sudo snap install lxd
% sudo /snap/bin/lxd init
Would you like to use LXD clustering? (yes/no) default=no: Do you want to configure a new storage pool? (yes/no) default=yes: Name of the storage backend to use (btrfs, ceph, dir, lvm, zfs) default=zfs: Would you like to use an existing block device? (yes/no) default=no: Size in GB of the new loop device (1GB minimum) default=93GB: Would you like to connect to a MAAS server? (yes/no) default=no: Would you like to create a new local network bridge? (yes/no) default=yes: What IPv4 address should be used? (CIDR subnet notation, “auto” or “none”) default=auto: What IPv6 address should be used? (CIDR subnet notation, “auto” or “none”) default=auto: Would you like LXD to be available over the network? (yes/no) default=no: Would you like stale cached images to be updated automatically? (yes/no) default=yes Would you like a YAML "lxd init" preseed to be printed? (yes/no) default=no: % minikube start
いきなりこんなエラーが
There is a newer version of minikube available (v0.34.1). Download it here:
To disable this notification, add WantUpdateNotification: False to the json config file at /home/jiro4989/snap/minikube/4/.minikube/config
(you may have to create the file config.json in this folder if you have no previous configuration)
Starting local Kubernetes cluster...
E0224 17:53:22.151287 3207 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying.
E0224 17:53:22.163027 3207 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying.
E0224 17:53:22.173938 3207 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying.
E0224 17:53:22.173976 3207 start.go:89] Error starting host: Error creating new host: dial tcp: missing address
Error creating new host: dial tcp: missing address
Error creating new host: dial tcp: missing address
Ubuntuのsnap install minikubeでインストールしたらバージョンが古かったっぽい
で落としてきたバイナリを使ったらOKだった
minikube v0.34.1 on linux (amd64)
再度 minikube startした
🏄 Done! Thank you for using minikube!
が出力された