odigos sources disable

Disable a source for Odigos instrumentation.

Synopsis

This command disables the given workload for Odigos instrumentation. It will create a Source object (if one does not already exist)

Examples


# Disable deployment "foo" in namespace "default"
odigos sources disable deployment foo

# Disable namespace "bar"
odigos sources disable namespace bar

# Disable statefulset "foo" in namespace "bar"
odigos sources disable statefulset foo -n bar

Options

  -h, --help   help for disable

Options inherited from parent commands

      --kube-context string   (optional) name of the kubeconfig context to use
      --kubeconfig string     (optional) absolute path to the kubeconfig file (default "KUBECONFIG")
  -v, --verbose               enable verbose output

SEE ALSO