Datadog Operator Plugin for kubectl
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel,
n'hésitez pas à nous contacter.
The Datadog Operator has a kubectl
plugin, which provides a set of helper utilities that give visibility into certain internal components.
Install the plugin
Run:
kubectl krew install datadog
This uses the Krew plugin manager.
$ kubectl krew install datadog
Installing plugin: datadog
Installed plugin: datadog
\
| Use this plugin:
| kubectl datadog
| Documentation:
| https://github.com/DataDog/datadog-operator
/
Available commands
$ kubectl datadog --help
Usage:
datadog [command]
Available Commands:
agent
clusteragent
flare Collect a Datadog's Operator flare and send it to Datadog
get Get DatadogAgent deployment(s)
help Help about any command
validate
Agent sub-commands
$ kubectl datadog agent --help
Usage:
datadog agent [command]
Available Commands:
check Find check errors
find Find datadog agent pod monitoring a given pod
upgrade Upgrade the Datadog Agent version
Cluster Agent sub-commands
$ kubectl datadog clusteragent --help
Usage:
datadog clusteragent [command]
Available Commands:
leader Get Datadog Cluster Agent leader
upgrade Upgrade the Datadog Cluster Agent version
Validate sub-commands
$ kubectl datadog validate ad --help
Usage:
datadog validate ad [command]
Available Commands:
pod Validate the autodiscovery annotations for a pod
service Validate the autodiscovery annotations for a service