hyperalert check_pod_exec

Check exit code of exec command on Kubernetes container


Check exit code of exec command on Kubernetes container

hyperalert check_pod_exec [flags]


  -a, --argv string         Arguments for exec command. [Format: 'arg; arg; arg']
  -c, --cmd string          Exec command. [Default: /bin/sh] (default "/bin/sh")
  -C, --container string    Container name in specified pod
  -h, --help                help for check_pod_exec
  -H, --host string         Icinga host name
      --kubeconfig string   Path to kubeconfig file with authorization information (the master location is set by the master flag).
      --master string       The address of the Kubernetes API server (overrides any value in kubeconfig)

Options inherited from parent commands

      --allow_verification_with_non_compliant_keys   Allow a SignatureVerifier to use keys which are technically non-compliant with RFC6962.
      --alsologtostderr                              log to standard error as well as files
      --analytics                                    Send analytical events to Google Analytics (default true)
      --log_backtrace_at traceLocation               when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                               If non-empty, write log files in this directory
      --logtostderr                                  log to standard error instead of files (default true)
      --stderrthreshold severity                     logs at or above this threshold go to stderr (default 2)
  -v, --v Level                                      log level for V logs
      --vmodule moduleSpec                           comma-separated list of pattern=N settings for file-filtered logging


Take your team where it needs to go.

Create your cluster in minutes. Our team is here to help and would be happy to chat with you.