-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Hi there,
My colleague @kossikater and I are trying to use KN to init a cluster on OpenStack.
Since we are running on Windows workstations (long story), we have created a container that has access to the hosts docker
command:
docker run -it -v /var/run/docker.sock:/var/run/docker.sock ubuntu:latest sh -c "apt-get update ; apt-get install docker.io -y ; bash"
Then we proceed with the Getting Started:
docker pull kubenow/provisioners
Here we did not yet understand what the pull
is for, because from the instructions we understand that the subsequent commands are also run from the hosts terminal (the container in our case), but not from a container preconfigured by you.
Without sudo because within the container we're root already:
curl -Lo kn https://raw.githubusercontent.com/kubenow/KubeNow/master/bin/kn && chmod +x kn && mv kn /usr/local/bin
At this point the kn
command becomes available. So far so good.
Next, we downloaded and sourced the OpenStack RC file from our tenacy.
kn init openstack our_deployment
The init command runs through without errors, notifying us about the creation of an SSH keypair, but the directory that is created remains empty!
From this point on, obviously we can not proceed.
Did we miss something? Are we supposed to be running all these steps from within a provisioning-container, for example?