Created
April 8, 2019 16:23
-
-
Save dictvm/85a42c049b0ab72a38cc8ad5a921d64d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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