training
This commit is contained in:
11
training/np/1-np.yaml
Normal file
11
training/np/1-np.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: all-deny
|
||||
namespace: isolated
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app: http
|
||||
policyTypes:
|
||||
- Egress
|
||||
Reference in New Issue
Block a user