Operate


Red Hat OpenShift Lightspeed 1.0tp1

Using OpenShift Lightspeed

Red Hat OpenShift Documentation Team

Abstract

This documentation provides information about operating OpenShift Lightspeed.

Chapter 1. Operating OpenShift Lightspeed

There are different ways you can access the OpenShift Lightspeed user interface.

  • Clicking the OpenShift Lightspeed chat window floating icon in the lower-right of the screen
  • Using the Actions dropdown list on specific resources in the OpenShift Container Platform web console
  • Using the Node options icon from a list of resources in the OpenShift Container Platform web console

The following topics provide information about submitting questions to Red Hat OpenShift Lightspeed.

1.1. Using the chat window to ask a question

This procedure explains how to use the Red Hat OpenShift Lightspeed icon to ask a question using natural language.

Procedure

  1. 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.

  2. Enter a question.
  3. Click the Submit button.

    Lightspeed returns information based on your question.

1.2. Using the Actions dropdown list to ask a question

This procedure explains how to use the Actions dropdown list to ask OpenShift Lightspeed a question.

Procedure

  1. Navigate to a resource in the OpenShift Container Platform web console. For example, click WorkloadsPods and then click the name of a pod.
  2. Click the Actions dropdown list and select Ask OpenShift Lightspeed.

    This presents the Red Hat OpenShift Lightspeed user interface.

  3. Enter a question.
  4. Click the Submit button.

    Lightspeed returns information based on your question.

1.3. Using the Node options icon to ask a question

This procedure explains how to use the Node options to ask OpenShift Lightspeed a question.

Procedure

  1. Navigate to a resource in the OpenShift Container Platform web console. For example, click WorkloadsPods.
  2. Click the Node options icon in the row for a pod and select Ask OpenShift Lightspeed.

    This action presents the Red Hat OpenShift Lightspeed natural language interface.

  3. Enter a question.
  4. Click the Submit button.

    The Lightspeed natural language interface returns information based on your query.

1.4. About Lightspeed conversations

OpenShift Lightspeed is designed to answer questions about OpenShift, Kubernetes, and additional OpenShift components, such as OpenShift Virtualization, OpenShift Pipelines, and OpenShift Service Mesh.

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.5. Providing feedback for a conversation

OpenShift Lightspeed includes an integrated feedback system. This procedure explains how to provide feedback to Red Hat for a specific OpenShift Lightspeed question and response.

Prerequisites

  • You have installed the OpenShift Lightspeed Operator and deployed the OpenShift Lightspeed service.

Procedure

  1. Click the Red Hat OpenShift Lightspeed icon in the lower-right corner of the screen.
  2. Enter a question into the Send message field:
  3. Click the Submit button.

    Lightspeed returns information.

  4. 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.

  5. 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.6. Sample conversation overview

The following examples are intended to serve as samples you can use to start a conversation with OpenShift Lightspeed. In some cases, the conversation includes an initial question and then one or more follow-up questions. Rephrasing questions or asking a more precise follow-up question can help increase the success of the reply.

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.

1.6.1. Asking a general question

This procedure shows how to ask OpenShift Lightspeed a general question about the OpenShift Container Platform.

Procedure

  1. Click the Red Hat OpenShift Lightspeed icon in the lower-right corner of the screen.
  2. Enter the following question into the Send message field:

    What is an OpenShift imagestream used for?

  3. Click the Submit button.

    Lightspeed returns information that provides an explanation of an imagestream and details about usage.

1.6.3. Attaching a resource object to your question

This procedure explains how to attach a resource object to provide additional context for your question.

Procedure

  1. Navigate to a supported resource in the OpenShift Container Platform web console. For example, click WorkloadsPods and then click the name of a pod.
  2. Click the Red Hat OpenShift Lightspeed icon in the lower-right corner of the screen.
  3. Click the plus icon in the Red Hat OpenShift Lightspeed user interface to attach a resource object.
  4. Select the resource object to attach to the question.

    Tip

    You can attach the following resources:

    • CronJob, DaemonSet, Deployment, Job, Pod, ReplicaSet and StatefulSet from Workloads in the OpenShift Container Platform web console.
    • Alert from Observe in the OpenShift Container Platform web console.
    • Services, Routes, Ingresses, and NetworkPolicies from Networking in the OpenShift Container Platform web console.
  5. Enter a question.
  6. Click the Submit button.

    Lightspeed returns information based on your question.

1.6.4. Using Lightspeed to troubleshoot alerts

This procedure shows how to use OpenShift Lightspeed to troubleshoot alerts.

Procedure

  1. In the OpenShift Container Platform web console, select the Administrator perspective.
  2. Click ObserveAlerting.
  3. Click the AlertmanagerReceiversNotConfigured alert.
  4. Copy the title and text of the warning.
  5. Click the Red Hat OpenShift Lightspeed icon in the lower-right corner of the screen.
  6. In the Red Hat OpenShift Lightspeed user interface, enter the following text:

    What should I do about this alert?

  7. Paste the title and text associated with the alert.
  8. Click the Submit button.

    Lightspeed references the alert information to provide context when generating the information it returns.

1.7. Starting a new chat conversation

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.

This procedure explains how to clear the chat history and start a new conversation.

Procedure

  1. In the Red Hat OpenShift Lightspeed natural language interface, click New chat.

    This action clears the history of your previous conversation.

  2. Enter a question.
  3. Click the Submit button.

    OpenShift Lightspeed only references the new question when generating a response.

Legal Notice

Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.