Introduction: Basic About Kubernetes Cluster

OpikTaufiq1 19 views 12 slides Mar 06, 2025
Slide 1
Slide 1 of 12
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12

About This Presentation

Introduction: Basic About Kubernetes Cluster


Slide Content

Introduction to Kubernetes What is Kubernetes? An open-source container orchestration platform. Automates deployment, scaling, and operations of containerized applications.

Why Use Kubernetes? Automated container management. Scalability and load balancing. Self-healing and fault tolerance. Multi-cloud and hybrid cloud support.

Kubernetes Architecture Master Node: Controls the cluster. Worker Nodes: Run containerized applications. Key components: API Server, Scheduler, Controller Manager, etcd.

Kubernetes Components Pods: Smallest deployable unit. Deployments: Manage pod lifecycle. Services: Expose applications. ConfigMaps and Secrets: Store configurations securely.

Installing Kubernetes Use Minikube for local setup. Install kubectl CLI tool. Deploy a Kubernetes cluster using kubeadm or managed services (GKE, EKS, AKS).

Basic Kubernetes Commands Check cluster info: kubectl cluster-info List nodes: kubectl get nodes Deploy an application: kubectl apply -f deployment.yaml Check running pods: kubectl get pods Expose a service: kubectl expose deployment myapp --type=NodePort --port=8080

Creating a Deployment Example deployment YAML: apiVersion: apps/v1 kind: Deployment metadata: name: myapp spec: replicas: 2 selector: matchLabels: app: myapp template: metadata: labels: app: myapp spec: containers: - name: myapp image: nginx ports: - containerPort: 80

Scaling Applications Manually scale pods: kubectl scale deployment myapp --replicas=5 Use Horizontal Pod Autoscaler (HPA). Monitor resource usage with Prometheus and Grafana.

Kubernetes Networking Cluster networking model. Services and Ingress for external access. Load balancing across pods.

Kubernetes in Production Use Helm for package management. Monitor and log with Prometheus, Grafana, and Fluentd. Secure clusters with RBAC and Network Policies.

Summary Kubernetes simplifies container orchestration. Enhances scalability, reliability, and automation. Learn and integrate Kubernetes into your infrastructure!

Q&A Any questions?
Tags