Linux - Self Test
Q: What is bash? A: bash is a unix shell and scripting language generally used in linux based OS to interact with kernel. Q: What is shell? A: It is an optional user-level program that provides a...
Q: What is bash? A: bash is a unix shell and scripting language generally used in linux based OS to interact with kernel. Q: What is shell? A: It is an optional user-level program that provides a...
Motivation These days I spend my time on learning and exploring tools around k8s. I have access to company’s k8s cluster but I can’t break the cluster while experimenting. I have some free credits...
tree To see the hierarchy of a directory. less To open a scrollable pager of a file. head To see the first n lines of a file. # first n lines head -n 10 file.txt # first c chars head -c 10 f...
Kubernetes Scheduling What the Scheduler Does The scheduler’s job is simple to state: assign a node to every unbound Pod. A Pod is unbound when it exists as an object in etcd but has no nodeName ...
Kubernetes: RBAC and ABAC Why Authorization Matters Kubernetes is fundamentally an API-driven system. Every action — creating a Pod, reading a Secret, scaling a Deployment — is an API request to ...
Kubernetes Custom Resource Definitions (CRDs) Why CRDs Exist Kubernetes ships with a fixed set of built-in resource types — Pods, Deployments, Services, ConfigMaps. These cover most needs, but no...
Kubernetes: ConfigMaps and Secrets Why Both Exist — The Environment Parity Problem Imagine building a containerized application that works perfectly on your laptop. Now deploy it to dev, staging,...
Kubernetes Autoscaling Why Autoscaling Exists Static resource allocation is wasteful and fragile. If you size your deployment for peak traffic, you overpay 23 hours a day. If you size for average...
Kustomize and Helm Why Both Exist — The YAML Sprawl Problem Kubernetes promises declarative infrastructure — but YAML sprawl is the hidden cost most teams discover too late. As applications grow...
Kubernetes Storage Storage in Docker When a container writes a file, it writes to a writable layer on top of the image. This layer is tied to the container’s lifecycle — when the container is rem...