Skip to content
tezvyn:

Search

Find a bite, explore a topic or look for a role.

Results for Kubernetes

Bites 384

Explain the concept of a sidecar container in Kubernetes
CI/CD & Automation2 min read

Explain the concept of a sidecar container in Kubernetes

Tests Pod multi-container patterns. A strong answer defines sidecars as co-located helpers sharing network and storage, cites service mesh or log forwarding, and argues for reuse and separate lifecycles. Red flag: calling it another Pod or legacy workaround.

How ensure Kubernetes pulls correct new image and why avoid :latest?
CI/CD & Automation2 min read

How ensure Kubernetes pulls correct new image and why avoid :latest?

Tests immutable tagging and Kubernetes image pull behavior. Strong answers demand unique tags like git SHA, explicit deployment spec updates, and explain :latest's reproducibility failures across nodes.

Describe secure secret injection into Kubernetes containers during CI/CD
CI/CD & Automation2 min read

Describe secure secret injection into Kubernetes containers during CI/CD

Tests production secret injection hygiene in Kubernetes CI/CD. Strong answers: external secret store at deploy time, volume mounts over env vars, etcd encryption, RBAC least privilege, and rotation.

MLOps & Infrastructure2 min read

Argo Workflows: Run Complex Jobs on Kubernetes

Think of Argo Workflows as a script runner for Kubernetes, where each command is a container. It runs multi-step jobs like CI/CD or ML pipelines. The footgun is treating it like a full CI server; it's just an engine and lacks features like Git polling.

MLOps & Infrastructure2 min read

Kubeflow: MLOps on Kubernetes

Kubeflow brings the declarative, container-based world of Kubernetes to the entire ML lifecycle. It provides tools for building portable and scalable ML workflows, from development to production serving.

Docker & Kubernetes2 min read

Kubebuilder: Build Kubernetes APIs the Canonical Way

Kubebuilder is a framework for scaffolding custom Kubernetes APIs, letting you define your own resources like MyWebApp. Use it to extend Kubernetes with declarative APIs, making your app a first-class citizen.

Docker & Kubernetes2 min read

OPA Gatekeeper: Enforce Kubernetes Policies as Code

OPA Gatekeeper is a Kubernetes admission controller using OPA to enforce policies on resources. Use it to mandate labels or block insecure images. The footgun is thinking it's just OPA; Gatekeeper adds K8s-native CRDs, auditing, and mutation capabilities.

CSI Volume Cloning: `cp` for Kubernetes Volumes
Docker & Kubernetes2 min read

CSI Volume Cloning: `cp` for Kubernetes Volumes

Think of volume cloning as cp for your Kubernetes data. It creates a new, independent volume pre-populated with data from an existing one, offloading the copy operation to your storage provider.

Kubernetes Secrets: Encrypting Data at Rest
Docker & Kubernetes2 min read

Kubernetes Secrets: Encrypting Data at Rest

By default, Kubernetes Secrets are only base64-encoded, not encrypted. Encryption at rest makes the API server encrypt Secret data before saving to etcd, protecting against compromised backups.

Docker & Kubernetes2 min read

Kubernetes Gateway API: The Successor to Ingress

The Gateway API replaces Kubernetes Ingress with a role-oriented model, separating infrastructure from application routing. Use it when different teams need to manage their own traffic rules.

kube-apiserver: The Front Door to Your Kubernetes Cluster
Docker & Kubernetes2 min read

kube-apiserver: The Front Door to Your Kubernetes Cluster

The kube-apiserver is the front door to your Kubernetes control plane. All requests to query or modify the cluster's state must pass through it, from kubectl commands to automated controller actions. The footgun is bypassing it to modify etcd directly.

Kubernetes' Declarative Model: Desired vs. Actual State
Docker & Kubernetes2 min read

Kubernetes' Declarative Model: Desired vs. Actual State

The declarative model is like telling Kubernetes your destination, not giving it turn-by-turn directions. You define the desired state in a file, and Kubernetes works to make it a reality. This enables self-healing and GitOps.

Kubernetes API Aggregation Layer: Extending the API Server
Docker & Kubernetes2 min read

Kubernetes API Aggregation Layer: Extending the API Server

The API Aggregation Layer bolts custom API servers onto the main Kubernetes API, with kube-apiserver acting as a proxy. This powers features like the metrics server (kubectl top) and enables complex extensions.

Docker & Kubernetes2 min read

controller-runtime: The Engine for Kubernetes Operators

Think of controller-runtime as the standard library for writing Kubernetes controllers. It handles the boilerplate of watching resources and reconciling state, forming the foundation for tools like Kubebuilder and Operator SDK.

Kubernetes Finalizers: The 'Do Not Delete Yet' Lock
Docker & Kubernetes2 min read

Kubernetes Finalizers: The 'Do Not Delete Yet' Lock

A finalizer is a pre-deletion lock. It tells Kubernetes to block an object's deletion until a controller cleans up external resources, like a cloud database or storage bucket.

Docker & Kubernetes2 min read

Operator SDK: Build Kubernetes Operators Faster

The Operator SDK is a developer toolkit that scaffolds the boilerplate for building, testing, and packaging Kubernetes Operators. Use it to automate complex application lifecycle management, like deploying a database cluster that can self-heal and perform…

Custom Resource Definitions (CRDs): Teach Kubernetes New Tricks
Docker & Kubernetes2 min read

Custom Resource Definitions (CRDs): Teach Kubernetes New Tricks

CRDs let you define your own resource types, teaching Kubernetes new nouns like Database or Backup. This is how operators manage complex apps declaratively. The footgun is that a CRD only defines the API; you still need a controller to act on the objects.

Docker & Kubernetes2 min read

Helm Repository: Your Private App Store for Kubernetes

A Helm repository is a private app store for your Kubernetes applications. It's just an HTTP server with a catalog file (index.yaml) pointing to your packaged charts. Use it to share reusable app templates across teams without using public registries.

Docker & Kubernetes2 min read

Helm: The Package Manager for Kubernetes

Helm is like apt or Homebrew for Kubernetes. It bundles all your app's YAML files into a single manageable package called a Chart, solving "YAML sprawl." Use it to install complex apps with one command or to package your own for repeatable deployments.

Kubernetes Cluster-Level Logging
Docker & Kubernetes2 min read

Kubernetes Cluster-Level Logging

Cluster-level logging treats logs as a stream, not as files on ephemeral pods. It centralizes logs from all nodes before they disappear when a pod dies, which is essential for debugging any production application.