Skip to content

Commit

Permalink
Ignore system ns'es
Browse files Browse the repository at this point in the history
  • Loading branch information
jhrv committed Sep 2, 2024
1 parent e027d2f commit f70f8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/resourceusage/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const (
)

var (
ignoredContainers = strings.Join([]string{"elector", "linkerd-proxy", "cloudsql-proxy", "secure-logs-fluentd", "secure-logs-configmap-reload", "secure-logs-fluentbit", "wonderwall", ""}, "|")
ignoredNamespaces = strings.Join([]string{"kube-system", "nais-system", "cnrm-system", "configconnector-operator-system", "linkerd-system", "kyverno", "default", "kube-node-lease", "kube-public"}, "|")
ignoredContainers = strings.Join([]string{"elector", "linkerd-proxy", "cloudsql-proxy", "secure-logs-fluentd", "secure-logs-configmap-reload", "secure-logs-fluentbit", "wonderwall"}, "|") + "||" // Adding "||" to the query filters data without container
ignoredNamespaces = strings.Join([]string{"kube-system", "nais-system", "cnrm-system", "configconnector-operator-system", "linkerd", "gke-mcs", "gke-managed-system", "kyverno", "default", "kube-node-lease", "kube-public"}, "|")
)

type ResourceUsageClient interface {
Expand Down

0 comments on commit f70f8a9

Please sign in to comment.