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.
23 lines
624 B
23 lines
624 B
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: katib-db-manager
|
|
namespace: kubeflow
|
|
spec:
|
|
podSelector:
|
|
matchExpressions:
|
|
- key: katib.kubeflow.org/component
|
|
operator: In
|
|
values:
|
|
- db-manager # the metrics loggers write directly to this database
|
|
ingress:
|
|
- from:
|
|
- namespaceSelector:
|
|
matchExpressions:
|
|
- key: app.kubernetes.io/part-of
|
|
operator: In
|
|
values:
|
|
- kubeflow-profile
|
|
- podSelector: {} # allow all pods from the same namespace
|
|
policyTypes:
|
|
- Ingress
|
|
|