oomichi / try-kubernetes

12 stars 5 forks source link

kops cannot deploy k8s on top of OpenStack IaaS #22

Closed oomichi closed 5 years ago

oomichi commented 6 years ago

$ wget https://github.com/kubernetes/kops/releases/download/1.9.1/kops-linux-amd64
$ chmod 755 kops-linux-amd64
$ ./kops-linux-amd64 create cluster --cloud openstack --zones nova --name my-k8s-cluster
I0607 18:05:17.413479   11646 create_cluster.go:1318] Using SSH public key: /home/ubuntu/.ssh/id_rsa.pub

State Store: Required value: Please set the --state flag or export KOPS_STATE_STORE.
A valid value follows the format s3://<bucket>.
A s3 bucket is required to store cluster state information.
$
oomichi commented 6 years ago

https://github.com/kubernetes/kops/pull/3708/files によると --state フラグで Swift のエンドポイントを指定する必要がある。 ひとまず、kubeadmを使ってCIをつくり、余裕があったらkops対応していく。