Blog

GOST and Kubernetes

Oct 2, 2017. | By: Bert

Kubernetes is an open source system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale.

In this blog we are going to run GOST in Kubernetes. We are using a small edition of Kubernetes called Minikube to test things out. Minikube runs a single-node Kubernetes cluster inside a VM on your laptop.

So step 1 is to install Minikube, you can find installation instructions for Mac, Linux and Windows at https://kubernetes.io/docs/tasks/tools/install-kubectl/

Step 2 is to start the Minikube cluster:

$ minikube start

Step 3: Download the GOST Docker-compose.yml file. The Docker-compose file is slightly altered, it has one extra line with respect to the default docker-compose file:

https://github.com/gost/docker-compose/blob/kubernetes/docker-compose.yml#L42

kompose.service.type: NodePort

This line is needed to be able to access the dashboard from outside the Kubernetes cluster.

To download the modified docker-compose file do:

$ wget https://raw.githubusercontent.com/gost/docker-compose/kubernetes/docker-compose.yml

Step 4: Install Kompose

Kompose is a tool to convert from the docker-compose world to the Kubernetes world.


$ curl -L https://github.com/kubernetes/kompose/releases/download/v1.2.0/kompose-linux-amd64 -o kompose
$ chmod +x kompose
$ sudo mv ./kompose /usr/local/bin/kompose

Step 5: Run GOST in Kubernetes

$ kompose up

Step 6: Get the ip and port of GOST

$ minikube service dashboard --url

Sample response: http://192.168.99.100:30648

Now you should be able to get the GOST dashboard in your browser at http://192.168.99.100:30648

[Read More]

GOST and Raspberry Pi

Sep 28, 2017. | By: Bert

On the Raspberry Pi, GOST is running in a Docker environment. Pretty crazy at first thought but it works really well. The recommended option is to install Hypriot on the Raspberry Pi, it has the Docker tools preinstalled. There are separate GOST Docker images for Raspberry Pi, they have the prefix ‘rpi’:

The docker-compose file for Raspberry has the postfix ‘rpi’ and can be found here.

For a complete description of how to run GOST on Docker on Raspberry Pi see https://github.com/gost/docs/blob/master/gost_raspberrypi.md.

[Read More]

GOST Docker improvements

Sep 28, 2017. | By: Bert

The default deployment option for GOST is using Docker images. At the moment, we have three Docker images:

Small, Smaller, Smallest

We try to keep the Docker images as small as possible. Small images means really fast deployment and operation. In the last year, the GOST server image is reduced in size from 400MB to 10MB :-) We were able to create really small images using two techniques:

1] Alpine

The GOST images are now based on Alpine images. Alpine is minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size!

2] Use multi-stage builds

Multi-stage builds is a new feature in Docker tooling. This techique allows to only deploy the resulting binaries in the image. For more information about Docker multi-stage builds: https://docs.docker.com/engine/userguide/eng-image/multistage-build/

[Read More]

GOST workshop at FOSS4G 2017

Sep 28, 2017. | By: Bert

Last August we travelled to Boston to visit the FOSS4G conference and gave a workshop about SensorThings API and GOST. See for full description of the workshop see here.

In a few hours, the participants were able to install, configure and visualize sensor information and learn more about SensorThings API, Docker, MQTT, HTTP, Postman and Node-RED.

tweet end demo

The workshop material is available online so you can replay the workshop in your own time. Get started: https://github.com/gost/workshops/blob/master/2017_foss4g_boston/1_introduction.md. If you’ve any questions about the workshop just contact us.

[Read More]

GOST presentation at OSGeo.nl day

Nov 22, 2016. | By: Tim

OSGeo.nl invited Bert and me to give a presentation about OGC SensorThings API and our open-source solution GOST during the OSGeo.nl day which took place at the yearly GeoBuzz conference in ‘s-Hertogenbosh The Netherlands.

[Read More]

Subscribe

Subscribe to this blog via RSS.

Categories

Changelog 3

Presentation 1

Workshop 1

Docker 3

Raspberry pi 1

Kubernetes 1

Recent Posts

About

Since 1985, Geodan has grown into one of the leading geo-ICT companies in our country. We specialise in the provision of spatial information and are experienced in applying new, innovative technologies

Our Bunker

Geodan
President Kennedylaan 1
1079 MB Amsterdam