Skip to content

Commit

Permalink
fix base files and regenerate bundle-ocp and dockerfile and bump
Browse files Browse the repository at this point in the history
cert-manager version
  • Loading branch information
cpmeadors committed Jan 17, 2025
1 parent 9024eca commit 80c4cdd
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .tekton/integration-tests/deploy-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ spec:
name: openshift-cert-manager-operator
namespace: cert-manager-operator
spec:
channel: stable-v1
channel: stable-v1.14
name: openshift-cert-manager-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
installPlanApproval: Automatic
startingCSV: cert-manager-operator.v1.13.0
startingCSV: cert-manager-operator.v1.14.1
EOF
# create namespace for operator
oc new-project instaslice-system
Expand Down
2 changes: 1 addition & 1 deletion bundle-ocp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=instaslice-operator
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.34.2
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.37.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: https
port: 8443
protocol: TCP
targetPort: https
targetPort: 8443
selector:
control-plane: controller-manager
status:
Expand Down
54 changes: 44 additions & 10 deletions bundle-ocp/manifests/instaslice-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ metadata:
containerImage: registry.redhat.io/dynamic-accelerator-slicer-tech-preview/instaslice-rhel9-operator@sha256:0600fe10ed25bd9e4d6be586b6d92e69fb85a23252cddf8e3f2fda3fe0736a8f
createdAt: "2024-11-01T14:26:33Z"
description: InstaSlice works with GPU operator to create mig slices on demand
operators.operatorframework.io/builder: operator-sdk-v1.34.2
operators.operatorframework.io/builder: operator-sdk-v1.37.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
features.operators.openshift.io/cnf: "false"
features.operators.openshift.io/cni: "false"
Expand All @@ -40,7 +40,7 @@ metadata:
operators.openshift.io/valid-subscription: '["OpenShift Container Platform", "OpenShift Platform Plus"]'
repository: https://github.com/openshift/instaslice-operator
support: https://github.com/openshift/instaslice-operator/issues
name: instaslice-operator.v0.1.0
name: instaslice-operator.v0.0.2
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand All @@ -49,9 +49,9 @@ spec:
- kind: Instaslice
name: instaslices.inference.redhat.com
version: v1alpha1
description: "### Introduction\nInstaSlice works with GPU operator to create mig
slices on demand.\n\n### Prerequisites\n\n1. Install the [NVIDIA GPU drivers and
CUDA toolkit](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#driver-installation)
description: "### Introduction\nInstaSlice uses stable APIs and works with GPU operator
to create mig slices on demand.\n\n### Prerequisites\n\n1. Install the [NVIDIA
GPU drivers and CUDA toolkit](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#driver-installation)
on the host.\n2. Install the [NVIDIA Container Toolkit (CTK)](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html).\n3.
Configure the NVIDIA Container Runtime as the default Docker runtime:\n `sudo
nvidia-ctk runtime configure --runtime=docker --set-as-default`\n4. Restart Docker
Expand All @@ -78,9 +78,23 @@ spec:
`0.1.0` by\nfollowing [uninstall operator section](https://github.com/openshift/instaslice-operator)\nand
install the new version.\n\nChanges to patch version (major.minor.patch) indicates
that no breaking changes\nare introduced, thus upgrade can be done without uninstalling
and reinstalling\nthe operator.\n\n### Documentation\nDocumentation and installation
guide can be found below:\n * [Installation Guide](https://github.com/openshift/instaslice-operator)\n
\ * [Instaslice Operator](https://github.com/openshift/instaslice-operator/blob/main/README.md)\n\n###
and reinstalling\nthe operator.\n\n### Why Instaslice\n\nPartitionable accelerators
provided by vendors need partition to be created at node boot-time or to change
partitions one would have to evict all the workloads at the node level to create
new set of partitions.\n\nInstaSlice will help if:\n\n- user does not know all
the accelerators partitions needed a priori on every node on the cluster\n\n-
user partition requirements change at the workload level rather than the node
level\n\n- user does not want to learn or use new API to request accelerators
slices\n\n- user prefers to use stable device plugins APIs for creating partitions\n\n###Features
Overview\n\n- Integration with Kubernetes [quota management](https://github.com/openshift/instaslice-operator/blob/main/docs/instaslice_kube_quota_int.md)\n\n-
Integration with project [Kueue](https://github.com/openshift/instaslice-operator/blob/main/docs/kueue.md)\n\n-
[Emulator](https://github.com/openshift/instaslice-operator/blob/main/docs/emulator.md)
mode to run test InstaSlice firstfit placement strategy\n\n- Integration with
vLLM, Kserve, [Deployments](https://github.com/openshift/instaslice-operator/blob/main/samples/vllm_deployment.yaml),
[Jobs](https://github.com/openshift/instaslice-operator/blob/main/samples/vllm_job.yaml),
and [Statefulsets](https://github.com/openshift/instaslice-operator/blob/main/samples/vllm_statefulset.yaml)\n\n###
Documentation\nDocumentation and installation guide can be found below:\n * [Installation
Guide](https://github.com/openshift/instaslice-operator)\n * [Instaslice Operator](https://github.com/openshift/instaslice-operator/blob/main/README.md)\n\n###
License\ninstaslice-operator is licensed under the Apache 2.0 license"
displayName: Instaslice
icon:
Expand Down Expand Up @@ -158,6 +172,10 @@ spec:
- get
- patch
- update
- nonResourceURLs:
- /metrics
verbs:
- get
- apiGroups:
- authentication.k8s.io
resources:
Expand Down Expand Up @@ -205,7 +223,7 @@ spec:
containers:
- args:
- --health-probe-bind-address=:8081
- --metrics-bind-address=127.0.0.1:8080
- --metrics-bind-address=:8443
- --leader-elect
command:
- /manager
Expand Down Expand Up @@ -311,8 +329,24 @@ spec:
maintainers:
- email: [email protected]
name: Abhishek Malvankar
- email: [email protected]
name: Cameron Meadors
- email: [email protected]
name: Harshal Patil
- email: [email protected]
name: Kevin Hannon
- email: [email protected]
name: Mohammed Abdi
- email: [email protected]
name: Mrunal Patel
- email: [email protected]
name: Olivier Tardieu
- email: [email protected]
name: Ryan Phillips
- email: [email protected]
name: Sai Ramesh Vanka
- email: [email protected]
name: Vitaliy Emporopulo
maturity: alpha
minKubeVersion: 1.16.0
provider:
Expand All @@ -321,7 +355,7 @@ spec:
relatedImages:
- image: registry.redhat.io/dynamic-accelerator-slicer-tech-preview/instaslice-daemonset-rhel9@sha256:cbb3e7dc15c9a830df94aea421b611ff198f6ca4f46a9188624e80553f01071b
name: instaslice-daemonset
version: 0.1.0
version: 0.0.2
webhookdefinitions:
- admissionReviewVersions:
- v1
Expand Down
6 changes: 3 additions & 3 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ spec:
# values:
# - linux
securityContext:
runAsNonRoot: false
runAsNonRoot: true
# TODO(user): For common cases that do not require escalating privileges
# it is recommended to ensure that all your Pods/Containers are restrictive.
# More info: https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted
# Please uncomment the following code if your project does NOT have to work on old Kubernetes
# versions < 1.19 or on vendors versions which do NOT support this field by default (i.e. Openshift < 4.11 ).
# seccompProfile:
# type: RuntimeDefault
seccompProfile:
type: RuntimeDefault
containers:
- command:
- /manager
Expand Down
4 changes: 2 additions & 2 deletions hack/manifests/cert-manager-rh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: openshift-cert-manager-operator
namespace: cert-manager-operator
spec:
channel: stable-v1
channel: stable-v1.14
name: openshift-cert-manager-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
installPlanApproval: Automatic
startingCSV: cert-manager-operator.v1.13.0
startingCSV: cert-manager-operator.v1.14.1

0 comments on commit 80c4cdd

Please sign in to comment.