Skip to content

Instantly share code, notes, and snippets.

@ennisa-ire
Last active September 24, 2018 12:50
Show Gist options
  • Save ennisa-ire/4e4107e7196b013f8a70a568d90b88cd to your computer and use it in GitHub Desktop.
Save ennisa-ire/4e4107e7196b013f8a70a568d90b88cd to your computer and use it in GitHub Desktop.
00 IOT Tech Virtualisation Center

Installation

SSH

Without the zone information access wasnt happening.

cloud compute ssh instance-1 --zone europe-west2-c

#Introduction At a basic level, is a system for running and coordinating containerized applications across a cluster of machines. It is a platform designed to completely manage the life cycle of containerized applications and services using methods that provide predictability, scalability, and high availability.

Kubernetes

https://github.com/kubernetes/kubernetes

And Jenkins

https://wiki.jenkins.io/display/JENKINS/Kubernetes+CLI+Plugin

https://wiki.jenkins.io/display/JENKINS/Kubernetes+Plugin A quick setup is :

  • get a Kubernetes cluster running
  • use a docker image for the agents, or create your own

Features

As a Kubernetes user, you can define how your applications should run and the ways they should be able to interact with other applications or the outside world. You can scale your services up or down, perform graceful rolling updates, and switch traffic between different versions of your applications to test features or rollback problematic deployments. Kubernetes provides interfaces and composable platform primitives that allow you to define and manage your applications with high degrees of flexibility, power, and reliability.

Resources

Traing Course esp microservices : https://www.udacity.com/course/scalable-microservices-with-kubernetes--ud615

https://labs.play-with-k8s.com/ https://www.tutorialspoint.com/kubernetes/images/cluster_architecture.jpg

Appendix

Building Env

sudo yum install lxc

sudo yum -y install vim

sudo yum check-update curl -fsSL https://get.docker.com/ | sh sudo systemctl start docker sudo systemctl status docker

Docker EE versus Docker Community Edition

Instructions here : https://docs.docker.com/v17.09/engine/installation/linux/docker-ee/rhel/#set-up-the-repository

  1. Login to docker Story, and get Redhat subscription My subscriptions : https://store.docker.com/profiles/tonyennis/content

ENV=N

if [ "$ENV" == "Y" ] ; then sudo -E sh -c 'echo "$DOCKERURL/rhel" > /etc/yum/vars/dockerurl' sudo sh -c 'echo "7" > /etc/yum/vars/dockerosversion' sudo yum install -y yum-utils
device-mapper-persistent-data
lvm2

    sudo yum-config-manager --enable rhel-7-server-extras-rpms

    sudo -E yum-config-manager \
        --add-repo \
        "$DOCKERURL/rhel/docker-ee.repo"

    sudo -E yum-config-manager --add-repo "$DOCKERURL/rhel/docker-ee.repo"

fi

sudo yum -y install docker-ee

Result Installed: docker-ee.x86_64 2:17.06.2.ee.16-3.el7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment