odigos sources enable

Enable a source for Odigos instrumentation.

Synopsis

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

Examples


# Enable deployment "foo" in namespace "default"
odigos sources enable deployment foo

# Enable namespace "bar"
odigos sources enable namespace bar

# Enable statefulset "foo" in namespace "bar"
odigos sources enable statefulset foo -n bar

Options

  -h, --help   help for enable

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