Created
December 21, 2018 01:22
-
-
Save SaifRehman/abf02281581e58a4606075c15c731396 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: extensions/v1beta1 | |
kind: NetworkPolicy | |
metadata: | |
name: bookingsvcpolicy | |
namespace: default | |
spec: | |
ingress: | |
- ports: | |
- protocol: TCP | |
port: 3000 | |
- from: | |
- podSelector: | |
matchLabels: | |
istio: ingress | |
podSelector: | |
matchLabels: | |
app: bookingsvc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment