Filtering Kubernetes entities

Customize data collection by filtering K8s entities

By default, groundcover traces all namespaces and workloads in your cluster, but sometimes you want to block ones that are irrelevant to your needs, or alternatively only allow something very specific.

groundcover allows you to add traces filtering rules on specific workloads and namespaces by creating a custom values.yaml file. The rules are a list of regex patterns with its matching type (allow / block) that represents the entities you want groundcover filter.

Usage

values.yaml example

tracesNamespaceFilters:
  - matchType: "allow"
    regex: "my-namespace"
tracesWorkloadFilters:
  - matchType: "block"
    regex: "do-not-show-me"

Using CLI on New or Existing Installation

groundcover deploy --values values.yaml

Using Helm on New Installation

helm upgrade \
    groundcover \
    groundcover/groundcover \
    -n groundcover \
    -i \
    --set global.groundcover_token=<api-key>,clusterId=my_cluster
    --values values.yaml

Using Helm on Existing Installation

helm upgrade \
    groundcover \
    groundcover/groundcover \
    -n groundcover \
    --reuse-values \
    --values values.yaml

Last updated