Skip to content

Files

Latest commit

07f3b61 · May 22, 2019

History

History

dev

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 22, 2019
May 21, 2019
title
Understanding how to run the application using Kubernetes

⚡ Getting Started: Kubernetes

This document describes how the development Docker images can be deployed on a single-node development Kubernetes (k8s) cluster using MicroK8s on Linux. Each component of our application has a service and uses host networking to be available through localhost. We use an initContainer to check that Etcd is running properly before running our Agent to ensure no connection errors.

First, clone the repo:

git clone https://github.com/ligato/osseus
cd /osseus

Install Microk8s (Linux)

sudo snap install microk8s --classic --channel=1.13/stable

# Check everything is configured
microk8s.status

Start & run Osseus in a cluster

# Start cluster
microk8s.start

# Check cluster info
microk8s.kubectl cluster-info

# Run Osseus
microk8s.kubectl apply -f osseus.yaml

# Open a browser to view the application
http://localhost:3000