Chapter 1. Operating OpenShift Lightspeed
Submit questions to OpenShift Lightspeed, manage resource attachments, and resolve system alerts to optimize your troubleshooting experience.
1.1. Using the chat window to ask a question Copy linkLink copied to clipboard!
Ask questions using natural language by interacting with the Red Hat OpenShift Lightspeed icon to receive immediate support and information.
Procedure
Click the Red Hat OpenShift Lightspeed icon in the lower-right corner of the screen.
This action presents the Red Hat OpenShift Lightspeed user interface.
- Enter a question.
Click the Submit button.
OpenShift Lightspeed returns information based on your question.
1.2. About Lightspeed conversations Copy linkLink copied to clipboard!
Get technical assistance for OpenShift, Kubernetes, and specialized OpenShift components, such as OpenShift Virtualization and OpenShift Service Mesh, using OpenShift Lightspeed.
OpenShift Lightspeed will not answer questions that are unrelated to the targeted topics. In some cases, you may need to rephrase an ambiguously worded question because OpenShift Lightspeed could not correctly interpret what you asked. Conversation history helps provide context that OpenShift Lightspeed references when generating answers. Using specific language helps increase the success of responses. For example, instead of asking "How do I start a virtual machine?" try asking "How do I start a virtual machine in OpenShift Virtualization?"
Conversation history does not persist if you reload the console page. Reloading the console page performs the same action as clicking the New Chat button. Conversation history is also erased if OpenShift Lightspeed is restarted.
1.3. Providing feedback for a conversation Copy linkLink copied to clipboard!
Provide feedback to Red Hat on specific OpenShift Lightspeed interactions to improve the quality and accuracy of future responses.
Prerequisites
- You have installed the OpenShift Lightspeed Operator and deployed the OpenShift Lightspeed service.
Procedure
- Click the Red Hat OpenShift Lightspeed icon in the lower-right corner of the screen.
- Enter a question into the Send a message field:
Click the Submit button.
OpenShift Lightspeed returns information.
To provide feedback on a particular question and response, click the thumbs up or thumbs down button.
This action presents a field that allows you to enter additional information.
Click the Submit button.
Your rating, any text you entered, the specific question you asked OpenShift Lightspeed, and the response are all sent to Red Hat for review.
1.4. Sample conversation overview Copy linkLink copied to clipboard!
Use these sample prompts and follow-up strategies to initiate effective conversations with OpenShift Lightspeed and improve response accuracy.
Some of the examples suggest specific workflows to follow in the user interface. Be sure to ask the follow-up questions without starting a new dialog. OpenShift Lightspeed uses the entire conversation as context, so follow-up questions should help refine answers. Rephrasing questions or asking a more precise follow-up question can help increase the success of the reply.
1.4.1. Asking a general question Copy linkLink copied to clipboard!
Ask general questions about OpenShift Container Platform using OpenShift Lightspeed to quickly find documentation, best practices, and product information.
Procedure
- Click the Red Hat OpenShift Lightspeed icon in the lower-right corner of the screen.
Enter the following question into the Send a message field:
What is an OpenShift imagestream used for?
Click the Submit button.
OpenShift Lightspeed returns information that provides an explanation of an imagestream and details about usage.
1.4.3. Attaching a resource object to your question Copy linkLink copied to clipboard!
Attach a cluster resource object to your OpenShift Lightspeed query to provide specific context and receive more relevant, data-driven troubleshooting advice.
Procedure
-
Navigate to a supported resource in the OpenShift Container Platform web console. For example, click Workloads
Pods and then click the name of a pod. - Click the Red Hat OpenShift Lightspeed icon in the lower-right corner of the screen.
- Click Add in the Red Hat OpenShift Lightspeed user interface to attach a resource object.
- Select the resource object to attach to the question.
- Enter a question.
Click the Submit button.
OpenShift Lightspeed returns information based on your question.
1.4.4. Using OpenShift Lightspeed to troubleshoot alerts Copy linkLink copied to clipboard!
Analyze and resolve cluster alerts by querying OpenShift Lightspeed for root cause explanations, documentation links, and recommended remediation steps.
Procedure
-
In the OpenShift Container Platform web console, select Observe
Alerting. - Click to expand an alert row.
- Click the alert to present it on the screen and view details.
- Click the Red Hat OpenShift Lightspeed icon in the lower-right corner of the screen.
- Click Attach context and select Alert.
In the Red Hat OpenShift Lightspeed user interface, enter the following text:
What should I do about this alert?
Click the Submit button.
OpenShift Lightspeed references the alert information to provide context when generating the information it returns.
1.5. Starting a new chat conversation Copy linkLink copied to clipboard!
Reset your OpenShift Lightspeed session by clearing the chat history to start a new conversation without influence from previous context.
When you ask follow-up questions, OpenShift Lightspeed references the conversation history to provide additional context that influences the replies it generates. Whenever you initiate a new conversation with OpenShift Lightspeed you should clear the chat history.
Procedure
In the Red Hat OpenShift Lightspeed natural language interface, click Clear chat.
This action clears the history of your previous conversation.
- Enter a question.
Click the Submit button.
OpenShift Lightspeed only references the new question when generating a response.