-
Notifications
You must be signed in to change notification settings - Fork 85
/
COE_Kubernetes.txt
48 lines (37 loc) · 1.13 KB
/
COE_Kubernetes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
COE Features: --> Kubernetes (K8s)
1. Auto Self-Healing
2. Automated Deployment
3. Auto-Scaling of containers
4. Auto-Load Balancing
5. Auto-Scheduling of containers of nodes
No Downtime
Performance
Reliability
Cost-Optimized
Security
Kubernetes --> 2015
Google
Borg
Open-Source
Google has donated K8s to CNCF
Kubernetes Setup
1. Manual installation - KUBEADM
https://github.com/raushan8586/DevOps_ClassNotes/blob/master/Kubernetese/Kubernetes_setup.txt
2. Cloud Managed Services --> EKS (ELastic Kubernetes Service), AKS, GKE (Google Kubernetes Engine)
https://console.cloud.google.com/
Create Kubernetes Cluster in GKE
gcloud container clusters create intellipaat-cluster --num-nodes=2 --zone=us-central1-a
gcloud container clusters delete intellipaat-cluster --zone=us-central1-a
Kubernetes Objects/Resources
Pods --> has the container, 1-1 mapping (1 pod:1 container)
Replica Set --> maintain a stable number of replica pods
Deployment
Services --> NodePort, LoadBalancer, ClusterIP
Volumes
ConfigMap
Secrets
Kind - apiVersion
Pod - v1
Service - v1
ReplicaSet - apps/v1
Deployment - apps/v1