Skip to content

beaver-infra/snippets-container-orchestration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snippets Container Orchestration

Env Setup

Setup Postgres

kubectl create secret generic pgpassword --from-literal PGPASSWORD=postgres
kubectl apply -f k8s_postgres

Setup Redis

kubectl apply -f k8s_redis

Setup Py REST API v1.1.5 (docker image)

kubectl apply -f k8s_pyrest

Diagram

Implementation Example

K8s Terms

Ingress

Deploy ingress-nginx controller

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.2/deploy/static/provider/cloud/deploy.yaml
minikube addons enable ingress
kubectl apply -f k8s-ingress.yaml
kubectl get ingress

About

Reusable snippets on container and orchestration tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published