Cloudanix Joins AWS ISV Accelerate Program

Kubernetes Security and Misconfigurations: A Practitioner's Guide with Jimmy Mesta

Learn how to secure Kubernetes clusters, avoid common misconfigurations, and choose between managed and self-hosted K8s environments.

Kubernetes is highly ephemeral, and a static scan at a point in time can become outdated within seconds. Securing it requires continuous coverage across manifests, admission control, and runtime. Jimmy Mesta, Co-founder and CTO of KSOC, has spent 15 years in application and infrastructure security, working both offensive and defensive sides. Previously at Signal Sciences (acquired by Fastly), he led a team of researchers and engineers and contributed to the OWASP Kubernetes Top Ten. In this episode, he breaks down the shared responsibility model for managed Kubernetes, misconfiguration best practices, and why learning Kubernetes deeply matters more than any tool.

You can read the complete transcript of the episode here >

How does the shared responsibility model apply to managed Kubernetes?

The shared responsibility model applies to managed Kubernetes (EKS, AKS, GKE) just as it does to other cloud services, but with Kubernetes-specific nuances.

What the cloud provider manages:

  • Control plane components (API server, scheduler, controller manager)
  • etcd (the key-value store for cluster state)
  • Underlying networking and hardware
  • Physical security of data centers

What remains your responsibility:

  • Workloads: The containers running in your pods and their security posture
  • Secrets management: Choosing and correctly implementing secrets solutions
  • Base images: Ensuring container images meet security standards
  • RBAC: Configuring role-based access control with appropriate granularity
  • Network configuration: Ensuring nodes are in the right VPC and the API server is not unnecessarily exposed to the internet
  • Dashboards and logs: Enabling and using them properly

The misconception is that a managed EKS cluster is a hardened environment by default. It is not. The cloud provider gives you guardrails and operational simplicity, but the security of what runs inside the cluster is entirely on you.

What are the best practices for avoiding Kubernetes misconfigurations?

Because Kubernetes is highly ephemeral, a point-in-time scan is insufficient. Jimmy recommends checking for misconfigurations at three stages:

  • Manifest analysis (CI/CD): Static analysis of YAML manifests before they touch a cluster. Catches low-hanging fruit early.
  • Admission control: Before a workload is scheduled onto the cluster, validate it meets baseline security standards. This is your last gate before deployment.
  • Runtime monitoring: After workloads are running, verify they behave as expected and remain configured correctly. Drift happens.

For what to check, three frameworks provide coverage:

  • CIS Benchmarks: The de facto standard for common misconfigurations. Checks for running as root, mounting sensitive file systems, privileged pods, and more.
  • NSA Hardening Guide: Guides operators toward running the most hardened cluster configuration possible.
  • OWASP Kubernetes Top Ten: A practitioner’s high-level checklist of the ten most critical areas to address.

The critical advice: do not try to achieve 100% CIS compliance on day one. It is overwhelming and possibly not achievable in all environments. Start with misconfigurations your security team has identified as relevant to your threat model, understand the impact, and have a clear remediation path. This connects to how strategies for defending Kubernetes clusters should be prioritized based on actual risk.

How does self-hosted Kubernetes differ from managed offerings?

Self-hosting Kubernetes means signing up for significant operational and security overhead that managed services abstract away:

  • Certificate authorities: You manage the PKI infrastructure for cluster communication
  • etcd configuration: Multiple security-relevant flags that managed services handle for you
  • Control plane hardening: API server, scheduler, and controller manager all need proper configuration
  • Upgrade management: Safely performing version upgrades across all components
  • Platform team requirement: You need dedicated engineers who understand Kubernetes internals deeply

The trade-offs:

ManagedSelf-Hosted
Operational overheadLowerSignificantly higher
Security configurationGuardrails providedEntirely your responsibility
CostCloud provider pricingPotentially lower infrastructure cost
FlexibilityLimited control plane accessFull configurability
Use casesStandard workloadsIoT, air-gapped, specialized

Jimmy’s recommendation: if possible, use managed Kubernetes. The security challenges of self-hosting are substantial, and most organizations underestimate the internal skill set required. Government entities and specialized use cases may justify self-hosting, but for most teams, the managed offering provides better security outcomes with less effort.

Why is learning Kubernetes more important than choosing tools?

Before recommending any tool, Jimmy recommends that teams learn Kubernetes deeply. The reasoning:

  • Context is required: Open source scanning tools produce enormous output. Without understanding what the results mean and whether they apply to your environment, you are chasing noise.
  • Tools are not programs: Running a CLI tool against one cluster does not constitute a security program. Enterprise environments with 50+ clusters across multiple regions need centralized posture management.
  • Platform teams know more: Security teams that only talk to other security people miss the operational reality. Platform engineers deal with Kubernetes in ways that security teams never touch.

Practical learning recommendations:

  • OWASP Kubernetes Top Ten: Designed as the entry point for learning, not just a checklist
  • kubernetes.io documentation: Contains extensive RBAC best practices and security content
  • Build and break clusters: Hands-on experience with creating, misconfiguring, and attacking clusters teaches more than any book
  • Learn from platform engineers: They manage the biggest clusters and understand operational trade-offs that pure security practitioners miss

This philosophy aligns with the broader principle that Kubernetes security requires understanding the platform before layering tools on top.

How should organizations approach runtime security for containers?

The statistic that 70% of clusters use open source for container and runtime security does not surprise Jimmy. His assessment:

  • Open source is fine for quick assessments: Tools like kube-bench or OPA Gatekeeper work well for individual cluster scans.
  • Enterprise programs need more: Central management, vulnerability triage, cross-cluster visibility, and integration with existing security workflows require purpose-built platforms.
  • Noise is the enemy: Without proper context and prioritization, scanning tools produce overwhelming output that teams cannot act on.

The recommendation is a threat-modeling approach rather than a checklist approach:

  • Identify what you are protecting and from whom
  • Determine which misconfigurations present real risk in your specific environment
  • Build continuous monitoring rather than periodic scans
  • Integrate findings into existing engineering workflows rather than creating separate security processes

For teams starting their container runtime security journey, the key is starting small with high-impact checks rather than trying to boil the ocean with every possible scan.

Related Resources

What Our Users Are Saying

Customer Reviews

Cloudanix is trusted by security leaders worldwide to deliver proactive, reliable, and cutting-edge cloud security.

One day, I changed the password of a root account, and my CTO called me within less than a minute to confirm if I did so. I was not expecting a reaction this quick. He told me Cloudanix alerted him of this password change and that he wanted to confirm as it was a critical security notification. I couldn't believe it!

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Compliance is one way of staying secure, but what I want is the ability to go deeper and attain 'true security.' Cloudanix provides us the capability to do so.

Vishal Madan
Vishal Madan
Head of Engineering, iMocha

Cloudanix is building for the future of the cloud, which makes the product all the more desirable.

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Cloudanix gave us the visibility we were missing. Being able to move from permanent access to a robust Just-In-Time (JIT) workflow has fundamentally changed our security posture without slowing down our engineering velocity.

Pavan Kumar Lekkala
Pavan Kumar Lekkala
SRE Lead, HugoHub

We are excited to leverage Cloudanix's comprehensive multi-cloud DevSecOps solution to secure our production workloads on AWS. Cloudanix has demonstrated that it can solve many challenges that DevSecOps teams face while continually adding new features such as SOC2 compliance and drift detection.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Managing third-party partner access was once a major concern for our security posture. With Cloudanix JIT Cloud, we've effectively achieved zero third-party risk. We can now grant access confidently, knowing that it is temporary, audited, and automatically revoked, resulting in a 100% reduction in our privileged access exposure.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

The snooze feature and responsible alerts have helped us save time and prioritize what to tackle first.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Implementing Cloudanix JIT internally allowed us to practice what we preach. By eliminating permanent access to our own clouds and databases, we've neutralized the risk of standing privileges, ensuring our own 'keys to the kingdom' are never left exposed.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

The problem with permissions is a lot of times, the gaps are left open due to oversights from inside the organization itself. With Cloudanix's CIEM, we get a complete view of user permissions and access. This enables us to update the permissions, reducing the attack surface.

Nilesh Pethani
Nilesh Pethani
Application Architect, iMocha

In the world of Fintech, trust is our currency. Cloudanix provided the frictionless visibility we needed to secure our EKS workloads across AWS, ensuring we stay audit-ready for SOC2 and GDPR without slowing down our engineering velocity.

Amol Naik
Amol Naik
Head of Security & Infrastructure, HugoHub

Cloudanix delivered value within 5 minutes of onboarding. Continuous monitoring, timely detection, and excellent documentation helped us attain a great cloud security posture.

Divyanshu Shukla
Senior DevSecOps, Meesho

Technology strategies and business strategies are in a state of constant change which includes centralization and decentralization of responsibilities. Regardless of strategic shift, we still have intellectual property to protect. Cloudanix are critical partners for us in our public cloud security posture across our three cloud providers.

Jerry Locke
Jerry Locke
Senior Director Global Solutions Engineering, Eversana

Cloudanix has been amazing. They opened up a common Slack channel with us — and it feels like we are talking to our own team and getting things done with Cloud security. The support team is always available, friendly, helpful, and ready to go out of their way.

Satish Mohan
Satish Mohan
CTO, Airgap Networks

Beyond just access management, Cloudanix CSPM has given us a unified view of our AWS environment. The real-time alerting and anomaly detection allow us to prevent any untoward activity before it happens, which is critical for a marketplace connecting 50+ financial institutions.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

For a Fintech company, data is our most valuable — and most sensitive — asset. Cloudanix DAM hasn't just improved our visibility; it has given us control. The ability to mask data and prevent unauthorized queries in real-time is a game-changer for our compliance and customer trust.

Jiten Gala
Jiten Gala
President Engineering and Product, Kapittx

Our clients, especially in the Middle East financial sector, demand absolute accountability. Cloudanix JIT Cloud has been a competitive differentiator for us, allowing us to provide secure, governed access to customer accounts that meet their strictest audit and compliance requirements.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

Cloudanix is always on my team's lips because of its exceptional support. Be it a small or big query, Cloudanix has gone above and beyond to resolve them. This one's a keeper for us.

Sujit Karpe
Sujit Karpe
CTO, iMocha

For a long-lasting partnership, great support goes a long way. Cloudanix has delivered exceptional support whenever required. Their edge is their team is always ready to go beyond to solve any issues that we have. This speaks volumes about the culture at Cloudanix.

Akash Maheshwari
Akash Maheshwari
Co-founder, MoveInSync

Beyond the technology, Cloudanix feels like an extension of our own team. Their willingness to stand up a dedicated Middle East tenant for us and provide exceptional support at a sensible price makes them a long-term partner for Hugosave.

Surya Tamada
Surya Tamada
CTO, HugoHub

The real-time notifications that Cloudanix provides are a real lifesaver. Their adaptive notifications ensure that my team stays productive and doesn't get interrupted all the time.

Digvijay Singh
Staff Security Engineer, Meesho

The whole point in technological evolution is to help improve the world we live in. We must protect that and to do so requires an effective and efficient security strategy. The Cloudanix team helped make our public cloud security posture management strategy a reality. The symbiotic relationship we have allows for a continuous feedback loop which is how business should operate.

Larry Wheat
Larry Wheat
Staff Solutions Engineer, Eversana

Ready to see your graph?

Connect a cloud account in under 30 minutes. See every finding rooted in identity, asset, and blast radius — with a fix path attached.

Book a Demo