vmware-tanzu / sonobuoy

Sonobuoy is a diagnostic tool that makes it easier to understand the state of a Kubernetes cluster by running a set of Kubernetes conformance tests and other plugins in an accessible and non-destructive manner.

Home Page:https://sonobuoy.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for injecting `tolerations` to sonobuoy pod

masap opened this issue · comments

Describe the solution you'd like
[A clear and concise description of what you want to happen.]
We can inject tolerations to plugin pods but can't inject to sonobuoy pod.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
I would like to specify Tolerations with sonobuoy run --confg=sonobuoy-config.json. sonobuoy-config.json contains Tolerations.

{
  "Tolerations": [
    {
      "Key": "node-role.kubernetes.io/master",
      "Operator": "Exists",
      "Effect": "NoSchedule"
    },
    {
      "Key": "CriticalAddonsOnly",
      "Operator": "Exists"
    },
    {
      "Key": "node-role.kubernetes.io/controlplane",
      "Operator": "Equal",
      "Value": "true",
      "Effect": "NoSchedule"
    }
  ]
 }

Environment:

  • Sonobuoy version:
  • Kubernetes version: (use kubectl version):
  • Kubernetes installer & version:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):