EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Defines a tracepoint target for a process based a set of k8s labels representing a set of pods matching all of this labels. Optionally, a container and process can be provided.
Name | Type | Description |
---|---|---|
labels | dict<str, str> | The K8s labels that can be resolved to a set of pods. Must be of a dictionary of key value pairs. |
namespace | str | The namespace that target pods are in. |
container_name | str, optional | The name of the container that's running the process. Specify this argument if a pod has more than one containers. The compiler will error out if a pod has multiple containers and this is not specified. |
process_name | str, optional | A regexp that matches any substrings of the command line of the target process. Specify this if a container has more than one process. The compiler will error out if a container has multiple processes and this is not specified. |