Skip to main content
Version: Unreleased 🚧

Doctor

The Botkube Doctor executor plugin allows you to run the doctor command directly in the chat window of each communication platform. Doctor is a ChatGPT integration project that knows how to diagnose Kubernetes problems and suggest solutions.

The Doctor plugin is hosted by the official Botkube plugin repository. To enable the Doctor plugin, make sure that the botkube repository is defined under plugins in the values.yaml file.

plugins:
repositories:
botkube:
url: https://github.com/kubeshop/botkube/releases/download/v1.2.0/plugins-index.yaml

Enabling plugin​

To enable the doctor executor, add --set 'executors.ai.botkube/doctor.enabled=true' to a given Botkube install command. The doctor plugin uses ChatGPT for diagnosing problems, so you need to obtain an API Key from the OpenAI website as described here and set it as follows: --set 'executors.ai.botkube/doctor.config.apiKey=<Open AI Api Key>'

Syntax​

# Map of executors. The `executors` property name is an alias for a given configuration.
# Key name is used as a binding reference.
#
# Format: executors.{alias}
executors:
"k8s-tools":
# Doctor executor configuration.
botkube/doctor:
enabled: false
config:
# Open AI Api Key that you can grab one here: https://platform.openai.com/account/api-keys
apiKey: "<Open AI Api Key>"

The default configuration for Helm chart can be found in the values.yaml file.