Add a start and stop command
Start communicates with kubecfg to start the OpenStack services. Stop communicates with kubecfg to stpo the OpenStack services.
This commit is contained in:
parent
cca017d44c
commit
2204cb4063
6
tools/start
Executable file
6
tools/start
Executable file
@ -0,0 +1,6 @@
|
||||
kubecfg -c ../docker/mariadb/mariadb.json create pods
|
||||
kubecfg -c ../docker/keystone/keystone.json create pods
|
||||
|
||||
kubecfg -c ../docker/mariadb/mariadb-service.json create services
|
||||
kubecfg -c ../docker/keystone/keystone-service-5000.json create services
|
||||
kubecfg -c ../docker/keystone/keystone-service-35357.json create services
|
6
tools/stop
Executable file
6
tools/stop
Executable file
@ -0,0 +1,6 @@
|
||||
kubecfg delete /pods/mariadb
|
||||
kubecfg delete /pods/keystone
|
||||
|
||||
kubecfg delete /services/mariadbmaster
|
||||
kubecfg delete /services/keystonemaster-5000
|
||||
kubecfg delete /services/keystonemaster-35357
|
Loading…
Reference in New Issue
Block a user