https://issues.redhat.com/browse/NETOBSERV-94 $ oc get flowcollector -o yaml apiVersion: v1 items: - apiVersion: flows.netobserv.io/v1alpha1 kind: FlowCollector metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"flows.netobserv.io/v1alpha1","kind":"FlowCollector","metadata":{"annotations":{},"name":"cluster"},"spec":{"clusterNetworkOperator":{"namespace":"openshift-network-operator"},"consolePlugin":{"image":"quay.io/netobserv/network-observability-console-plugin:main","imagePullPolicy":"IfNotPresent","port":9001},"flowlogsPipeline":{"enableKubeProbes":false,"healthPort":8080,"image":"quay.io/netobserv/flowlogs-pipeline:main","imagePullPolicy":"IfNotPresent","kind":"Deployment","logLevel":"info","port":2055,"printOutput":false,"replicas":1},"ipfix":{"cacheActiveTimeout":"60s","cacheMaxFlows":400,"sampling":100},"loki":{"batchSize":102400,"batchWait":"1s","maxBackoff":"300s","maxRetries":10,"minBackoff":"1s","staticLabels":{"app":"netobserv-flowcollector"},"timestampLabel":"TimeFlowEnd","url":"http://loki:3100/"},"namespace":"network-observability"}} creationTimestamp: "2022-03-15T15:45:49Z" generation: 6 name: cluster resourceVersion: "163420" uid: 94524cdd-e60d-4b8a-93b3-d6b609e5c0c4 spec: clusterNetworkOperator: namespace: openshift-network-operator consolePlugin: hpa: maxReplicas: 4 metrics: - resource: name: cpu target: averageUtilization: 30 type: Utilization type: Resource minReplicas: 2 image: quay.io/netobserv/network-observability-console-plugin:main imagePullPolicy: IfNotPresent port: 9001 replicas: 1 resources: limits: memory: 100Mi requests: cpu: 100m memory: 50Mi flowlogsPipeline: enableKubeProbes: false healthPort: 8080 hpa: maxReplicas: 4 metrics: - resource: name: memory target: averageUtilization: 15 type: Utilization type: Resource minReplicas: 2 image: quay.io/netobserv/flowlogs-pipeline:main imagePullPolicy: IfNotPresent kind: DaemonSet logLevel: debug port: 2055 printOutput: true replicas: 1 resources: limits: memory: 300Mi requests: cpu: 100m memory: 100Mi ipfix: cacheActiveTimeout: 60s cacheMaxFlows: 400 sampling: 100 loki: batchSize: 102400 batchWait: 1s maxBackoff: 300s maxRetries: 10 minBackoff: 1s staticLabels: app: netobserv-flowcollector timeout: 10s timestampLabel: TimeFlowEnd url: http://loki:3100/ namespace: network-observability status: namespace: network-observability kind: List metadata: resourceVersion: "" selfLink: "" After editing flowcollector CR to have HPA for console-plugin, I could see plugin pods are replicated: memodi@memodi-mac:/Users/memodi/workspaces/repos/netobserv/network-observability-operator (main *=) $ oc get pods NAME READY STATUS RESTARTS AGE flowlogs-pipeline-5sb8v 1/1 Running 0 64m flowlogs-pipeline-8jv8p 1/1 Running 0 64m flowlogs-pipeline-cctmq 1/1 Running 0 64m flowlogs-pipeline-cxkrx 1/1 Running 0 64m flowlogs-pipeline-z29bn 1/1 Running 0 64m loki 1/1 Running 0 3h31m netobserv-controller-manager-7487d87dc-g8z5z 2/2 Running 0 4h49m network-observability-plugin-86cdd5b45c-plsn9 1/1 Running 0 107s network-observability-plugin-86cdd5b45c-r76v7 1/1 Running 0 4h43m memodi@memodi-mac:/Users/memodi/workspaces/repos/netobserv/network-observability-operator (main *=) $ oc get hpa NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE network-observability-plugin Deployment/network-observability-plugin 0%/30% 2 4 2 2m13s Verified both the pods are now answering requests from Console: $ oc get pods NAME READY STATUS RESTARTS AGE flowlogs-pipeline-5sb8v 1/1 Running 0 68m flowlogs-pipeline-8jv8p 1/1 Running 0 68m flowlogs-pipeline-cctmq 1/1 Running 0 68m flowlogs-pipeline-cxkrx 1/1 Running 0 68m flowlogs-pipeline-z29bn 1/1 Running 0 68m loki 1/1 Running 0 3h36m netobserv-controller-manager-7487d87dc-g8z5z 2/2 Running 0 4h54m network-observability-plugin-86cdd5b45c-plsn9 1/1 Running 0 6m20s network-observability-plugin-86cdd5b45c-r76v7 1/1 Running 0 4h48m $ oc logs pod/network-observability-plugin-86cdd5b45c-plsn9 | tail time="2022-03-15T20:27:43Z" level=info msg="Starting netobserv-console-plugin [build version: , build date: 2022-03-15 07:44] at log level info" module=main time="2022-03-15T20:27:43Z" level=info msg="listening on https://:9001" module=server time="2022-03-15T20:33:33Z" level=info msg="GetFlows query params : map[FlowDirection:[0] limit:[100] match:[all] timeRange:[300]]" module=handler time="2022-03-15T20:33:33Z" level=info msg="GetFlows URL: http://loki:3100/loki/api/v1/query_range?query={app=\"netobserv-flowcollector\",FlowDirection=\"0\"}&start=1647376113&limit=100" module=handler time="2022-03-15T20:33:48Z" level=info msg="GetFlows query params : map[FlowDirection:[0] limit:[100] match:[all] timeRange:[300]]" module=handler time="2022-03-15T20:33:48Z" level=info msg="GetFlows URL: http://loki:3100/loki/api/v1/query_range?query={app=\"netobserv-flowcollector\",FlowDirection=\"0\"}&start=1647376128&limit=100" module=handler memodi@memodi-mac:/Users/memodi/workspaces/repos/netobserv/network-observability-operator (main *=) memodi@memodi-mac:/Users/memodi/workspaces/repos/netobserv/network-observability-operator (main *=) $ oc logs network-observability-plugin-86cdd5b45c-plsn9 time="2022-03-15T20:27:43Z" level=info msg="Starting netobserv-console-plugin [build version: , build date: 2022-03-15 07:44] at log level info" module=main time="2022-03-15T20:27:43Z" level=info msg="listening on https://:9001" module=server time="2022-03-15T20:33:33Z" level=info msg="GetFlows query params : map[FlowDirection:[0] limit:[100] match:[all] timeRange:[300]]" module=handler time="2022-03-15T20:33:33Z" level=info msg="GetFlows URL: http://loki:3100/loki/api/v1/query_range?query={app=\"netobserv-flowcollector\",FlowDirection=\"0\"}&start=1647376113&limit=100" module=handler time="2022-03-15T20:33:48Z" level=info msg="GetFlows query params : map[FlowDirection:[0] limit:[100] match:[all] timeRange:[300]]" module=handler time="2022-03-15T20:33:48Z" level=info msg="GetFlows URL: http://loki:3100/loki/api/v1/query_range?query={app=\"netobserv-flowcollector\",FlowDirection=\"0\"}&start=1647376128&limit=100" module=handler time="2022-03-15T20:34:03Z" level=info msg="GetFlows query params : map[FlowDirection:[0] limit:[100] match:[all] timeRange:[300]]" module=handler time="2022-03-15T20:34:03Z" level=info msg="GetFlows URL: http://loki:3100/loki/api/v1/query_range?query={app=\"netobserv-flowcollector\",FlowDirection=\"0\"}&start=1647376143&limit=100" module=handler