You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: suse-ai-operator/README.md
+98-54Lines changed: 98 additions & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,86 @@
1
-
# suse-ai-operator
2
-
// TODO(user): Add simple overview of use/purpose
1
+
# SUSE AI Operator
2
+
The SUSE AI Extension Operator installs and manages Rancher UI extension for SUSE AI using a declarative Kubernetes Custom Resource (CR). It acts as a bridge between Helm-based extension packaging and Rancher UIPlugin resources, handling lifecycle, validation, retries, and cleanup in a Kubernetes-native way.
3
3
4
-
## Description
5
-
// TODO(user): An in-depth paragraph about your project and overview of use
4
+
## Purpose
5
+
This operator exists to:
6
+
- Install SUSE AI Rancher UI extensions safely and declaratively.
7
+
- Prevent conflicts with operator-unmanaged Helm resources.
8
+
- Manage Helm releases, ClusterRepos, and UIPlugins.
6
9
7
10
## Getting Started
8
11
9
12
### Prerequisites
10
-
- go version v1.24.0+
11
-
- docker version 17.03+.
12
-
- kubectl version v1.11.3+.
13
-
- Access to a Kubernetes v1.11.3+ cluster.
13
+
- go v1.24.0+
14
+
- docker v17.03+
15
+
- kubectl v1.11.3+
16
+
- Access to a Kubernetes v1.11.3+ cluster
17
+
- Helm 3.x
18
+
- Rancher installed (for UIPlugin and ClusterRepo integration)
14
19
15
-
### To Deploy on the cluster
20
+
The following CRDs must exist before adding the operator:
21
+
-`uiplugins.catalog.cattle.io`
22
+
-`clusterrepos.catalog.cattle.io`
23
+
24
+
### Installation
25
+
26
+
The operator is distributed as a Helm chart and installs:
27
+
- Controller Deployment
28
+
- RBAC
29
+
- CRDs
30
+
- Metrics Service
31
+
32
+
1.**Install the SUSE AI Operator.** First, install the operator via Helm:
33
+
34
+
```sh
35
+
helm install suse-ai-operator \
36
+
-n suse-ai-operator-system \
37
+
--create-namespace \
38
+
oci://ghcr.io/suse/chart/suse-ai-operator
39
+
```
40
+
41
+
This will deploy the SUSE AI Operator into the `suse-ai-operator-system` namespace.
42
+
43
+
2.**Create the InstallAIExtension CR.** Once the operator is installed, apply the InstallAIExtension Custom Resource (CR) to install the required extension. Below is an example of the `extension.yaml`:
3.**Delete the CRDs.** After uninstalling the operator, you remove the associated Custom Resource Definitions (CRDs). To delete the InstallAIExtension CRD, use:
0 commit comments