Skip to content

Instantly share code, notes, and snippets.

@johnsimcall
Last active May 16, 2023 14:22
Show Gist options
  • Save johnsimcall/27a7bb96a76ee8021c13bc4e2c4ad9fa to your computer and use it in GitHub Desktop.
Save johnsimcall/27a7bb96a76ee8021c13bc4e2c4ad9fa to your computer and use it in GitHub Desktop.
oc-mirror ImageSetConfiguration for NVIDIA GPU Operator
---
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
storageConfig:
registry:
imageURL: jcall-testing.dota-lab.iad.redhat.com:8443/oc-mirror/oc-mirror-metadata
mirror:
platform:
graph: true # this requires a download from github.com
channels:
- name: stable-4.12
type: ocp
minVersion: 4.12.3 #PLEASE NOTE, your version of openshift-install must match this value
additionalImages:
- name: registry.redhat.io/ubi8/ubi:latest
- name: registry.redhat.io/rhel8/support-tools #used for "oc debug node/..." https://access.redhat.com/solutions/3820762
- name: registry.redhat.io/openshift4/ose-must-gather:latest #used for "oc adm must-gather"
- name: registry.k8s.io/sig-storage/nfs-subdir-external-provisioner:v4.0.2 #used for nfs-subdir-provisioner
helm: {}
operators:
- catalog: registry.redhat.io/redhat/certified-operator-index:v4.12
packages:
- name: gpu-operator-certified
channels:
- name: v22.9
- catalog: registry.redhat.io/redhat/redhat-operator-index:v4.12
packages:
- name: nfd
channels:
- name: stable
- name: rhods-operator
channels:
- name: stable
- name: cincinnati-operator
@johnsimcall
Copy link
Author

Working notes...

I'm trying to adapt the NVIDIA GPU Operator disconnected documentation to work with the new oc-mirror and mirror-registry utilities

The NVIDIA GPU Operator comes from the "Certified" catalog. It requires the Node Feature Discovery Operator which comes from the "Red Hat" catalog. I'd also like to include the Red Hat Open Data Science Operator to provide Jupyter Hub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment