Kubernetes Security: Your Guide to Securing Your Applications | The Odyssey Online
Start writing a post
News

Kubernetes Security: Your Guide to Securing Your Applications

When we think of cybersecurity and the protection of our data while online, we often think of the fact that our computers are connected to the internet – the 'Wild West' of the infinite space of the web that can host many negative and bad actors.

14
Kubernetes Security: Your Guide to Securing Your Applications

Whether or not that's an entirely reasonable assertion, there are thousands of security risks that can affect your business, and all of them are in some way related to external influences. This article looks at the influence of cloud-based threats on your business, and how to secure your containerized apps through properly securing the most popular container orchestrator: Kubernetes.

Where Apps Reside

Many businesses rely on containerized apps. They do so either to help them build and deploy faster to ensure that their digitization (also business transformation) processes are leading to positive results through faster time to deployment and updates. Containerized apps are often plugged directly into back-ends through complex systems of APIs that ultimately enable the quick and painless onboarding of third-party technologies that would otherwise take a great deal of time to onboard.

The problem with containerized apps is that they're liable to be attacked, like any other type of software, but the security threats are different and need a different approach. Most business are running some of their most critical workloads as containerized apps in the cloud, and any interruption, downtime, or security threat to these apps can wreak havoc with their business processes and will ultimately lead to your business losing money. In order to avoid this situation, they need to protect your cloud-based apps and the container orchestrators like Kubernetes.

How Kubernetes Works

A large team of thousands of scientists, researchers and developers build and maintain Kubernetes (since it has been open-sourced by its original creator, Google). At the same time, containers and Kubernetes pose new security challenges that should be addressed as you build your images into containers and pods, and deploy those pods into your running clusters.Some of those challenges include:

  • Kubernetes is easy to misconfigure
  • Network policies are by default insecure
  • The built-in security capabilities are sometimes hard to operationalize

For example, Kubernetes role-based access control (RBAC) is essentially the critical access control center for your containerized workloads, and it's where you're going to be able to regulate access to your network and your container resources. But it's easy to misconfigure the RBAC settings and make them overly permissive for easy and speed of development.

How to Maintain Your Kubernetes Security

Building a containerized app with Kubernetes security in mind is highly recommended. The shared responsibility model of cloud security dictates that you are in charge of how you build your application on IaaS platform. Here are a few ways to improve the security of your k8s:

  • Turn on RBAC
  • Ensure that you're not running containers in privileged mode, unless absolutely necessary
  • Enforce resource use limits on containers and pods
  • Start security early; don't wait until you're app is about to go into production to think about security
  • Scan your images on a regular basis, and make sure images that haven't been scanned in 90 days are not being used
  • Use trusted image registries, and blacklist any that isn't a trusted registry
  • Automate your security as much as possible and integrate security checks into your continuous improvement/continuous deployment pipeline
  • Isolate your pods by default, and write network policies that explicitly allow specific communication paths

This introduction to the complex world of Kubernetes security should help developers build and deploy more security applications that are being orchestrated by Kubernetes.

Report this Content
This article has not been reviewed by Odyssey HQ and solely reflects the ideas and opinions of the creator.
Lifestyle

10 Signs You Work In A Restaurant

There's always chaos in the restaurant business.

445
10 Signs You Work In A Restaurant
Brisanis

Working in the restaurant industry is possibly the most fundamentally challenging occupation I have ever experienced when it comes to hospitality and customer service. When you go to a five-star restaurant you expect the time of your life, a two hour getaway, a walk through another time period (rustic Italy, France, Spain, etc), or simply a honeymoon undergo. What you don't see are the behind the scenes scut work: carrying trays, polishing glassware and silverware, kitchen chaos, the list is endless. Now, I'm not saying being a host, server, or bartender is the worst thing in the whole wide world, there are definitely worse things. But the fact of the matter is that it isn't always sunshine and rainbows. In the two years that I have spent in restaurant and customer service, I have spoken my share of expletives, yelled at kitchen staff, and dealt with not-so-happy guests. It isn't easy to keep a bright and shiny smile on your face when all you want to do is choke every person who walks near you. Anyone who has spent even two weeks working in a restaurant understands the rigor and stress that comes with it. Restaurant culture is a tiny world in and of itself that operates on its own principles and creates its own society. It even has its own language. The sayings "runner", "corner", and "on a bus" wouldn't make sense to anyone otherwise. My mother and I both work in a restaurant and the best advice I can give someone going out to eat is to treat us like people. Yes...believe it or not we are people, people. Say "please" and "thank you", or stack your cleared plates before a busser gets to the table. Trust me, the gesture goes a lot farther than you may think.

So, if you work in a restaurant, you can relate with the following points. If not, check out how the brain of a restaurant service (or any customer service) worker actually works. See if you can identify any crazy weird habits your friends have a tendency to partake in.

Keep Reading...Show less
Adulting

11 Things I Learned My Freshman Year of College

Not everything you learn in college can be found in a textbook.

365
Breanna Vogel
Breanna Vogel

One of the scariest things we will ever face in our life is going to college. Many of us move away to a new town, join new organizations, and make new friends. We are expected to study, have a social life, relationships, maybe work, and be healthy. It seems pretty easy to do, and in high school all we wanted to do was graduate and move on to this next chapter of our lives. If you are in high school, here are some things that you can learn from before you get to college. If you have already been through your freshman year of college, hopefully you can relate to the things I have learned in college.

Keep Reading...Show less
how to get away with murder
Tumblr

It's about that time where we are too tired to do anything productive, too cold to leave bed, and too lazy to find a new show to watch so we result to re-runs.

For all of you home-bodies, for all of you cold weather haters, here are my suggestions for this holiday break. Let the binging begin!

Keep Reading...Show less
Relationships

12 Long-Term Relationship Milestones

You've got a keeper if you've made it to any of these milestones.

753
couple on the beach
Pexels

You've been together for so long. It's great. And as the time spent in your relationship grows, you hit certain milestones where you know it's real. These can be make-or-break moments, or just little things where you finally realize that you're both doing it. Everybody hits these milestones, no matter how long it takes; they're inevitable.

You know you've made it when you hit these long-term relationship milestones.

Keep Reading...Show less
10 Of The Best Shows To Binge Watch Over Winter Break

As the semester is coming to an end, most of us are going to have more free time on our hands. This calls for binge watching a new show on Netflix and really using this break to relax from the stress of school. Here are some of the best shows on Netflix that you should be watching.

Keep Reading...Show less

Subscribe to Our Newsletter

Facebook Comments