Please find the README in every folders.
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
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]
To learn more about Kubernetes and other related topics check the following examples with the Sentiment Analysis application:
- Kubernetes Volumes in Practice:
- Ingress Controller - simplified routing in Kubernetes
- Docker Compose in Practice
- Istio around everything else series
- Simple CI/CD for Kubernetes with Azure DevOps
- Envoy series - to be added!
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