Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Document how to run openstack-cloud-controller-manager with hack/local-up-cluster.sh #34

Open
dims opened this issue Jan 19, 2018 · 5 comments

Comments

@dims
Copy link
Owner

dims commented Jan 19, 2018

There is support for EXTERNAL_CLOUD_PROVIDER=true when you also add CLOUD_PROVIDER and CLOUD_CONFIG for local-up-cluster.sh, we should document how one can easily build a test/dev environment using local-up-cluster.sh

@dims
Copy link
Owner Author

dims commented Jan 19, 2018

oh, the local-up-cluster should be running inside a VM started by OpenStack (to be able to pick up the metadata from either the config drive or the metadata service)

@dims
Copy link
Owner Author

dims commented Feb 2, 2018

see kubernetes/kubernetes#59280

@dims
Copy link
Owner Author

dims commented Feb 7, 2018

with latest k/k master, set the following env vars and then run sudo -E PATH=$PATH ./hack/local-up-cluster.sh (PATH should have etcd binaries)

export EXTERNAL_CLOUD_PROVIDER_BINARY=/home/dims/go/src/git.openstack.org/openstack/openstack-cloud-controller-manager/openstack-cloud-controller-manager
export EXTERNAL_CLOUD_PROVIDER=true
export CLOUD_PROVIDER=openstack
export CLOUD_CONFIG=/etc/kubernetes/cloud-config

@dims
Copy link
Owner Author

dims commented Feb 7, 2018

@hogepodge can you please try this out?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant