-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
csi-driver-host-path-manual-job-config.yaml
181 lines (179 loc) · 6.85 KB
/
csi-driver-host-path-manual-job-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# Derived from csi-driver-host-path-config.yaml, modified and maintained manually.
presubmits:
kubernetes-csi/csi-driver-host-path:
# 1.28 is used because it is the (currently) latest stable release.
- name: pull-kubernetes-csi-csi-driver-host-distributed-on-kubernetes-1-28
cluster: eks-prow-build-cluster
always_run: true
optional: true
decorate: true
skip_report: false
skip_branches: []
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-csi-driver-host-path
testgrid-tab-name: distributed-on-kubernetes-1-28
description: Kubernetes-CSI pull job in repo csi-driver-host-path for distributed deployment on Kubernetes 1.28, with CSIStorageCapacity
spec:
containers:
# We need this image because it has Docker in Docker and go.
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241218-d4b51bc3e8-master
command:
- runner.sh
args:
- ./.prow.sh
env:
- name: CSI_PROW_KUBERNETES_VERSION
value: "1.28.0"
- name: CSI_PROW_DEPLOYMENT
value: "kubernetes-distributed"
- name: CSI_SNAPSHOTTER_VERSION
value: "v6.1.0"
- name: CSI_PROW_TESTS
value: "sanity serial parallel serial-alpha parallel-alpha"
- name: CSI_PROW_SANITY_POD
# The hostpath pod is part of a DaemonSet with an unpredictable
# name. There's also more than one. We can list all them by
# their label, but then still need to filter by node name
# to find the one that is on the same host as the socat pod
# which exposes the CSI socket for us.
value: kubectl get pods -l app.kubernetes.io/name=csi-hostpathplugin -o "jsonpath={.items[?(@.spec.nodeName==\"$(kubectl get pods/csi-hostpath-socat-0 -o jsonpath={.spec.nodeName})\")].metadata.name}"
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
requests:
memory: "9Gi"
cpu: 4
limits:
memory: "9Gi"
cpu: 4
periodics:
- interval: 6h
# 1.28 is used because it is the (currently) latest stable
# release.
#
# This job is meant to detect regressions in upcoming releases
# that slipped through pre-merge testing, so we have to use canary
# images.
name: ci-kubernetes-csi-canary-distributed-on-kubernetes-1-28
cluster: eks-prow-build-cluster
decorate: true
extra_refs:
- org: kubernetes-csi
repo: csi-driver-host-path
base_ref: master
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-bazel-remote-cache-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-ci
testgrid-tab-name: distributed-on-1-26
testgrid-alert-email: [email protected]
description: periodic Kubernetes-CSI job for distributed provisioning on Kubernetes 1.28, with CSIStorageCapacity
spec:
containers:
# We need this image because it has Docker in Docker and go.
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241218-d4b51bc3e8-master
command:
- runner.sh
args:
- ./.prow.sh
env:
- name: CSI_PROW_KUBERNETES_VERSION
value: "1.28.0"
- name: CSI_PROW_USE_BAZEL
value: "false"
- name: CSI_SNAPSHOTTER_VERSION
value: "master"
- name: CSI_PROW_BUILD_JOB
value: "false"
- name: CSI_PROW_TESTS
value: "sanity serial parallel serial-alpha parallel-alpha"
- name: CSI_PROW_DEPLOYMENT
value: "kubernetes-distributed"
- name: CSI_PROW_SANITY_POD
# The hostpath pod is part of a DaemonSet with an unpredictable
# name. There's also more than one. We can list all them by
# their label, but then still need to filter by node name
# to find the one that is on the same host as the socat pod
# which exposes the CSI socket for us.
value: kubectl get pods -l app.kubernetes.io/name=csi-hostpathplugin -o "jsonpath={.items[?(@.spec.nodeName==\"$(kubectl get pods/csi-hostpath-socat-0 -o jsonpath={.spec.nodeName})\")].metadata.name}"
# Replace images....
- name: CSI_PROW_HOSTPATH_CANARY
value: "canary"
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
requests:
memory: "9Gi"
cpu: 4
limits:
memory: "9Gi"
cpu: 4
- interval: 6h
# 1.24 will change the CSIStorageCapacity API: v1beta1 becomes deprecated and v1 gets added.
name: ci-kubernetes-csi-canary-distributed-on-kubernetes-master
cluster: eks-prow-build-cluster
decorate: true
extra_refs:
- org: kubernetes-csi
repo: csi-driver-host-path
base_ref: master
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-bazel-remote-cache-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-ci
testgrid-tab-name: distributed-on-master
testgrid-alert-email: [email protected]
description: periodic Kubernetes-CSI job for distributed provisioning on Kubernetes master, with CSIStorageCapacity
spec:
containers:
# We need this image because it has Docker in Docker and go.
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241218-d4b51bc3e8-master
command:
- runner.sh
args:
- ./.prow.sh
env:
- name: CSI_PROW_KUBERNETES_VERSION
value: "latest"
- name: CSI_PROW_USE_BAZEL
value: "false"
- name: CSI_SNAPSHOTTER_VERSION
value: "master"
- name: CSI_PROW_BUILD_JOB
value: "false"
- name: CSI_PROW_TESTS
value: "sanity serial parallel serial-alpha parallel-alpha"
- name: CSI_PROW_DEPLOYMENT
value: "kubernetes-distributed"
- name: CSI_PROW_SANITY_POD
# The hostpath pod is part of a DaemonSet with an unpredictable
# name. There's also more than one. We can list all them by
# their label, but then still need to filter by node name
# to find the one that is on the same host as the socat pod
# which exposes the CSI socket for us.
value: kubectl get pods -l app.kubernetes.io/name=csi-hostpathplugin -o "jsonpath={.items[?(@.spec.nodeName==\"$(kubectl get pods/csi-hostpath-socat-0 -o jsonpath={.spec.nodeName})\")].metadata.name}"
# Replace images....
- name: CSI_PROW_HOSTPATH_CANARY
value: "canary"
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
requests:
memory: "9Gi"
cpu: 4
limits:
memory: "9Gi"
cpu: 4