Skip to main content
AI
  • Get started with AI

    • Red Hat AI

      Accelerate the development and deployment of enterprise AI solutions.

    • AI learning hub

      Explore learning materials and tools, organized by task.

    • AI interactive demos

      Click through scenarios with Red Hat AI, including training LLMs and more.

    • AI/ML learning paths

      Expand your Red Hat OpenShift AI knowledge using these learning resources.

    • AI quickstarts

      Focused AI use cases designed for fast deployment on Red Hat AI platforms.

    • No-cost AI training

      Foundational Red Hat AI training.

  • Featured resources

    • Red Hat OpenShift AI
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

Red Hat AI Factory with NVIDIA

Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.

Learn
  • Self-guided

    • Documentation

      Find answers, get step-by-step guidance, and learn how to use Red Hat products.

    • Learning paths

      Explore curated walkthroughs for common development tasks.

    • Guided learning

      Receive custom learning paths powered by our AI assistant.

    • See all learning
  • Hands-on

    • Developer Sandbox

      Spin up Red Hat's products and technologies without setup or configuration.

    • Interactive labs

      Learn by doing in these hands-on, browser-based experiences.

    • Interactive demos

      Click through product features in these guided tours.

  • Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics
  • Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
Build
  • Get started

    • Red Hat build of Podman Desktop

      A downloadable, local development hub to experiment with our products and builds.

    • Developer Sandbox

      Spin up Red Hat's products and technologies without setup or configuration.

  • Download products

    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products
  • Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset
  • References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
Community
  • Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions
  • Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github
  • Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

Join the Red Hat Developer program

Download Red Hat products and project builds, access support documentation, learning content, and more.

ConsoleDocsSupport Search
New For you

Recommended

We'll recommend resources you may like as you browse. Try these suggestions for now.

  • Product downloads
  • Cheat sheets
  • Red Hat Developer learning portal
  • Developer blog
  • E-books
  • Developer Sandbox
Log in

Get more with a Red Hat Developer account

  • Product downloads
  • Console access
  • Event registration
  • Training & trials
Explore more account benefitsLog in or register

A subscription may be required for some services.

Contact us

Kubernetes security risks that keep developers up at night

June 13, 2022
Ajmal Kohgadai Andy Oram
Related topics:
KubernetesSecurity
Related products:
Red Hat OpenShift

    In a recent Red Hat survey of more than 300 production-level Kubernetes users, 93% of respondents admitted to experiencing at least one security incident in their Kubernetes environments during the previous year—and 31% of respondents say they experienced revenue or customer loss during that year as a consequence.

    Our industry can do better. This article summarizes findings from the survey, reported in our 2022 State of Kubernetes security report, and highlights the weak points of Kubernetes security today along with a path forward involving DevSecOps.

    Note: Most of the material in this article comes from the Red Hat report, 2022 State of Kubernetes security.

    Security is one of the top concerns with container strategies

    With security incidents in these environments being a nearly universal experience, it should come as no surprise that security remains a top concern among survey respondents when it comes to container strategies.

    Taken together, concerns about security threats to containers (14%) and a lack of investment in container security (17%) show that security is the top concern with container strategies, at 31%. Another 22% of respondents cited the slow pace of progress as their biggest concern, while 20% consider skills gaps to be the thing that worries them the most (Figure 1).

    Respondents reported a variety of difficulties when implementing security on containers.
    Figure 1: Respondents reported a variety of difficulties when implementing security on containers.

    Why are organizations suffering from so many production security problems?

    Nearly 53% of respondents have experienced a misconfiguration incident in their environments over the previous year (Figure 2). Among all respondents, 38% discovered a major vulnerability, and 30% said they have suffered a runtime security incident. Lastly, 22% said they had failed an audit.

    Misconfiguration is the most common security flaw.
    Figure 2: Misconfiguration is the most common security flaw.

    A combination of factors are likely behind the disruption, including:

    • A lack of security knowledge about containers and Kubernetes
    • Inadequate or unfit security tooling
    • Inability of central security teams to keep up with fast-moving application development teams.

    Runtime—sometimes also known as Day 2 operations or the post-deployment stage—is the container life cycle phase that organizations worry about the most: This phase is highlighted by 57% of respondents. This concern seems counterintuitive, given that an overwhelming majority of respondents identify misconfiguration as the source of the biggest security risk and have experienced a misconfiguration incident more often than any other type of security incident.

    Behind the respondents' concern for the runtime phase lies the origin of bugs in the build or deploy stage. The negative impact of a security misstep at the build or deploy stages is likely to be felt only after an application is running in production. Incident response, a key aspect of security, is also more complicated at runtime. Lastly, security issues discovered at runtime are likely more costly to fix as well. Together, these factors make heightened runtime security worries more understandable.

    Kubernetes and containers, while powerful, were designed for developer productivity, not necessarily security. Default pod-to-pod network settings, as an example, allow open communication to quickly get a cluster up and running, at the expense of security hardening.

    Respondents worry about misconfiguration above all other security concerns

    Kubernetes is a highly customizable container orchestrator, with various configuration options that affect an application’s security posture.

    Consequently, respondents worry the most about exposures due to misconfigurations in their container and Kubernetes environments (46%)—nearly three times the level of concern over attacks (16%). Vulnerabilities constitute the second-leading cause of worry (28%). See Figure 3.

    Respondents are most worried about misconfigurations and exposures.
    Figure 3: Respondents are most worried about misconfigurations and exposures.

    Configuration management poses a uniquely difficult challenge for security practitioners. The persons responsible for configuring workloads might not understand the security implications of various settings within Kubernetes. Although a host of tools are available for vulnerability scanning of container images, configuration management has no such automated help. Each configuration option requires consideration and will likely be unique to organizations and teams, depending on their risk tolerance and level of workload sensitivity.

    People avoid deploying the Kubernetes dashboard because it indulges poor development practices: the dashboard rewards one-off activities instead of more robust automation. But security measures, such as configuring a pod’s security context or implementing Kubernetes role-based access control (RBAC), are challenging and tempt administrators to resort to the dashboard.

    The best way to address this challenge is to automate configuration management as much as possible, so that security tools—rather than humans—provide the guardrails that help developers and DevOps teams configure containers and Kubernetes more securely.

    Security concerns hinder innovation

    Modern development practices (notably DevOps) are running head-on against traditional security practices, and both practices need to adapt.

    Organizations are transforming how they build, run, and scale applications by adopting cloud-native technologies such as Kubernetes and microservices-based application architectures. Some are building all new applications as microservices, while others refactor existing applications alongside pre-existing monoliths. Organizations therefore must also transform their security across their cloud-native stack. The term DevSecOps represents the increasingly popular incorporation of security measures into DevOps pipelines.

    More rapid release cycles, faster bug fixes, and greater flexibility to run and manage applications across hybrid environments are three of the most often cited benefits of containerization. However, when security becomes an afterthought, you could end up negating the greatest gain of containerization: agility. The majority of survey respondents (55%) have had to delay an application rollout because of security concerns over the last 12 months (Figure 4).

    Most respondents admit to holding up deployment because of a security concern.
    Figure 4: Most respondents admit to holding up deployment because of a security concern.

    New technologies often create unforeseen security challenges. Some organizations are overwhelmed by security needs that stretch across all aspects of the application life cycle, from development through deployment and maintenance. They need a simplified way to protect their containerized applications without slowing development or increasing operational complexity.

    Conclusion

    A recent study revealed that human error was a major contributing factor in 95% of breaches. The best way to improve security is to automate best practices, but as we've seen in this article, automating security in a declarative, YAML-driven configuration is complex. Cooperation among developers, operators, and security teams is needed to get all the configuration operations in place. Working on a platform that provides a secure environment and tools can get you to your desired level of protection faster.

    Recent Posts

    • A day in the life of an NVIDIA H100 on Red Hat OpenShift 5

    • Migrate BuildConfigs to builds for Red Hat OpenShift with one plug-in install

    • Run Red Hat Enterprise Linux CoreOS on NVIDIA BlueField DPUs

    • Agent harness engineering: Separating model capabilities from enforcement

    • What's new for developers in Red Hat Enterprise Linux 10.3 and 9.9

    What’s up next?

    Getting GitOps e-book card

    Learn how to navigate the complex world of modern container-based software development and distribution with Getting GitOps: A Practical Platform with OpenShift, Argo CD, and Tekton.

    Download the e-book
    Red Hat Developers logo

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    Red Hat Developer

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility
    Ask AI