1apiVersion: networking.k8s.io/v1 2kind: NetworkPolicy 3metadata: 4 name: allow-scraping 5spec: 6 ingress: 7 - from: 8 - namespaceSelector: {} 9 ports: 10 - port: 8080 11 protocol: TCP 12 - port: 4191 13 protocol: TCP
View as plain text