Please enable JavaScript.
Coggle requires JavaScript to display documents.
12 Factor App
using K8s
Naeem
https://12factor.net/ - Coggle Diagram
12 Factor App
using K8sNaeem
https://12factor.net/
IV. Backing services
-
K8s application that interacts with a database. App is isolated from that database with connection details
(Attached via Config/Secrets)
I. Codebase
Defn: One codebase tracked in
revision control, many deploys
-
X. Dev/prod parity
Defn: Keep development, staging
and production as similar as possible
K8s: Using Selector and
Lables this is achieved.
NameSpaces for Dev
,QA and Prod Env
V. Build, release, run
-
k8s and docker use concept of taging and versioning for images.
k8s uses Deployment, relicaSets and DaemonSets for running the app
k8s uses package management like Helm for release and deployment
-
-
VI. Processes
-
K8s: Deployment and relicaSets are responsible for stateless process as request is catered by same container
VII. Port binding
-
k8s uses concept of NodePort Services, load balancer for port binding
-
-
-
XII. Admin processes
-
k8s uses Replicset/Deployment
to start new pods if any pod goes down
Secheduler in k8s manages the
task for assigning Pod to Node