Skip to content

Commit d16c90b

Browse files
committed
Merge branch 'operator_bundle_disconnected' into 'master'
Create operator bundle 1.4.0 to support with disconnected installs See merge request nvidia/kubernetes/gpu-operator!148
2 parents c1b5d0b + b010ae9 commit d16c90b

11 files changed

+6818
-630
lines changed

bundle/1.3.1/manifests/gpu-operator.clusterserviceversion.yaml

+583
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
creationTimestamp: null
5+
name: gpu-operator
6+
rules:
7+
- apiGroups:
8+
- nvidia.com
9+
resources:
10+
- '*'
11+
verbs:
12+
- create
13+
- delete
14+
- get
15+
- list
16+
- patch
17+
- update
18+
- watch
19+
- apiGroups:
20+
- config.openshift.io
21+
resources:
22+
- clusterversions
23+
verbs:
24+
- get
25+
- list
26+
- watch
27+
- apiGroups:
28+
- security.openshift.io
29+
resources:
30+
- securitycontextconstraints
31+
verbs:
32+
- '*'
33+
- apiGroups:
34+
- rbac.authorization.k8s.io
35+
resources:
36+
- clusterroles
37+
- clusterrolebindings
38+
verbs:
39+
- '*'
40+
- apiGroups:
41+
- ""
42+
resources:
43+
- pods
44+
- services
45+
- services/finalizers
46+
- endpoints
47+
- persistentvolumeclaims
48+
- events
49+
- configmaps
50+
- secrets
51+
- nodes
52+
verbs:
53+
- create
54+
- delete
55+
- get
56+
- list
57+
- patch
58+
- update
59+
- watch
60+
- apiGroups:
61+
- apps
62+
resources:
63+
- deployments
64+
- daemonsets
65+
- replicasets
66+
- statefulsets
67+
verbs:
68+
- create
69+
- delete
70+
- get
71+
- list
72+
- patch
73+
- update
74+
- watch
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRoleBinding
3+
metadata:
4+
creationTimestamp: null
5+
name: gpu-operator
6+
roleRef:
7+
apiGroup: rbac.authorization.k8s.io
8+
kind: ClusterRole
9+
name: gpu-operator
10+
subjects:
11+
- kind: ServiceAccount
12+
name: gpu-operator
13+
namespace: operator
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: Role
3+
metadata:
4+
creationTimestamp: null
5+
name: gpu-operator
6+
rules:
7+
- apiGroups:
8+
- rbac.authorization.k8s.io
9+
resources:
10+
- roles
11+
- rolebindings
12+
verbs:
13+
- '*'
14+
- apiGroups:
15+
- ""
16+
resources:
17+
- pods
18+
- services
19+
- services/finalizers
20+
- endpoints
21+
- persistentvolumeclaims
22+
- events
23+
- configmaps
24+
- secrets
25+
verbs:
26+
- create
27+
- delete
28+
- get
29+
- list
30+
- patch
31+
- update
32+
- watch
33+
- apiGroups:
34+
- apps
35+
resources:
36+
- deployments
37+
- daemonsets
38+
- replicasets
39+
- statefulsets
40+
verbs:
41+
- create
42+
- delete
43+
- get
44+
- list
45+
- patch
46+
- update
47+
- watch
48+
- apiGroups:
49+
- monitoring.coreos.com
50+
resources:
51+
- servicemonitors
52+
verbs:
53+
- get
54+
- create
55+
- apiGroups:
56+
- apps
57+
resourceNames:
58+
- gpu-operator
59+
resources:
60+
- deployments/finalizers
61+
verbs:
62+
- update
63+
- apiGroups:
64+
- ""
65+
resources:
66+
- pods
67+
verbs:
68+
- get
69+
- apiGroups:
70+
- apps
71+
resources:
72+
- replicasets
73+
- deployments
74+
verbs:
75+
- get
76+
- apiGroups:
77+
- nvidia.com
78+
resources:
79+
- '*'
80+
verbs:
81+
- create
82+
- delete
83+
- get
84+
- list
85+
- patch
86+
- update
87+
- watch
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: RoleBinding
3+
metadata:
4+
creationTimestamp: null
5+
name: gpu-operator
6+
roleRef:
7+
apiGroup: rbac.authorization.k8s.io
8+
kind: Role
9+
name: gpu-operator
10+
subjects:
11+
- kind: ServiceAccount
12+
name: gpu-operator
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
kind: ServiceAccount
3+
metadata:
4+
creationTimestamp: null
5+
name: gpu-operator

bundle/1.3.1/manifests/nvidia.com_clusterpolicies.yaml

+2,896
Large diffs are not rendered by default.

bundle/manifests/gpu-operator.clusterserviceversion.yaml

+34-12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apiVersion: operators.coreos.com/v1alpha1
22
kind: ClusterServiceVersion
33
metadata:
44
annotations:
5+
operators.openshift.io/infrastructure-features: '["Disconnected"]'
56
alm-examples: |-
67
[
78
{
@@ -21,7 +22,7 @@ metadata:
2122
"resources": {},
2223
"securityContext": {},
2324
"tolerations": [],
24-
"version": "2.0.13-2.1.0-ubi8"
25+
"version": "sha256:8340fc6326f1c3c09dca6b9c528870fb19319369e19710376a5383aa920b6d5f"
2526
},
2627
"devicePlugin": {
2728
"affinity": {},
@@ -33,7 +34,7 @@ metadata:
3334
"resources": {},
3435
"securityContext": {},
3536
"tolerations": [],
36-
"version": "v0.7.0-ubi8"
37+
"version": "sha256:45b459c59d13a1ebf37260a33c4498046d4ade7cc243f2ed71115cd81054cd85"
3738
},
3839
"driver": {
3940
"affinity": {},
@@ -45,7 +46,11 @@ metadata:
4546
"resources": {},
4647
"securityContext": {},
4748
"tolerations": [],
48-
"version": "450.80.02"
49+
"repoConfig": {
50+
"configMapName": "",
51+
"destinationDir": ""
52+
},
53+
"version": "sha256:324e9dc265dec320207206aa94226b0c8735fd93ce19b36a415478c95826d934"
4954
},
5055
"gfd": {
5156
"affinity": {},
@@ -59,15 +64,15 @@ metadata:
5964
"securityContext": {},
6065
"sleepInterval": "60s",
6166
"tolerations": [],
62-
"version": "v0.2.1"
67+
"version": "sha256:82e6f61b715d710c60ac14be78953336ea5dbc712244beb51036139d1cc8d526"
6368
},
6469
"operator": {
6570
"defaultRuntime": "crio",
6671
"deployGFD": true,
6772
"validator": {
6873
"image": "cuda-sample",
6974
"repository": "nvcr.io/nvidia/k8s",
70-
"version": "vectoradd-cuda10.2-ubi8",
75+
"version": "sha256:2a30fe7e23067bc2c3f8f62a6867702a016af2b80b9f6ce861f3fea4dfd85bc2",
7176
"imagePullSecrets": []
7277
}
7378
},
@@ -81,21 +86,21 @@ metadata:
8186
"resources": {},
8287
"securityContext": {},
8388
"tolerations": [],
84-
"version": "1.3.0-ubi8"
89+
"version": "sha256:d16c443e4cf260545e95ff1dcb0eb3f26fbdc9e552432458b06ff0cd99fd01f1"
8590
}
8691
}
8792
}
8893
]
8994
capabilities: Basic Install
9095
categories: AI/Machine Learning, OpenShift Optional
9196
certified: "false"
92-
containerImage: nvcr.io/nvidia/gpu-operator:1.3.0
93-
createdAt: "Wed Oct 28 16:12:59 PDT 2020"
97+
containerImage: nvcr.io/nvidia/gpu-operator:1.4.0
98+
createdAt: "Tue Dec 1 21:52:01 PST 2020"
9499
description: Automate the management and monitoring of NVIDIA GPUs.
95100
provider: NVIDIA
96101
repository: http://github.com/NVIDIA/gpu-operator
97102
support: NVIDIA
98-
name: gpu-operator-certified.v1.3.1
103+
name: gpu-operator-certified.v1.4.0
99104
namespace: placeholder
100105
spec:
101106
displayName: NVIDIA GPU Operator
@@ -120,6 +125,23 @@ spec:
120125
For getting started with using the GPU Operator with OpenShift, see the instructions
121126
[here](https://docs.nvidia.com/datacenter/kubernetes/openshift-on-gpu-install-guide/index.html).
122127
apiservicedefinitions: {}
128+
relatedImages:
129+
- name: gpu-operator-image
130+
image: nvcr.io/nvidia/gpu-operator@sha256:1a1c95d392ea2c055b09c9d074ab4d577a42d5d338109234d7a868bf2ebdfa8d
131+
- name: dcgm-exporter-image
132+
image: nvcr.io/nvidia/k8s/dcgm-exporter@sha256:8340fc6326f1c3c09dca6b9c528870fb19319369e19710376a5383aa920b6d5f
133+
- name: container-toolkit-image
134+
image: nvcr.io/nvidia/k8s/container-toolkit@sha256:d16c443e4cf260545e95ff1dcb0eb3f26fbdc9e552432458b06ff0cd99fd01f1
135+
- name: driver-image
136+
image: nvcr.io/nvidia/driver@sha256:324e9dc265dec320207206aa94226b0c8735fd93ce19b36a415478c95826d934
137+
- name: device-plugin-image
138+
image: nvcr.io/nvidia/k8s-device-plugin@sha256:d53c5932eeb970411030abb6e35ff9f3e420d5872ba7a5d533ab4e3887feb728
139+
- name: gpu-feature-discovery-image
140+
image: nvcr.io/nvidia/gpu-feature-discovery@sha256:82e6f61b715d710c60ac14be78953336ea5dbc712244beb51036139d1cc8d526
141+
- name: cuda-sample-image
142+
image: nvcr.io/nvidia/k8s/cuda-sample@sha256:2a30fe7e23067bc2c3f8f62a6867702a016af2b80b9f6ce861f3fea4dfd85bc2
143+
- name: dcgm-init-container-image
144+
image: nvcr.io/nvidia/cuda@sha256:ed723a1339cddd75eb9f2be2f3476edf497a1b189c10c9bf9eb8da4a16a51a59
123145
customresourcedefinitions:
124146
owned:
125147
- name: clusterpolicies.nvidia.com
@@ -373,7 +395,7 @@ spec:
373395
- name: host-os-release
374396
mountPath: "/host-etc/os-release"
375397
readOnly: true
376-
image: nvcr.io/nvidia/gpu-operator:1.3.0
398+
image: nvcr.io/nvidia/gpu-operator@sha256:1a1c95d392ea2c055b09c9d074ab4d577a42d5d338109234d7a868bf2ebdfa8d
377399
imagePullPolicy: Always
378400
name: gpu-operator
379401
ports:
@@ -579,5 +601,5 @@ spec:
579601
maturity: stable
580602
provider:
581603
name: NVIDIA Corporation
582-
version: 1.3.1
583-
replaces: gpu-operator-certified.v1.3.0
604+
version: 1.4.0
605+
replaces: gpu-operator-certified.v1.3.1

0 commit comments

Comments
 (0)