All Products
Search
Document Center

Container Service for Kubernetes:Use ACK AI Assistant to help troubleshoot issues and find answers to your questions

Last Updated:May 16, 2024

Container Service for Kubernetes (ACK) AI Assistant is developed by the ACK team based on a large language model. ACK AI Assistant is empowered by technology expertise and years of experience of the ACK team in the Kubernetes and cloud-native technology sectors, the observability of the ACK O&M system, and rich experience provided by experts in ACK diagnostics. It can help you find answers to your questions and diagnose issues related to ACK and Kubernetes based on the large language model.

Legal disclaimer

Before you start, make sure that you have read and understand the following legal disclaimer.

1. The output of this service is generated by an AI model. Due to the limits of technologies and generative AI, Alibaba Cloud does not guarantee the security, reliability, availability, and stability of the service model. In addition, Alibaba Cloud does not guarantee the compliance, integrity, and accuracy of the output. The output does not reflect the views, opinions, or position of Alibaba Cloud. Alibaba Cloud will continuously improve service quality but does not guarantee the availability and reliability of this service. Alibaba Cloud is not liable for any consequences arising out of using this service.

2. You are liable for any improper use of the service. You shall not input, generate, or use any illegal content that is against social public order or infringes the legal rights and interests of others. You shall not use this service to fabricate or disseminate false information. You shall carefully verify the legality of the output and avoid excessively relying on this service. If your behavior or decisions made based on the output of the service causes the financial loss or damages of other users or Alibaba Cloud, you are liable for the consequences.

3. When you use the diagnostics feature of this service, the service automatically collects data from the diagnostic object, including the system version of your Kubernetes cluster, Kubernetes resources, container runtime, and component (such as kubelet) status, and key error information in events and logs. The service does not collect any business-critical information or sensitive data.

This legal disclaimer will be continuously updated to better serve our customers. To mitigate potential risks, read this legal disclaimer carefully and proceed with caution when you use the service.

Use scenarios

ACK AI Assistant targets minimizing the technology gap for ACK beginners and reducing the O&M complexity of Kubernetes. ACK AI Assistant can provide intelligent assistance to help you familiarize yourself with ACK.

  • Day-0 design and planning: helps you design and plan on-cloud containerization, such as providing suggested cluster or node configurations.

  • Day-1 resource and application creation: helps you design and create application configuration files, such as Terraform and Kubernetes YAML.

  • Day-2 O&M: helps you diagnose issues in the AIOps sector and generates suggested cost and resource optimization policies to improve the overall availability, stability, and security.

Find answers to questions

ACK AI Assistant can help you find answers to questions related to ACK, such as suggested node types for creating ACK clusters and introduction to ACK features. You can also use ACK AI Assistant to resolve technical issues related to the Kubernetes ecosystem, such as introduction to Kubernetes-native configurations, or use it to create YAML files that comply with the standards of Kubernetes.

Diagnose anomalies

You can view error messages and events generated for abnormal node status, pods, and workloads in the ACK console and click Intelligent Diagnostics to activate ACK AI Assistant to help you diagnose cluster and application anomalies.

ACK AI Assistant can perform intelligent diagnostics based on the monitoring data of nodes and applications in the current cluster, including abnormal status and events. In most cases, ACK AI Assistant displays the cause of the anomalies and provides solutions. If ACK AI Assistant fails to locate the root cause or provide solutions, you can perform an in-depth diagnostic to diagnose the abnormal pod or node based on the diagnosis experience of ACK experts. For more information, see Work with cluster diagnostics.

Prerequisites

  • Container Service for Kubernetes is activated and authorization is completed. For more information, see Quick start for first-time users.

  • Your account is authorized to use ACK AI Assistant.

    • If you use an Alibaba Cloud account, no authorization is needed.

    • If this is the first time you use ACK AI Assistant as a Resource Access Management (RAM) user, make sure that the cs:CreateSessionMessage and cs:UpdateMessageFeedback policies are attached to the RAM user. For more information, see Grant permissions to a RAM role.

Activate ACK AI Assistant in the console

ACK AI Assistant can help you find answers to your questions and diagnose anomalies. You can activate ACK AI Assistant on any page in the console to help you find answers. When cluster resource anomalies occur, such as node, pod, or workload anomalies or abnormal events, you can activate ACK AI Assistant through intelligent diagnostics to help you diagnose the abnormal cluster or application.

Directly activate ACK AI Assistant

  1. Log on to the ACK console.

  2. In the lower-right part of any page in the console, click the ACK AI Assistant icon and follow the on-screen instructions to activate ACK AI Assistant and use it to find answers to your questions.

    image

Activate ACK AI Assistant through intelligent diagnostics

  1. Log on to the ACK console.

  2. Go to a resource page, such as a page below Workloads, find the abnormal resource, and click Intelligent Diagnostics below the error message.

    image

    ACK AI Assistant is then activated to help you troubleshoot the anomaly and provide a solution.

    image

What to do next

Manage historical conversation content

Each time you activate ACK AI Assistant, ACK AI Assistant starts a conversation. ACK AI Assistant automatically retains the latest content of the conversation as the context for answering subsequent questions. To start a new conversation, refresh the page or click the trash bin icon to delete the historical content.

image

Contact us

If ACK AI Assistant cannot find answers to your questions, you can send your feedback to us.

image

If you have any questions or suggestions when using ACK AI Assistant, join DingTalk group 70080006301.