Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-cluster-autoscaler
namespace: kube-system
spec:
podSelector:
matchLabels:
app: cluster-autoscaler
policyTypes:
- Ingress
ingress:
- ports:
- port: 8085
protocol: TCP
- from:
- namespaceSelector:
matchLabels:
name: monitoring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.