Skip to content

Guide to Orchestrating Containers. Running a Microservice based application on your computer. Building container images for each service of the Microservice application. Deploying a Microservice based application into a Kubernetes Managed Cluster.

Notifications You must be signed in to change notification settings

sebastienmascha/devops-kubernetes-microservices

Repository files navigation

Kubernetes, Guide to Orchestrating Containers

Infrastructure

Microservices with Kubernetes

Load balancing with the LoadBalancer Service

Please find the README in every folders.

Kubernetes deployement

kubectl create -f sa-frontend-pod.yaml
kubectl get pod -l app=sa-frontend --watch
kubectl port-forward sa-frontend 88:80 # Quick debugging

# Load Balencer
kubectl create -f service-sa-frontend-lb.yaml
kubectl get svc
# Commande to launch with k3s??

# Deployment 
kubectl apply -f sa-frontend-deployment.yaml
kubectl get pods

# Rolling update
kubectl apply -f sa-frontend-deployment-green.yaml --record

# Rolling back 
kubectl rollout history deployment sa-frontend
kubectl rollout undo deployment sa-frontend --to-revision=1


# Deploy Service Python
kubectl apply -f sa-logic-deployment.yaml --record

Access the application

Pont SSH entre localhost et la machine host du load balancer.

# Find lb's host 
kubectl get svc

# Create SSH bridge
ssh -L 9999:localhost:3333 [email protected]

Ressources

To learn more about Kubernetes and other related topics check the following examples with the Sentiment Analysis application:

Source

This repository contains the source files needed to follow the series Kubernetes and everything else or summarized as an article in Learn Kubernetes in Under 3 Hours: A Detailed Guide to Orchestrating Containers

About

Guide to Orchestrating Containers. Running a Microservice based application on your computer. Building container images for each service of the Microservice application. Deploying a Microservice based application into a Kubernetes Managed Cluster.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published