Kubesploit
2.09K subscribers
925 photos
185 videos
1.83K links
News and links on Kubernetes security curated by the @Learnk8s team
Website: https://kubesploit.io/
Download Telegram
This article shows how to sign every container image using Cosign keyless signing in GitHub Actions and enforce signatures at pod admission with Kyverno, using the chalk/debug npm attack as the real-world motivation.

More: https://ku.bz/7WkPPBjwH
This article reviews Kubermatic SecureGuard (KubeSG), a Kubernetes-native open source secrets manager built on OpenBao and the External Secrets Operator that automates secret rotation and delivery without app rewrites or proprietary SDKs.

More: https://ku.bz/wD-DcVMBD
This tutorial shows how to run Cloudflare Tunnels as a DaemonSet to expose services with zero open inbound ports, using liveness probes, Kubernetes Secrets, and GitOps with ArgoCD.

More: https://ku.bz/RYlKnctWf
Forwarded from LearnKube news
πŸ“£ New on LearnKube: "The mechanics of Kubernetes RBAC and how it connects users to permissions."

Kubernetes RBAC can feel confusing because the object names sound broader than the scope they actually grant.

A ClusterRole does not always mean cluster-wide access.

If you bind a ClusterRole with a RoleBinding, the permissions apply only in the namespace where the RoleBinding lives.

The article walks through:

- Why direct user-to-permission mappings do not scale
- how Roles and ClusterRoles group permissions into reusable sets
- how RoleBindings and ClusterRoleBindings connect identities to permissions
- How to test access with kubectl auth can-i

Read the full guide:
https://learnkube.com/rbac-kubernetes
This article explains how to build a highly available GKE architecture using Multi-Cluster Services and Multi-Cluster Gateway.

It covers subnet naming requirement for cross-regional internal ALBs, cluster setup via Fleet, demo app with request routing.

More: https://ku.bz/7kBX1rFD4
This tutorial teaches Kubernetes security testing from an offensive perspective, covering:

- pod compromise detection,
- service account token exploitation,
- RBAC privilege escalation,
- and tools like kubeletctl and peirates.

More: https://ku.bz/gh_lvlX5t
Forwarded from LearnKube news
This week on Learn Kubernetes Weekly 186:

πŸ”₯ 1 Million Tokens Per Second: Qwen 3.5 27B on GKE with B200 GPUs
πŸ€– How I Built Kernel: An AI-Powered IT Helpdesk That Deflects 80% of Support Tickets
βš™οΈ Ansible AWX: Infrastructure Automation on Top of Kubernetes
πŸ›‘οΈ I Setup Kubermatic SecureGuard Before It Even Existed
πŸ” SRE: Secrets Management in Kubernetes

Read it now: https://kube.today/issues/186

⭐️ This newsletter is brought to you by StormForge by CloudBolt. Stop setting Kubernetes requests. Let ML handle rightsizing https://ku.bz/2wYKp0Q2Y
This tutorial shows how to build a hub-style multi-cluster cert-manager control plane where a central hub cluster manages certificate issuance and distribution across multiple spoke clusters using cert-manager and trust-manager.

More: https://ku.bz/LKB8W3PMJ
ESP Kubernetes Reference Implementation runs compliance scanning in Kubernetes using ESP policies with pull-based agents that execute NIST, CIS, and STIG controls and produce CUI-free attestations forwarded to SIEM or cloud functions.

More: https://ku.bz/z00YcWHVS
Sealed Secrets Web is a tool that provides a web interface for managing and encrypting sensitive data in Kubernetes using the Sealed Secrets service by Bitnami.

More: https://ku.bz/WS8Y2DHgS
Forwarded from LearnKube news
πŸš€ New on LearnKube: Microservice authentication with Kubernetes Service Accounts.

Service Accounts are usually described as identities used to call the Kubernetes API.

But you can also use them to authenticate requests between services inside the cluster.

The article walks through:

- how an API service can pass its Service Account token to a data store
- how the data store can validate the token with the TokenReview API
- why accepting any valid token is not enough
- how projected Service Account tokens let you bind a token to a specific audience

Thanks to Gulcan for putting together the full walkthrough with diagrams, manifests, Go snippets, TokenReview examples, and projected Service Account tokens.

Read the full guide:
https://learnkube.com/microservices-authentication-kubernetes
This article shows a Zero Trust blueprint using mutual TLS (mTLS) and Istio security policies to make internal and external APIs secure by default, with step-by-step configs and lessons from real systems.

More: https://ku.bz/Ft_3_HxjS
This tutorial teaches how to enforce signed container images in Kubernetes using Cosign for signing, Harbor for storage, and Kyverno admission controller for verification, including custom CA trust configuration and CI/CD integration patterns.

More: https://ku.bz/CjQLsVFWf
Forwarded from LearnKube news
This week on Learn Kubernetes Weekly 187:

🧠 Applying Kubernetes Patterns to LLM Workloads
🐒 Why Your Grafana is Slow on Kubernetes (and 3 Replicas Won't Fix It)
πŸ“Š Observability at Albert Heijn
🎬 Vibe Coding a Kubernetes Media Server: What I Learned About AI-First Engineering
πŸ”Œ Installing Kong Gateway Custom Plugins on Kubernetes using Helm Charts

Read it now: https://kube.today/issues/187

⭐️ This newsletter is brought to you by WeAreDevelopers World Congress β€” The World’s Largest Event for Developers, AI Builders & Tech Leaders https://ku.bz/cwnthSpPK
This tutorial shows how to secure east-west traffic in GKE using an Internal Regional Gateway with Envoy proxies, certificates, HTTP Routes with path rewriting, and a zero-trust architecture for service-to-service communication.

More: https://ku.bz/VqqYrclKm
This tutorial teaches how to implement container image signature verification in Kubernetes using Cosign for signing, Kyverno for policy enforcement, and Sigstore Policy Controller for admission control.

More: https://ku.bz/vT_tmP0lj
This tutorial teaches how to secure LLM inference services on Kubernetes using Authorino and Envoy for authentication and authorization.

More: https://ku.bz/NWFrLKFbF
This tutorial teaches how to collect Prometheus metrics from Kubernetes clusters and securely route them to remote Prometheus instances using Vector with mTLS encryption.

More: https://ku.bz/_QBDYV4t7
This tutorial teaches how to extend EKS with hybrid nodes using IAM Roles Anywhere and HashiCorp Vault for secure authentication of on-premises or edge workloads.

More: https://ku.bz/s3DxFxdHf
Forwarded from LearnKube news
This week on Learn Kubernetes Weekly 188:

πŸ”₯ When ipBlock Breaks HTTPS in Kubernetes: Debugging NetworkPolicy, Traefik, and Hairpin Routing
πŸ”§ How Nginx's New resolve Directive Finally Fixed Our Kubernetes 502s
⚑ Before You Implement KEDA, Do This First
🀝 Why Your CI/CD Pipeline Failures Still Need a Human β€” And How We're Changing That
πŸ“Š Your SLOs Should Be Kubernetes Resources, Not Grafana Dashboards

Read it now: https://kube.today/issues/188

⭐️ This newsletter is brought to you by LearnKube β€” master Kubernetes with hands-on training designed for engineers who want to learn the smart way https://ku.bz/7py0zX-ct
Forwarded from KubeFM
Media is too big
VIEW IN TELEGRAM
Nicholaos Mouzourakis, Staff Product Security Engineer at Gusto, explains how they implemented auditable decision logging for Open Policy Agent (OPA) in their Kubernetes environment. He describes how Styra's Declarative Authorization Service (DAS) ingests and indexes OPA decision logs from all instances, making them searchable in a centralized location.

Nicholaos details how DAS enables:

- Searching for actions taken by specific users
- Identifying users with access to particular resources
- Tracking when and how access was granted
- Simulating policy changes against historical decision logs

He also mentions how they overcame challenges with legacy batch decision logs that weren't easily searchable by implementing a new batch API provided by Styra.

Watch the full episode: https://kube.fmhttps://ku.bz/S-2vQ_j-4