cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1230
Views
5
Helpful
0
Replies

NetworkPolicy with pod selector representation at HPP

maxlog
Level 1
Level 1

Hi.

I have some question about k8s networkpolicy with selectors to pods or NS. My simple example NP is

 

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: access-hello-label-pod
namespace: test
spec:
podSelector: {}
policyTypes:
- Ingress
ingress:
- from:
- podSelector:
matchLabels:
app: network-multitool-ex2
ports:
- protocol: TCP
port: 8080

 

From APIC point of view it's look like empty HPP record, i tried get it via GUI, API, doesn't matter

If i use ipBlock instead of podselector/nodeselector my HPP looks correct with full parameters

 

0 Replies 0

Save 25% on Day-2 Operations Add-On License