Sachin Chaurasiya

Tag

#Kubernetes

31 items tagged Kubernetes.

All tags

Articles 18

CI/CD intermediate

Argo CD ApplicationSets for Multi-Environment Delivery

Replace hand-copied Argo CD Applications with an ApplicationSet driven by per-environment config files: the Git file generator, templatePatch for automated versus manual sync, AppProject boundaries and deletion policy.

14 min read
Cloud Security beginner

Cloud Identity and Least Privilege: Humans, Workloads and CI

Human and workload identities and the credentials that carry them: why static keys are dangerous, how a bound short-lived token differs from a legacy one, how CI assumes a role without a key, and how to scope each one.

13 min read
Kubernetes intermediate

Kubernetes Health, Resources and Reliability

What readiness, liveness and startup probes do (with a failing one of each), how requests decide scheduling and limits decide OOMKilled and throttling, what the cgroup counters show, and how termination grace works.

11 min read
Observability intermediate

Kubernetes Observability with Prometheus, Grafana and Loki

kube-prometheus-stack, Loki in single-binary mode and Alloy on a kind cluster; the PromQL and LogQL that answer operational questions; low-cardinality log labels; a real OOM restart loop diagnosed end to end.

21 min read
Kubernetes intermediate

Kubernetes Scaling, Rollouts and Recovery

Manual scaling, rolling updates and rollback as an operator sees them, and a HorizontalPodAutoscaler on kind with metrics-server: real utilisation figures, a 2-to-6 scale-up under load, and the scale-down window.

11 min read
Kubernetes intermediate

Kubernetes Services, Networking and DNS: Following One Request

How a request finds a pod: cluster DNS, the Service ClusterIP, the EndpointSlice the selector fills, port versus targetPort, headless Services and Ingress in outline; each inspected on a kind cluster, mistakes included.

9 min read
Kubernetes intermediate

Kubernetes Workloads and Controllers: Choosing and Reading Them

Deployments, StatefulSets, DaemonSets, Jobs and CronJobs on a real three-node cluster: what kubectl reports, what happens when you delete a pod of each kind, why a DaemonSet skips the control plane, and which to use.

10 min read
Cloud Security intermediate

Logging, Audit and Security Visibility: Who Did What, From Where

Application, infrastructure and audit logs and what each answers; Kubernetes API audit logging enabled on a real cluster, tuned from lease noise to the events that matter, and read for denied and privileged requests.

13 min read
DevOps intermediate

Platform Engineering Foundations: Defining the Platform Contract

The operating model behind the CI templates, ApplicationSets, Kyverno guardrails and observability stack on this site: what a team hands over, what the platform returns, where the golden path ends and enforcement begins.

11 min read
DevOps intermediate

Platform Guardrails with Kyverno and GitOps

Kyverno as a platform guardrail system: baseline and production policy layers keyed on namespace labels, delivered by Argo CD from one repository, rolled out audit-first, with scoped expiring exceptions.

17 min read
CI/CD intermediate

GitOps Deployment with Argo CD

Install Argo CD, model applications and projects, enable automated sync with pruning and self-heal, and lock the control plane down so Git really is the only way to change the cluster.

9 min read
Kubernetes intermediate

Kubernetes Security Checklist for Production Clusters

A layered checklist — control plane, workloads, network, secrets, supply chain and runtime — with the manifests and commands to verify each control rather than just tick it.

10 min read

Labs 2

Lab

Least-Privilege Kubernetes RBAC for a Deployer Service Account

Create a service account that can roll out Deployments in one namespace and nothing else, prove the boundary with impersonation and a real short-lived token, and audit the cluster for wildcard roles and anonymous access.

intermediate 35 minutes Kubernetes
Lab

Enforce Pod Security with Pod Security Admission and Kyverno

On a kind cluster, turn on the restricted Pod Security profile for a namespace, watch it reject a default pod, then add a Kyverno ValidatingPolicy in Audit mode, read the PolicyReport, and switch it to Deny.

intermediate 45 minutes Kubernetes · Kyverno

Tools 7

deploy GitOps delivery

Argo CD

Declarative GitOps continuous delivery controller for Kubernetes.

protect Secrets management

HashiCorp Vault

Centralised secrets management with dynamic, short-lived credentials.

deploy Kubernetes packaging

Helm

Package manager for Kubernetes: templated charts with versioned releases.

deploy Orchestration

Kubernetes

Container orchestration platform and the deployment target for most of the toolchain.

protect Admission policy

Kyverno

Kubernetes-native policy engine: validate, mutate, generate and verify images with YAML.

observe Metrics & alerting

Prometheus

Pull-based metrics collection, storage and alerting with PromQL.

Toolbox 4