Last active
December 13, 2018 23:48
-
-
Save niiku-y/3c2be10cec59d58d595e96bff494ed1a to your computer and use it in GitHub Desktop.
Canonical Distributed Kubernetesのインストール ref: https://qiita.com/niiku-y/items/e8732512100c448cb29f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt update | |
$ sudo apt upgrade | |
$ which snap | |
/usr/bin/snap | |
$ sudo snap install conjure-up --classic | |
$ sudo snap install lxd | |
$ /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 new storage pool [default=default]: | |
Name of the storage backend to use (btrfs, ceph, dir, lvm, zfs) [default=zfs]: dir | |
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 should the new bridge be called? [default=lxdbr0]: | |
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]: none | |
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]: yes | |
config: {} | |
networks: | |
- config: | |
ipv4.address: auto | |
ipv6.address: none | |
description: "" | |
managed: false | |
name: lxdbr0 | |
type: "" | |
storage_pools: | |
- config: {} | |
description: "" | |
name: default | |
driver: dir | |
profiles: | |
- config: {} | |
description: "" | |
devices: | |
eth0: | |
name: eth0 | |
nictype: bridged | |
parent: lxdbr0 | |
type: nic | |
root: | |
path: / | |
pool: default | |
type: disk | |
name: default | |
cluster: null | |
$ id | |
uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),27(sudo),129(lxd) | |
$ juju bootstrap --bootstrap-series=xenial | |
$ conjure-up kubernetes | |
→ 画面に従って入力、選択していきインストールする |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment