Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.16 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.16 KB

Kube Main Commands

  • List all running pods

    $ kubectl get pods

    or

    $ kubectl get pods --all-namespaces
  • Apply changes after editing values.yaml file

    $ helm upgrade -f values.yaml <release_name> --set datadog.apiKey=<api_key> datadog/datadog --set targetSystem=linux  
  • Install / apply changes after editing a integration .yaml file

    $ kubectl apply -f <file_name>.yaml
  • Generate a flare or status for the pod / cluster agent

    $ kubectl exec <pod_name> -it agent <agent_command> (status or flare)
  • Extract flare from local container

    $ kubectl cp <namespace/pod_name>:<generated_URL> <local_machine_directory>/<flare_new_name>.zip -c agent

Example:

$ kubectl cp default/release-datadog-x7d7h:/tmp/datadog-agent-2022-06-06T16-31-22Z.zip Flares/flare.zip -c agent

More information