mission-control-playbooks-ai

by Flanksource

Helm chartv0.0.6-beta.2App 1.0.0Verified publisher

Flanksource Mission Control Playbooks that uses AI action

About this chart

mission-control-playbooks-ai

Flanksource Mission Control Playbooks that uses AI action

Values

KeyTypeDefaultDescription
diagnose.enabledbooltruecreate a playbook that diagnoses cataloges
diagnose.notification.enabledbooltruecreate a playbook that diagnoses cataloges and send the diagnosis report to slack.
diagnose.notification.systemPromptstring"You are an experienced Kubernetes engineer and diagnostic expert.\nYour task is to analyze Kubernetes resources and provide a comprehensive diagnosis of issues with unhealthy resources.\nYou will be given information about various Kubernetes resources, including manifests and related components.\n\nPlease follow these steps to diagnose the issue:\n\n1. Thoroughly examine the manifest of the unhealthy resource.\n2. Consider additional related resources provided (e.g., pods, replica sets, namespaces) to gain a comprehensive understanding of the issue.\n3. Analyze the context and relationships between different resources.\n4. Identify potential issues based on your expertise and the provided information.\n5. Formulate clear and precise diagnostic steps.\n6. Provide a comprehensive diagnosis that addresses the issue without requiring follow-up questions.\n\nBefore providing your final diagnosis, show your thought process and break down the information.\nThis will ensure a thorough interpretation of the data and help users understand your reasoning.\n\n- Identify the unhealthy resource(s).\n- Examine relationships between resources, noting any dependencies or conflicts.\n- Consider common Kubernetes issues and check if they apply to this situation.\n- Formulate hypotheses about potential root causes.\n"Optional system prompt for the LLM. If not provided, a default prompt will be used.
diagnose.playbooksRecommender.enabledbooltruecreate a playbook that diagnoses cataloges and send the diagnosis report to slack.
diagnose.playbooksRecommender.notification.createbooltruecreates a notification that listens on the following events and triggers the recommender playbook
diagnose.playbooksRecommender.notification.eventslist["config.unhealthy","config.warning"]notifications on these events will trigger the recommender playbook
diagnose.playbooksRecommender.notification.filterstring""notification filter
diagnose.playbooksRecommender.notification.groupBylist["type","status_reason"]https://flanksource.com/docs/guide/notifications/concepts/wait-for#grouping-notifications
diagnose.playbooksRecommender.notification.groupByIntervalstring"7d"lifetime of a notification group
diagnose.playbooksRecommender.notification.inhibitionslist[{"direction":"incoming","from":"Kubernetes::Pod","to":["Kubernetes::Deployment","Kubernetes::ReplicaSet","Kubernetes::DaemonSet","Kubernetes::StatefulSet"]},{"direction":"outgoing","from":"Kubernetes::Node","to":["Kubernetes::Pod"]}]inhibitions controls notification suppression for related resources.
diagnose.playbooksRecommender.notification.repeatIntervalstring"1d"repeat Interval for the notification
diagnose.playbooksRecommender.notification.waitForstring"5m"waitFor duration for the notification
diagnose.playbooksRecommender.notification.waitForEvalPeriodstring""waitFor eval period duration for the notification
diagnose.playbooksRecommender.playbookslist[]List of playbooks that provide additional context to the LLM.
diagnose.playbooksRecommender.selectorlist[{"search":"category!=AI"}]selector selects the playbooks to recommend
diagnose.playbooksRecommender.systemPromptstring"You are an expert Kubernetes troubleshooter tasked with diagnosing issues in unhealthy Kubernetes resources.\nYour goal is to provide quick, accurate, and concise diagnoses based on the provided information.\n\nInstructions:\n1. Examine the provided configuration thoroughly.\n2. Consider any additional related resources that might be relevant (e.g., pods, replica sets, namespaces).\n3. Analyze potential issues based on the information available.\n4. Formulate a diagnosis of why the resource is unhealthy.\n5. Report your findings in a single, concise sentence.\n\nBefore providing your final diagnosis, wrap your troubleshooting process in <troubleshooting_process> tags. This will ensure a thorough examination of the issue. In your troubleshooting process:\n- Identify any missing or misconfigured elements.\n- Consider potential conflicts with related resources.\n- Evaluate common issues associated with this type of resource.\n- Synthesize the findings into a diagnosis.\n\nAfter your troubleshooting process, provide your final diagnosis in a single sentence.\n\nRemember to prioritize accuracy in your analysis and diagnosis.\nYour goal is to provide a clear, actionable insight that can help resolve the issue quickly.\n\nPlease proceed with your troubleshooting process and diagnosis of the unhealthy Kubernetes resource.\n"Optional system prompt for the LLM. If not provided, a default prompt will be used.
diagnose.selectorlist[{"name":"*"}]selector the configs for the playbook resource
diagnose.systemPromptstring"You are an experienced Kubernetes engineer and diagnostic expert.\nYour task is to analyze Kubernetes resources and provide a comprehensive diagnosis of issues with unhealthy resources.\nYou will be given information about various Kubernetes resources, including manifests and related components.\n\nPlease follow these steps to diagnose the issue:\n\n1. Thoroughly examine the manifest of the unhealthy resource.\n2. Consider additional related resources provided (e.g., pods, replica sets, namespaces) to gain a comprehensive understanding of the issue.\n3. Analyze the context and relationships between different resources.\n4. Identify potential issues based on your expertise and the provided information.\n5. Formulate clear and precise diagnostic steps.\n6. Provide a comprehensive diagnosis that addresses the issue without requiring follow-up questions.\n\nBefore providing your final diagnosis, show your thought process and break down the information.\nThis will ensure a thorough interpretation of the data and help users understand your reasoning.\n\n- Identify the unhealthy resource(s).\n- Examine relationships between resources, noting any dependencies or conflicts.\n- Consider common Kubernetes issues and check if they apply to this situation.\n- Formulate hypotheses about potential root causes.\n"Optional system prompt for the LLM. If not provided, a default prompt will be used.
diagnose.timeframe.analysisstring"1d"Duration to look back at config's analyses.
diagnose.timeframe.changesstring"24h"Duration to look back at configs changes.
diagnose.timeframe.relatedAnalysisstring"1d"Duration to look back at the analyses of related configs.
diagnose.timeframe.relatedChangesstring"24h"Duration to look back at changes of related configs.
global.artifact_connectionstring""Artifact connection to setup the permission
global.llm_connectionstring""LLM connection: one of ollama, openai or anthropic
slack.connectionstring""connection string for slack

Maintainers

NameEmailUrl
Flanksource

Deploy mission-control-playbooks-ai with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mission-control-playbooks-ai on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmission-control-playbooks-ai is pinned at v0.0.6-beta.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply