Interacting with Teammates through Kubiya Chat
Interact with Teammates through chat.kubiya.ai to manage and monitor your Kubernetes clusters.
Last updated
Was this helpful?
Interact with Teammates through chat.kubiya.ai to manage and monitor your Kubernetes clusters.
Last updated
Was this helpful?
Teammates is a feature available under Kubiya that provides automated health checks and resource monitoring for your Kubernetes clusters. Kubiya Chat, on the other hand, serves as the interface for interacting with Teammates via chat. This allows DevOps or Infrastructure Engineers to maintain optimal cluster performmonitorance, scalability, and reliability with ease.
Using AI-driven insights, Teammates reduces the complexity of cluster management, making it much easier to spot issues, manage resources, and ensure high availability across your Kubernetes environments.
Kubiya Chat serves as the interface for interacting with Teammates, allowing engineers to use natural language queries to manage Kubernetes clusters.
The user (DevOps Engineer) types a query related to Kubernetes operations directly into the chat interface. For example, asking about resource usage, autoscaler status, or pod health.
Once the query is received, Kubiya Chat sends the request to Teammates. Teammates then interprets the query and performs the necessary health checks or resource monitoring in the Kubernetes clusters.
After processing, Teammates sends the relevant data back to Kubiya Chat, including insights like:
Cluster health status
Resource consumption
Scaling issues
Pod Disruption Budgets (PDBs)
If there are issues (e.g., high resource usage, missing PDBs, scaling issues), Kubiya Chat alerts the engineer with specific actions to resolve the problems.
Once your platforms are connected, you can easily access a range of pre-configured Quick Start prompts directly from the Kubiya Chat interface. These prompts are provided by Teammates under Kubiya and allow engineers to quickly gather important insights and perform basic checks on their Kubernetes clusters.
Here are a few examples:
Cluster Health Check: Perform an overall health check of your cluster to ensure that all components are functioning properly.
Analyze Network: Check the network traffic and communication between pods or nodes to identify any bottlenecks.
CPU & Memory Check: List the CPU and memory usage across your Kubernetes pods and nodes to ensure efficient resource allocation.
These quick start options simplify your ability to gather important metrics and perform basic checks with just a click.
Adding More Prompts
If you want to add more custom prompts to your Teammates for easy access, you can do so while creating a new teammate. Additionally, if you already have an existing teammate, you can click Edit to update the list of conversation starters.
Here’s a screenshot of how it looks while editing or creating a teammate. You can customize the prompts to suit your needs.
Go to Kubiya Chat: Open the chat interface.
Select a Teammate: On the side, you’ll see all the available Teammates. Choose the one you want to interact with.
Use Custom Prompts: You’ll have the option to click on Custom Prompts that are already available for common tasks.
Type Your Own Prompt (if needed): If you want something specific, you can type your own prompt to get the desired information. For example, you can type:
Prompt: "Check the status of the cluster autoscaler and identify any scaling issues in the Kubernetes clusters."
Expected Response:
Kubiya Chat will return the status of the autoscaler, confirming whether it’s functioning correctly or if any scaling issues are present.
Here’s a flowchart that shows the process followed by Teammates when performing a comprehensive health check for a Kubernetes cluster:
User Inputs Query: The DevOps Engineer inputs a query or request via Kubiya Chat, such as asking for the status of autoscalers, resource usage, or specific pod details in the Kubernetes cluster.
Check Query Type: Kubiya Chat checks the type of query and identifies whether it’s related to:
Cluster health
Resource usage
Autoscaler status
Pod details
Send Request to Teammates: After determining the query type, Kubiya Chat sends the appropriate request to Teammates, which is responsible for gathering the requested data from the Kubernetes clusters.
Process Request via Teammates: Teammates processes the query by examining the Kubernetes cluster, checking for the requested information, and generating a detailed report.
Return Response: The processed response is sent back to Kubiya Chat and displayed to the engineer. The response may include:
Cluster Health Reports: Status of nodes, pods, and overall cluster health.
Resource Usage Stats: Information about CPU and memory usage across pods, nodes, and namespaces.
Autoscaler Status: Whether the autoscaler is functioning properly and scaling resources as needed.
Pod Details: Information about specific pods, such as resource usage, status, logs, etc.
Issue Detection in Chat: If an issue is detected (e.g., scaling problems, high resource usage), Kubiya Chat displays the issue in the chat interface, with detailed information for troubleshooting. The engineer can immediately see the problem and act upon it.
Engineer Troubleshoots: Based on the information provided in the chat, the engineer can troubleshoot the issue. The provided details help in identifying the root cause and guide the engineer in resolving the problem.
Teammates takes care of tasks that a junior DevOps engineer would usually handle, like keeping an eye on autoscaling, tracking resource usage, and making sure pods stay up during updates. It automates these checks, so you don’t have to do them manually, helping you save a lot of your time.
Kubiya Chat works just like a GPT for DevOps Engineers. You can interact with it using simple prompts, and it will return comprehensive, actionable insights about your Kubernetes clusters. Whether you're monitoring autoscalers, identifying high resource usage, or gathering detailed pod statuses, Teammates makes Kubernetes management much easier and faster.
Try entering your own prompts, and Teammates will deliver real-time information to help you make informed decisions about your infrastructure.