A potential customer wanted to have a look at Caasp 2 beta. I was trying the steps provided in documentation, but i quickly realized that the platform could be setup on Openstack Cloud as quickly as possible. (Setup everything under 10 mins)
A bit of user-data injection into the node and volla we are ready.
Step1 : Download the Caasp 2.0 beta Openstack Cloud image https://goo.gl/d9bddi . Download only the SUSE-CaaS-Platform-2-OpenStack-Cloud.x86_64-2.0.0-RC1.qcow2 file. Upload it to your glance
# openstack image create --private --protected --disk-format qcow2 --container-format bare --file SUSE-CaaS-P latform-2-OpenStack-Cloud.x86_64-2.0.0-RC1.qcow2 suse-casp-2
Step 2: Setup the user-data files for admin and cluster worker node files
root@xxxx:~ # cat /root/caasp-admin #cloud-config debug: True disable_root: False suse_caasp: role: admin
root@xxxx:~ # cat /root/caasp-node #cloud-config debug: True disable_root: False suse_caasp: role: cluster admin_node: caasp-admin
admin_node: parameter value will be same as the instance id of caasp admin node. Also be careful of the spaces . (These are yaml files, worry about spaces..)
Step 3: Now deploy your admin, master and three worker nodes. Here is deploy-caasp.sh
root@xxxx:~ # cat /root/deploy_caasp.sh #!/usr/bin/bash
source /root/.openrc nova boot --flavor m1.medium --image suse-casp-2 --key-name cloud --security-group Allow-SSH,default,Allow-Salt,Allow-HTTP caasp-admin --user-data /root/caasp-admin
nova boot --flavor m1.medium --image suse-casp-2 --key-name cloud --security-group Allow-SSH,default,Allow-Salt caasp-master --user-data /root/caasp-node
nova boot --flavor m1.medium --image suse-casp-2 --key-name cloud --security-group Allow-SSH,default,Allow-Salt caasp-worker-1 --user- data /root/caasp-node
nova boot --flavor m1.medium --image suse-casp-2 --key-name cloud --security-group Allow-SSH,default,Allow-Salt caasp-worker-2 --user-data /root/caasp-node
nova boot --flavor m1.medium --image suse-casp-2 --key-name cloud --security-group Allow-SSH,default,Allow-Salt caasp-worker-3 --user-data /root/caasp-node
Once you deploy your cluster, you should be able to see your caasp-admin, caasp-master and caasp-worker nodes running on your cluster and opening the admin node HTTP interface should show you the following screen
![](https://static.wixstatic.com/media/51be38_80665f34c0394a7196bf24620d6ff496~mv2.png/v1/fill/w_980,h_425,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/51be38_80665f34c0394a7196bf24620d6ff496~mv2.png)
Sign-Up with a new admin user
![](https://static.wixstatic.com/media/51be38_73639e26feaf4054a618ac7898dded83~mv2.png/v1/fill/w_980,h_458,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/51be38_73639e26feaf4054a618ac7898dded83~mv2.png)
Specify the dashboard location (caasp-admin)
![](https://static.wixstatic.com/media/51be38_f702589d92334e728ac122a5928ee21c~mv2.png/v1/fill/w_980,h_431,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/51be38_f702589d92334e728ac122a5928ee21c~mv2.png)
You should see all the nodes in Pending Nodes list
![](https://static.wixstatic.com/media/51be38_f4e595abfa2c4f44b3a451c99996301f~mv2.png/v1/fill/w_980,h_414,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/51be38_f4e595abfa2c4f44b3a451c99996301f~mv2.png)
Click Accept All nodes
![](https://static.wixstatic.com/media/51be38_beb7590831074a7484575d158378248d~mv2.png/v1/fill/w_980,h_444,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/51be38_beb7590831074a7484575d158378248d~mv2.png)
Select your master and worker nodes
![](https://static.wixstatic.com/media/51be38_b35ea142b83e40dd9c0bc23bcd71d44c~mv2.png/v1/fill/w_980,h_379,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/51be38_b35ea142b83e40dd9c0bc23bcd71d44c~mv2.png)
Bootstrap your cluter
![](https://static.wixstatic.com/media/51be38_0c1afaa08b91419682da9568fbd62dc6~mv2.png/v1/fill/w_980,h_270,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/51be38_0c1afaa08b91419682da9568fbd62dc6~mv2.png)
Your kubernetes cluster is ready and kicking !!!
![](https://static.wixstatic.com/media/51be38_fac2147b6fcc4dffaff54894f147167a~mv2.png/v1/fill/w_980,h_424,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/51be38_fac2147b6fcc4dffaff54894f147167a~mv2.png)
![](https://static.wixstatic.com/media/51be38_6c9803abca4e45eb8fe6f0fd4aa4133a~mv2.png/v1/fill/w_944,h_356,al_c,q_85,enc_auto/51be38_6c9803abca4e45eb8fe6f0fd4aa4133a~mv2.png)
![](https://static.wixstatic.com/media/51be38_169a3bf91d8244b3aed415d920dcc56f~mv2.png/v1/fill/w_944,h_356,al_c,q_85,enc_auto/51be38_169a3bf91d8244b3aed415d920dcc56f~mv2.png)