XenonStack

A Stack Innovator

Post Top Ad

Wednesday 30 May 2018

Continuous Delivery Pipeline for Deploying Microservices Based Scala Application on Kubernetes


Continuous Delivery Pipeline for Deploying Microservices Based Scala Application on Kubernetes

Overview

Running Containers at any real-world scale requires container orchestration, and scheduling platform like Docker SwarmApache MesosAWS ECS but the most popular out of it is Kubernetes. Kubernetes is an open source system for automating deployment and management of containerised applications. 
In this post, We’ll share the process how you can Develop and Deploy Microservices based PHP Laravel Application on the Container Environment -  Docker and Kubernetes and adopt DevOps in existing PHP Applications.

Prerequisites For Deploying Laravel Application on Kubernetes

To follow this guide you need -
  • Kubernetes

It is an open source platform that automates container operations, and Minikube is best for testing Kubernetes.
  • Kubectl

Kubectl is command line interface to manage Kubernetes cluster either remotely or locally. To configure kubectl on your machine follow this link.
  • Shared Persistent Storage

Shared Persistent Storage is permanent storage that we can attach to the Kubernetes container so that we don`t lose our data even when container dies. We will be using GlusterFS as the persistent data store for Kubernetes container applications.
  • Scala Application Source Code

Scala Application Source Code is source code that we want to run inside a Kubernetes container.
  • DockerFile

Dockerfile contains a bunch of commands to build PHP Laravel application.
  • Container Registry

The Registry is an online image store for container images.
Below mentioned options are few most popular registries.

CONTINUE READING:XenonStack/Blog

No comments:

Post a Comment