Skip to content

Commit 97f8588

Browse files
committed
lightspeed: Add a new image holding Lightspeed skills
Eventually we'll integrate this into the OpenShift payload, and have some wiring to plug it into Lightspeed in-cluster. For now, just provide some scaffolding to create the image, so we can start working on https://github.com/openshift/release integration [1]. [1]: https://docs.ci.openshift.org/how-tos/onboarding-a-new-component/#product-builds-and-becoming-part-of-an-openshift-release
1 parent e6aa7d4 commit 97f8588

3 files changed

Lines changed: 21 additions & 0 deletions

File tree

lightspeed/Containerfile.skills

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM registry.ci.openshift.org/ocp/4.22:base-rhel9-minimal
2+
COPY skill/ /skill/

lightspeed/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# OpenShift Lightspeed Integration
2+
3+
[Red Hat OpenShift Lightspeed][docs] is a generative AI service that helps developers and administrators solve problems by providing context-aware recommendations for OpenShift Container Platform.
4+
This directory contains skills ([Claude Skills][claude-skills], [OpenAI Skills][openai-skills]) maintained by the cluster-version operator maintainers, which are designed to help agents with ClusterVersion activities such as preparing for cluster updates.
5+
6+
[`Containerfile.skills`](Containerfile.skills) builds a container image with [the skills](skill) in `/skill/`.
7+
OpenShift policy does not currently allow `FROM scratch` images, so we're just using the stock `FROM` base image that we use in the cluster-version operator's [`Dockerfile.rhel`](../Dockerfile.rhel).
8+
The resulting image can be [mounted as an image volume with a `subPath`][image-volume-sub-path] into any container that wishes to consume the skills.
9+
10+
[claude-skills]: https://code.claude.com/docs/en/skills
11+
[docs]: https://docs.redhat.com/en/documentation/red_hat_openshift_lightspeed/1.0/html/about/ols-about-openshift-lightspeed
12+
[openai-skills]: https://developers.openai.com/api/docs/guides/tools-skills
13+
[image-volume-sub-path]: https://kubernetes.io/docs/tasks/configure-pod-container/image-volumes/#use-subpath-or-subpathexpr
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
name: openshift-cluster-update-advisor
3+
description: Assess OpenShift cluster update readiness and risk. Use when evaluating whether a cluster is safe to update, when an update is available, or when the user asks about update risks, prerequisites, blockers, or best practices.
4+
---
5+
6+
FIXME: just a draft at the moment, fill in with an actual skill later.

0 commit comments

Comments
 (0)