File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ pipeline:
5151 output: proto
5252 - input: Bytes
5353 output: bytes
54+ - input: SequenceNum
55+ output: sequenceNum
56+ - input: Packets
57+ output: packets
5458 type: generic
5559 - network:
5660 rules:
@@ -228,9 +232,10 @@ main() {
228232 deploy-pod-to-pod-workload
229233 deploy-flowlogs2metrics
230234 echo " :::====> Done executing"
231- echo " Use: kubectl logs -l app=flowlogs2metrics | grep ingress-workload"
232- echo " Use: kubectl logs -l app=flowlogs2metrics | grep egress-workload"
233- echo " Use: kubectl logs -l app=flowlogs2metrics | grep pod-to-pod-workload"
235+ POD_NAME=$( oc get pod -n default -l app=flowlogs2metrics -o jsonpath=" {.items[0].metadata.name}" )
236+ echo " Use: kubectl logs $POD_NAME | grep ingress-workload"
237+ echo " Use: kubectl logs $POD_NAME | grep egress-workload"
238+ echo " Use: kubectl logs $POD_NAME | grep pod-to-pod-workload"
234239}
235240
236241main
You can’t perform that action at this time.
0 commit comments