Skip to content

Instantly share code, notes, and snippets.

@EliFuzz
EliFuzz / Kubernetes (k8s) Deployment Stategies.md
Last active August 21, 2023 05:32
Kubernetes (k8s) Deployment Stategies

| Strategy | Description | Use Cases | Example

@EliFuzz
EliFuzz / Best Practices: Kubernetes (k8s) ReplicaSet.md
Created August 18, 2023 05:33
Best Practices: Kubernetes (k8s) ReplicaSet
Aspect Description
@EliFuzz
EliFuzz / Best Practices: Kubernetes Pods.md
Last active August 17, 2023 06:10
Best Practices: Kubernetes Pods
Use Feature Explanation
Labels and selectors Identify and group Pods using key-value pairs and expressions that match labels
Annotations Store additional metadata about Pods using key-value pairs
Init containers Perform initialization tasks before main containers start
Sidecar containers Enhance or extend the functionality of main containers by running alongside them
Ephemeral containers Debug Pods by injecting temporary containers into a running Pod
Resource requests and limits Control CPU and memory consumption by specifying parameters for
@EliFuzz
EliFuzz / Kubernetes (k8s):Comparison Table of Alternatives.md
Created August 16, 2023 07:23
Kubernetes (k8s):Comparison Table of Alternatives
Platform Description Key Features Pros Cons
Kubernetes Container orchestration tool - Automatic scaling - Self-healing - Load balancing - Rolling updates - Large community support
@EliFuzz
EliFuzz / Kubernetes (k8s): Alternatives.md
Created August 15, 2023 04:36
Kubernetes (k8s): Alternatives
Container Orchestration Tool Description Suitable Use Cases
Docker Swarm Native clustering solution for Docker, simpler and easier to use than Kubernetes, suitable for small to medium-sized applications Small to medium-sized applications, easy to use, no complex orchestration required
Mesos/Marathon Distributed system for running containers and other workloads
@EliFuzz
EliFuzz / Kubernetes (k8s): Benefits.md
Created August 15, 2023 04:33
Kubernetes (k8s): Benefits
Benefit Description
Container Orchestration Savings Kubernetes automates manual processes, reduces need for redundant servers and administration, and handles failures and repairs automatically, saving time and money
Increased DevOps Efficiency Kubernetes streamlines development, testing, and deployment processes with lightweight and self-contained containers, easy CI/CD tools like Helm charts, pipelines, and operators, and improved workflow automation
@EliFuzz
EliFuzz / Kubernetes (k8s) Terminology: Containerization.md
Created August 15, 2023 04:16
Kubernetes (k8s) Terminology: Containerization
Term Definition
Container A lightweight, standalone, and executable package of software that includes everything needed to run a piece of code
Container Environment Variables Name=value pairs that provide useful information into containers running in a pod
Container Runtime The software that is responsible for running containers
Container Runtime Interface (CRI) An API for container runtimes to integrate with kubelet on a node
@EliFuzz
EliFuzz / Kubernetes (k8s) Terminology: Infrastructure.md
Created August 15, 2023 04:15
Kubernetes (k8s) Terminology: Infrastructure
Term Definition
Kubelet An agent that runs on each node and communicates with the API server, managing the cluster's resources and providing a layer of abstraction between the runtime environment and Kubernetes APIs
API Server The component of the Kubernetes control plane that exposes the Kubernetes APIIt is the front end for the Kubernetes control plane
cgroup (control group) A group of Linux processes with optional resource isolation, accounting and limits
@EliFuzz
EliFuzz / Kubernetes (k8s) Terminology: Security.md
Created August 15, 2023 04:11
Kubernetes (k8s) Terminology: Security
Term Definition
Secret An API object that securely stores sensitive data in key-value pairs
@EliFuzz
EliFuzz / Kubernetes (k8s) Terminology: Storage.md
Created August 15, 2023 04:10
Kubernetes (k8s) Terminology: Storage
Term Definition
Volume An abstraction that provides persistent storage for pods