-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
951795f
commit 9d34ecc
Showing
5 changed files
with
109 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 8 additions & 10 deletions
18
...oks-ai/templates/diagnose-kubernetes.yaml → ...books-ai/templates/diagnose-resource.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,58 @@ | ||
# yaml-language-server: $schema=values.schema.json | ||
--- | ||
global: | ||
# @schema | ||
# type: string | ||
# required: true | ||
# @schema | ||
# -- LLM connection: one of ollama, openai or anthropic | ||
connection: "" | ||
|
||
diagnose: | ||
# @schema | ||
# type: boolean | ||
# required: false | ||
# @schema | ||
# -- create a playbook that can diagnose an unhealthy kubernetes resource in the given cluster. | ||
enabled: true | ||
llm_connection: "" | ||
|
||
slack: | ||
# @schema | ||
# type: string | ||
# required: true | ||
# @schema | ||
# -- name of the cluster | ||
cluster: "" | ||
|
||
# @schema | ||
# type: string | ||
# required: false | ||
# @schema | ||
# -- Optional system prompt for the LLM. If not provided, a default prompt will be used. | ||
systemPrompt: "" | ||
# -- connection string for slack | ||
connection: "" | ||
|
||
diganoseToSlack: | ||
diagnose: | ||
# @schema | ||
# type: boolean | ||
# required: false | ||
# @schema | ||
# -- create a playbook that can diagnose an unhealthy kubernetes resource in the given cluster | ||
# -- and send the diagnosis to slack. | ||
# -- create a playbook that diagnoses cataloges | ||
enabled: true | ||
|
||
# @schema | ||
# type: string | ||
# required: true | ||
# @schema | ||
# -- connection string for slack | ||
slackConnection: "" | ||
|
||
# @schema | ||
# type: string | ||
# required: true | ||
# @schema | ||
# -- name of the cluster | ||
cluster: "" | ||
# required: false | ||
# type: array | ||
# items: | ||
# type: object | ||
# additionalProperties: true | ||
# @schema | ||
# -- selector the configs for the playbook resource | ||
selector: | ||
- name: "*" | ||
|
||
# @schema | ||
# type: string | ||
# required: false | ||
# @schema | ||
# -- Optional system prompt for the LLM. If not provided, a default prompt will be used. | ||
systemPrompt: "" | ||
|
||
notification: | ||
# @schema | ||
# type: boolean | ||
# required: false | ||
# @schema | ||
# -- create a playbook that diagnoses cataloges and send the diagnosis report to slack. | ||
enabled: true | ||
|
||
# @schema | ||
# type: string | ||
# required: false | ||
# @schema | ||
# -- Optional system prompt for the LLM. If not provided, a default prompt will be used. | ||
systemPrompt: "" |