porkadot 0.18.1 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,7 +51,7 @@ roleRef:
51
51
  name: kubelet-rubber-stamp
52
52
  apiGroup: rbac.authorization.k8s.io
53
53
  ---
54
- apiVersion: rbac.authorization.k8s.io/v1beta1
54
+ apiVersion: rbac.authorization.k8s.io/v1
55
55
  kind: ClusterRole
56
56
  metadata:
57
57
  name: kubelet-rubber-stamp
@@ -377,7 +377,7 @@ spec:
377
377
  - args:
378
378
  - --port=7472
379
379
  - --config=config
380
- image: metallb/controller:v0.9.4
380
+ image: metallb/controller:v0.9.5
381
381
  imagePullPolicy: Always
382
382
  name: controller
383
383
  ports:
@@ -1,327 +1,354 @@
1
- apiVersion: apiextensions.k8s.io/v1beta1
1
+ apiVersion: v1
2
+ kind: Namespace
3
+ metadata:
4
+ name: kube-system
5
+ ---
6
+ apiVersion: apiextensions.k8s.io/v1
2
7
  kind: CustomResourceDefinition
3
8
  metadata:
4
- name: storageversionmigrations.migration.k8s.io
9
+ annotations:
10
+ api-approved.kubernetes.io: https://github.com/kubernetes/enhancements/pull/747
11
+ name: storagestates.migration.k8s.io
5
12
  spec:
6
13
  group: migration.k8s.io
7
14
  names:
8
- kind: StorageVersionMigration
9
- listKind: StorageVersionMigrationList
10
- plural: storageversionmigrations
11
- singular: storageversionmigration
15
+ kind: StorageState
16
+ listKind: StorageStateList
17
+ plural: storagestates
18
+ singular: storagestate
19
+ preserveUnknownFields: false
12
20
  scope: Cluster
13
- subresources:
14
- status: {}
15
- version: v1alpha1
16
21
  versions:
17
22
  - name: v1alpha1
18
- served: true
19
- storage: true
20
- "validation":
21
- "openAPIV3Schema":
22
- description: StorageVersionMigration represents a migration of stored data to
23
- the latest storage version.
24
- type: object
25
- properties:
26
- apiVersion:
27
- description: 'APIVersion defines the versioned schema of this representation
28
- of an object. Servers should convert recognized schemas to the latest
29
- internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
30
- type: string
31
- kind:
32
- description: 'Kind is a string value representing the REST resource this
33
- object represents. Servers may infer this from the endpoint the client
34
- submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
35
- type: string
36
- metadata:
37
- type: object
38
- spec:
39
- description: Specification of the migration.
40
- type: object
41
- required:
42
- - resource
43
- properties:
44
- continueToken:
45
- description: The token used in the list options to get the next chunk
46
- of objects to migrate. When the .status.conditions indicates the migration
47
- is "Running", users can use this token to check the progress of the
48
- migration.
49
- type: string
50
- resource:
51
- description: The resource that is being migrated. The migrator sends
52
- requests to the endpoint serving the resource. Immutable.
53
- type: object
54
- properties:
55
- group:
56
- description: The name of the group.
57
- type: string
58
- resource:
59
- description: The name of the resource.
60
- type: string
61
- version:
62
- description: The name of the version.
63
- type: string
64
- status:
65
- description: Status of the migration.
66
- type: object
67
- properties:
68
- conditions:
69
- description: The latest available observations of the migration's current
70
- state.
71
- type: array
72
- items:
73
- description: Describes the state of a migration at a certain point.
74
- type: object
75
- required:
76
- - status
77
- - type
23
+ schema:
24
+ openAPIV3Schema:
25
+ description: The state of the storage of a specific resource.
26
+ properties:
27
+ apiVersion:
28
+ description: 'APIVersion defines the versioned schema of this representation
29
+ of an object. Servers should convert recognized schemas to the latest
30
+ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
31
+ type: string
32
+ kind:
33
+ description: 'Kind is a string value representing the REST resource this
34
+ object represents. Servers may infer this from the endpoint the client
35
+ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
36
+ type: string
37
+ metadata:
38
+ properties:
39
+ name:
40
+ description: name must be "<.spec.resource.resouce>.<.spec.resource.group>".
41
+ type: string
42
+ type: object
43
+ spec:
44
+ description: Specification of the storage state.
45
+ properties:
46
+ resource:
47
+ description: The resource this storageState is about.
78
48
  properties:
79
- lastUpdateTime:
80
- description: The last time this condition was updated.
49
+ group:
50
+ description: The name of the group.
81
51
  type: string
82
- format: date-time
83
- message:
84
- description: A human readable message indicating details about
85
- the transition.
86
- type: string
87
- reason:
88
- description: The reason for the condition's last transition.
89
- type: string
90
- status:
91
- description: Status of the condition, one of True, False, Unknown.
92
- type: string
93
- type:
94
- description: Type of the condition.
52
+ resource:
53
+ description: The name of the resource.
95
54
  type: string
55
+ type: object
56
+ type: object
57
+ status:
58
+ description: Status of the storage state.
59
+ properties:
60
+ currentStorageVersionHash:
61
+ description: The hash value of the current storage version, as shown
62
+ in the discovery document served by the API server. Storage Version
63
+ is the version to which objects are converted to before persisted.
64
+ type: string
65
+ lastHeartbeatTime:
66
+ description: LastHeartbeatTime is the last time the storage migration
67
+ triggering controller checks the storage version hash of this resource
68
+ in the discovery document and updates this field.
69
+ format: date-time
70
+ type: string
71
+ persistedStorageVersionHashes:
72
+ description: The hash values of storage versions that persisted instances
73
+ of spec.resource might still be encoded in. "Unknown" is a valid
74
+ value in the list, and is the default value. It is not safe to upgrade
75
+ or downgrade to an apiserver binary that does not support all versions
76
+ listed in this field, or if "Unknown" is listed. Once the storage
77
+ version migration for this resource has completed, the value of
78
+ this field is refined to only contain the currentStorageVersionHash.
79
+ Once the apiserver has changed the storage version, the new storage
80
+ version is appended to the list.
81
+ items:
82
+ type: string
83
+ type: array
84
+ type: object
85
+ type: object
86
+ served: true
87
+ storage: true
88
+ subresources:
89
+ status: {}
96
90
  ---
97
- apiVersion: apiextensions.k8s.io/v1beta1
91
+ apiVersion: apiextensions.k8s.io/v1
98
92
  kind: CustomResourceDefinition
99
93
  metadata:
100
- name: storagestates.migration.k8s.io
94
+ annotations:
95
+ api-approved.kubernetes.io: https://github.com/kubernetes/community/pull/2524
96
+ name: storageversionmigrations.migration.k8s.io
101
97
  spec:
102
98
  group: migration.k8s.io
103
99
  names:
104
- kind: StorageState
105
- listKind: StorageStateList
106
- plural: storagestates
107
- singular: storagestate
100
+ kind: StorageVersionMigration
101
+ listKind: StorageVersionMigrationList
102
+ plural: storageversionmigrations
103
+ singular: storageversionmigration
104
+ preserveUnknownFields: false
108
105
  scope: Cluster
109
- subresources:
110
- status: {}
111
- version: v1alpha1
112
106
  versions:
113
107
  - name: v1alpha1
108
+ schema:
109
+ openAPIV3Schema:
110
+ description: StorageVersionMigration represents a migration of stored data
111
+ to the latest storage version.
112
+ properties:
113
+ apiVersion:
114
+ description: 'APIVersion defines the versioned schema of this representation
115
+ of an object. Servers should convert recognized schemas to the latest
116
+ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
117
+ type: string
118
+ kind:
119
+ description: 'Kind is a string value representing the REST resource this
120
+ object represents. Servers may infer this from the endpoint the client
121
+ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
122
+ type: string
123
+ metadata:
124
+ type: object
125
+ spec:
126
+ description: Specification of the migration.
127
+ properties:
128
+ continueToken:
129
+ description: The token used in the list options to get the next chunk
130
+ of objects to migrate. When the .status.conditions indicates the
131
+ migration is "Running", users can use this token to check the progress
132
+ of the migration.
133
+ type: string
134
+ resource:
135
+ description: The resource that is being migrated. The migrator sends
136
+ requests to the endpoint serving the resource. Immutable.
137
+ properties:
138
+ group:
139
+ description: The name of the group.
140
+ type: string
141
+ resource:
142
+ description: The name of the resource.
143
+ type: string
144
+ version:
145
+ description: The name of the version.
146
+ type: string
147
+ type: object
148
+ required:
149
+ - resource
150
+ type: object
151
+ status:
152
+ description: Status of the migration.
153
+ properties:
154
+ conditions:
155
+ description: The latest available observations of the migration's
156
+ current state.
157
+ items:
158
+ description: Describes the state of a migration at a certain point.
159
+ properties:
160
+ lastUpdateTime:
161
+ description: The last time this condition was updated.
162
+ format: date-time
163
+ type: string
164
+ message:
165
+ description: A human readable message indicating details about
166
+ the transition.
167
+ type: string
168
+ reason:
169
+ description: The reason for the condition's last transition.
170
+ type: string
171
+ status:
172
+ description: Status of the condition, one of True, False, Unknown.
173
+ type: string
174
+ type:
175
+ description: Type of the condition.
176
+ type: string
177
+ required:
178
+ - status
179
+ - type
180
+ type: object
181
+ type: array
182
+ type: object
183
+ type: object
114
184
  served: true
115
185
  storage: true
116
- "validation":
117
- "openAPIV3Schema":
118
- description: The state of the storage of a specific resource.
119
- type: object
120
- properties:
121
- apiVersion:
122
- description: 'APIVersion defines the versioned schema of this representation
123
- of an object. Servers should convert recognized schemas to the latest
124
- internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
125
- type: string
126
- kind:
127
- description: 'Kind is a string value representing the REST resource this
128
- object represents. Servers may infer this from the endpoint the client
129
- submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
130
- type: string
131
- metadata:
132
- description: The name must be "<.spec.resource.resouce>.<.spec.resource.group>".
133
- type: object
134
- spec:
135
- description: Specification of the storage state.
136
- type: object
137
- properties:
138
- resource:
139
- description: The resource this storageState is about.
140
- type: object
141
- properties:
142
- group:
143
- description: The name of the group.
144
- type: string
145
- resource:
146
- description: The name of the resource.
147
- type: string
148
- status:
149
- description: Status of the storage state.
150
- type: object
151
- properties:
152
- currentStorageVersionHash:
153
- description: The hash value of the current storage version, as shown
154
- in the discovery document served by the API server. Storage Version
155
- is the version to which objects are converted to before persisted.
156
- type: string
157
- lastHeartbeatTime:
158
- description: LastHeartbeatTime is the last time the storage migration
159
- triggering controller checks the storage version hash of this resource
160
- in the discovery document and updates this field.
161
- type: string
162
- format: date-time
163
- persistedStorageVersionHashes:
164
- description: The hash values of storage versions that persisted instances
165
- of spec.resource might still be encoded in. "Unknown" is a valid value
166
- in the list, and is the default value. It is not safe to upgrade or
167
- downgrade to an apiserver binary that does not support all versions
168
- listed in this field, or if "Unknown" is listed. Once the storage
169
- version migration for this resource has completed, the value of this
170
- field is refined to only contain the currentStorageVersionHash. Once
171
- the apiserver has changed the storage version, the new storage version
172
- is appended to the list.
173
- type: array
174
- items:
175
- type: string
176
- ---
177
- apiVersion: v1
178
- kind: Namespace
179
- metadata:
180
- name: kube-system
186
+ subresources:
187
+ status: {}
181
188
  ---
182
- kind: ClusterRole
183
189
  apiVersion: rbac.authorization.k8s.io/v1
190
+ kind: ClusterRole
184
191
  metadata:
185
- name: storage-version-migration-trigger
192
+ name: storage-version-migration-crd-creator
186
193
  rules:
187
- - apiGroups: ["migration.k8s.io"]
188
- resources: ["storagestates"]
189
- verbs: ["watch", "get", "list", "delete", "create", "update"]
190
- - apiGroups: ["migration.k8s.io"]
191
- resources: ["storageversionmigrations"]
192
- verbs: ["watch", "get", "list", "delete", "create"]
194
+ - apiGroups:
195
+ - apiextensions.k8s.io
196
+ resources:
197
+ - customresourcedefinitions
198
+ verbs:
199
+ - create
200
+ - delete
201
+ - get
193
202
  ---
194
- kind: ClusterRole
195
203
  apiVersion: rbac.authorization.k8s.io/v1
204
+ kind: ClusterRole
196
205
  metadata:
197
- name: storage-version-migration-crd-creator
206
+ name: storage-version-migration-initializer
198
207
  rules:
199
- - apiGroups: ["apiextensions.k8s.io"]
200
- resources: ["customresourcedefinitions"]
201
- verbs: ["create", "delete", "get"]
208
+ - apiGroups:
209
+ - migration.k8s.io
210
+ resources:
211
+ - storageversionmigrations
212
+ verbs:
213
+ - create
202
214
  ---
203
- kind: ClusterRole
204
215
  apiVersion: rbac.authorization.k8s.io/v1
216
+ kind: ClusterRole
205
217
  metadata:
206
- name: storage-version-migration-initializer
218
+ name: storage-version-migration-trigger
207
219
  rules:
208
- - apiGroups: ["migration.k8s.io"]
209
- resources: ["storageversionmigrations"]
210
- verbs: ["create"]
220
+ - apiGroups:
221
+ - migration.k8s.io
222
+ resources:
223
+ - storagestates
224
+ verbs:
225
+ - watch
226
+ - get
227
+ - list
228
+ - delete
229
+ - create
230
+ - update
231
+ - apiGroups:
232
+ - migration.k8s.io
233
+ resources:
234
+ - storageversionmigrations
235
+ verbs:
236
+ - watch
237
+ - get
238
+ - list
239
+ - delete
240
+ - create
211
241
  ---
212
- kind: ClusterRoleBinding
213
242
  apiVersion: rbac.authorization.k8s.io/v1
243
+ kind: ClusterRoleBinding
214
244
  metadata:
215
- name: storage-version-migration-migrator
245
+ name: storage-version-migration-crd-creator
246
+ roleRef:
247
+ apiGroup: rbac.authorization.k8s.io
248
+ kind: ClusterRole
249
+ name: storage-version-migration-crd-creator
216
250
  subjects:
217
251
  - kind: ServiceAccount
218
252
  name: default
219
253
  namespace: kube-system
220
- roleRef:
221
- kind: ClusterRole
222
- name: cluster-admin
223
- apiGroup: rbac.authorization.k8s.io
224
254
  ---
225
- kind: ClusterRoleBinding
226
255
  apiVersion: rbac.authorization.k8s.io/v1
256
+ kind: ClusterRoleBinding
227
257
  metadata:
228
- name: storage-version-migration-trigger
258
+ name: storage-version-migration-initializer
259
+ roleRef:
260
+ apiGroup: rbac.authorization.k8s.io
261
+ kind: ClusterRole
262
+ name: storage-version-migration-initializer
229
263
  subjects:
230
264
  - kind: ServiceAccount
231
265
  name: default
232
266
  namespace: kube-system
233
- roleRef:
234
- kind: ClusterRole
235
- name: storage-version-migration-trigger
236
- apiGroup: rbac.authorization.k8s.io
237
267
  ---
238
- kind: ClusterRoleBinding
239
268
  apiVersion: rbac.authorization.k8s.io/v1
269
+ kind: ClusterRoleBinding
240
270
  metadata:
241
- name: storage-version-migration-crd-creator
271
+ name: storage-version-migration-migrator
272
+ roleRef:
273
+ apiGroup: rbac.authorization.k8s.io
274
+ kind: ClusterRole
275
+ name: cluster-admin
242
276
  subjects:
243
277
  - kind: ServiceAccount
244
278
  name: default
245
279
  namespace: kube-system
246
- roleRef:
247
- kind: ClusterRole
248
- name: storage-version-migration-crd-creator
249
- apiGroup: rbac.authorization.k8s.io
250
280
  ---
251
- kind: ClusterRoleBinding
252
281
  apiVersion: rbac.authorization.k8s.io/v1
282
+ kind: ClusterRoleBinding
253
283
  metadata:
254
- name: storage-version-migration-initializer
284
+ name: storage-version-migration-trigger
285
+ roleRef:
286
+ apiGroup: rbac.authorization.k8s.io
287
+ kind: ClusterRole
288
+ name: storage-version-migration-trigger
255
289
  subjects:
256
290
  - kind: ServiceAccount
257
291
  name: default
258
292
  namespace: kube-system
259
- roleRef:
260
- kind: ClusterRole
261
- name: storage-version-migration-initializer
262
- apiGroup: rbac.authorization.k8s.io
263
293
  ---
264
294
  apiVersion: apps/v1
265
295
  kind: Deployment
266
296
  metadata:
267
- name: trigger
268
- namespace: kube-system
269
297
  labels:
270
- app: trigger
298
+ app: migrator
299
+ name: migrator
300
+ namespace: kube-system
271
301
  spec:
272
302
  replicas: 1
273
303
  selector:
274
304
  matchLabels:
275
- app: trigger
305
+ app: migrator
276
306
  template:
277
307
  metadata:
278
308
  labels:
279
- app: trigger
309
+ app: migrator
280
310
  spec:
281
311
  containers:
282
- - name: trigger
283
- image: yuanying/storage-version-migration-trigger:v0.1
284
- args:
285
- - --kubeconfig=/etc/trigger/kubeconfig
286
- volumeMounts:
287
- - mountPath: /etc/trigger
288
- name: kubeconfig
289
- volumes:
290
- - name: kubeconfig
291
- configMap:
292
- name: kubeconfig-in-cluster-latest
312
+ - command:
313
+ - /migrator
314
+ - --v=2
315
+ - --alsologtostderr
316
+ - --kube-api-qps=40
317
+ - --kube-api-burst=1000
318
+ image: asia.gcr.io/k8s-artifacts-prod/storage-migrator/storage-version-migration-migrator:v0.0.3
319
+ livenessProbe:
320
+ httpGet:
321
+ path: /healthz
322
+ port: 2112
323
+ scheme: HTTP
324
+ initialDelaySeconds: 10
325
+ timeoutSeconds: 60
326
+ name: migrator
293
327
  ---
294
328
  apiVersion: apps/v1
295
329
  kind: Deployment
296
330
  metadata:
297
- name: migrator
298
- namespace: kube-system
299
331
  labels:
300
- app: migrator
332
+ app: trigger
333
+ name: trigger
334
+ namespace: kube-system
301
335
  spec:
302
336
  replicas: 1
303
337
  selector:
304
338
  matchLabels:
305
- app: migrator
339
+ app: trigger
306
340
  template:
307
341
  metadata:
308
342
  labels:
309
- app: migrator
343
+ app: trigger
310
344
  spec:
311
345
  containers:
312
- - name: migrator
313
- image: yuanying/storage-version-migration-migrator:v0.1
314
- command:
315
- - /migrator
316
- - --v=2
317
- - --alsologtostderr
318
- - --kube-api-qps=40
319
- - --kube-api-burst=1000
320
- - --kubeconfig=/etc/migrator/kubeconfig
321
- volumeMounts:
322
- - mountPath: /etc/migrator
323
- name: kubeconfig
324
- volumes:
325
- - name: kubeconfig
326
- configMap:
327
- name: kubeconfig-in-cluster-latest
346
+ - image: asia.gcr.io/k8s-artifacts-prod/storage-migrator/storage-version-migration-trigger:v0.0.3
347
+ livenessProbe:
348
+ httpGet:
349
+ path: /healthz
350
+ port: 2113
351
+ scheme: HTTP
352
+ initialDelaySeconds: 10
353
+ timeoutSeconds: 60
354
+ name: trigger