You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
548 B
25 lines
548 B
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: tensorboards-web-app
|
|
namespace: kubeflow
|
|
spec:
|
|
podSelector:
|
|
matchExpressions:
|
|
- key: app
|
|
operator: In
|
|
values:
|
|
- tensorboards-web-app
|
|
ingress:
|
|
- from:
|
|
- namespaceSelector:
|
|
matchExpressions:
|
|
- key: kubernetes.io/metadata.name
|
|
operator: In
|
|
values:
|
|
- istio-system
|
|
ports:
|
|
- protocol: TCP
|
|
port: 5000
|
|
policyTypes:
|
|
- Ingress
|
|
|