“Ubuntu 16.04 LTS with Kubernetes Cluster Server – part 1/3”

ubuntu-16-04-lts

KUBERTENES CLUSTER SERVER

The starting point our lab is the following:

Screen Shot 2017-05-26 at 18.18.10

1 STEP – CREATE THE NODES ON VMWARE ESX FOR KUBERTENES SERVER

As we’ve made for the node dedicated to Juju and Landscape we can replicate the same tasks also for the nodes dedicated to our project,  such as to have that

Screen Shot 2017-05-26 at 17.30.59.png

we add the rest of nodes, at the end we’ll have

Screen Shot 2017-06-29 at 18.26.32

commissioning all node we’ll change their status in ready

Screen Shot 2017-06-29 at 18.35.28

2 STEP – CREATE A JUJU MODEL FOR KUBERNETES SERVER

Now we can either to create a new model or use the default, for our lab we’ve decided to create two different model, one for LANDSCAPE and the other one for OPENSTACK. To have that we’v to run the following commands

$: juju add-model kuberneteslab
Added 'kuberneteslab' model with credential 'richardsith' for user 'admin'

on Juju models we’ll see that

$:juju models
Controller: maaslab-controller
Model           Cloud/Region  Status     Machines  Cores  Access  Last connection
controller      maaslab       available         1      1  admin   just now
default         maaslab       available         0      -  admin   2 hours ago
kuberneteslab*  maaslab       available         0      -  admin   never connected
landscapelab    maaslab       available         5      1  admin   16 minutes ago
openstacklab    maaslab       available        16      8  admin   16 minutes ago

3 STEP – DEPLOY CANONICAL DISTRIBUTION OF KUBERNETES SERVER

Now our juju model is ready we can continue with the lab deploying the bundle. From Juju gui

Screen Shot 2017-06-30 at 10.23.48

adding that to our model kuberneteslab

Screen Shot 2017-06-30 at 10.23.57

set the password for admin user goto kubernetes -> client_password (string)

Screen Shot 2017-07-31 at 10.23.17

lets start with the deploy

Screen Shot 2017-06-30 at 10.25.50

and also the node start the task

Screen Shot 2017-06-30 at 10.29.34

with juju status we can see its status

Screen Shot 2017-06-30 at 10.31.16.png

At the end we’ll have that

on Juju gui

Screen Shot 2017-06-30 at 14.14.29

The first part is done see you to next one.

part 2/3 ->


“cya to the next 1…. Njoy !”
bye dakj

Disclaimer: All the tutorials included on this site are performed in a lab environment to simulate a real world production scenario. As everything is done to provide the most accurate steps to date, we take no responsibility if you implement any of these steps in a production environment.

“We learn from our mistakes”

Advertisements