Skip to content

Instantly share code, notes, and snippets.

@Kaijun
Created October 25, 2018 11:14
Show Gist options
  • Save Kaijun/43e3cce693de08c22b1150b1e1d58d9f to your computer and use it in GitHub Desktop.
Save Kaijun/43e3cce693de08c22b1150b1e1d58d9f to your computer and use it in GitHub Desktop.
export OS_USERNAME=admin
export OS_PASSWORD=keadmin
export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_DOMAIN_NAME=default
export OS_AUTH_URL=http://127.0.0.1:8357/v3
export OS_IDENTITY_API_VERSION=3
openstack service create --name registry ke-service
openstack service create --name helm-registry ke-service
openstack service create --name keas ke-service
openstack service create --name kubegate ke-service
openstack service create --name log ke-service
openstack service create --name monitor ke-service
openstack service create --name event ke-service
openstack service create --name gragate ke-service
openstack service create --name ingress ke-service
openstack service create --name kecontrol ke-service
openstack service create --name hub ke-service
openstack service create --name compass ke-service
openstack endpoint create --region RegionDefault registry public http://authgate-poc.cloudappl.com
openstack endpoint create --region RegionDefault hub public http://authgate-poc.cloudappl.com
openstack endpoint create --region RegionDefault helm-registry public http://authgate-poc.cloudappl.com
openstack endpoint create --region RegionDefault kecontrol public http://keapi-poc.cloudappl.com
openstack project create library
openstack project create public
openstack project create kube-system
openstack project create n-grafana
openstack role create robot
openstack region create poc1
openstack endpoint create --region poc1 keas public http://authgate-poc.cloudappl.com/regions/poc1
openstack endpoint create --region poc1 kubegate public http://authgate-poc1.cloudappl.com
openstack endpoint create --region poc1 log public http://authgate-poc1.cloudappl.com
openstack endpoint create --region poc1 monitor public http://authgate-poc1.cloudappl.com
openstack endpoint create --region poc1 event public http://authgate-poc1.cloudappl.com/regions/poc1
openstack endpoint create --region poc1 gragate public http://authgate-poc1.cloudappl.com
openstack endpoint create --region poc1 ingress public http://authgate-poc1.cloudappl.com
openstack endpoint create --region poc1 compass public http://authgate-poc1.cloudappl.com
openstack endpoint list | grep admin | awk '{print $2}' | xargs -I {} openstack endpoint set {} --url http://ks-poc.cloudappl.com/v3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment