Kubernetes 网络策略配方

可直接复制粘贴的 Kubernetes 网络策略配方示例。「Example recipes for Kubernetes Network Policies that you can just copy paste」

Github stars Tracking Chart

You can get stuff like this
You can get stuff like this with Network Policies...

Kubernetes Network Policy Recipes

This repository contains various use cases of Kubernetes
Network Policies
and sample YAML files to leverage in your setup. If you ever wondered
how to drop/restrict traffic to applications running on Kubernetes, read on.

Easiest way to try out Network Policies is to create a new Google Kubernetes
Engine
cluster. Applying Network
Policies on your existing cluster can disrupt the networking. At the time of
writing, most cloud providers do not provide built-in network policy support.

If you are not familiar with Network Policies at all, I recommend reading my
Securing Kubernetes Cluster Networking
article first.

Before you begin

I really recommend watching my KubeCon talk on Network
Policies
if you want to get a
good understanding of this feature. It will help you understand this repo
better.

Basics

Namespaces

Serving External Traffic

Advanced

Controlling Outbound (Egress) Traffic ???


Author

Created by Ahmet Alp Balkan (@ahmetb).

Copyright 2017, Google Inc. Distributed under Apache License Version 2.0 ,see LICENSE for details.

Disclaimer: This is not an official Google product.

Stargazers over time

Overview

Name With Ownerahmetb/kubernetes-network-policy-recipes
Primary Language
Program language (Language Count: 0)
Platform
License:Apache License 2.0
Release Count0
Created At2017-07-30 06:43:24
Pushed At2024-03-19 12:33:34
Last Commit At2024-03-19 13:33:34
Stargazers Count5.5k
Watchers Count167
Fork Count1.7k
Commits Count153
Has Issues Enabled
Issues Count53
Issue Open Count5
Pull Requests Count38
Pull Requests Open Count1
Pull Requests Close Count12
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top