-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig-values.yaml
More file actions
279 lines (271 loc) · 10 KB
/
config-values.yaml
File metadata and controls
279 lines (271 loc) · 10 KB
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
type: object
required: [virtualMachineCIDRs, dvcr]
properties:
highAvailability:
type: boolean
x-examples: [true, false]
description: |
Manually enable the high availability (HA) mode.
By default, Deckhouse automatically decides whether to enable the HA mode.
To learn more about the HA mode, refer to [High reliability and availability](/products/kubernetes-platform/documentation/v1/admin/configuration/high-reliability-and-availability/enable.html#enabling-ha-mode-for-individual-components).
virtualMachineCIDRs:
type: array
minItems: 1
description: |
List of CIDRs used to allocate static IP addresses for Virtual Machines.
> **Warning.** The subnet for virtual machines should not be the same as the subnet used for pods, services and nodes. Address conflicts can lead to unpredictable behavior and networking problems.
>
> It is prohibited to delete subnets from which IP addresses have already been assigned to virtual machines.
x-examples:
- ["10.10.10.0/24", "10.10.20.0/24"]
items:
type: string
ingressClass:
type: string
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$'
description: |
The Ingress class that will be used to upload images.
By default, the `modules.ingressClass` global value is used.
https:
type: object
x-examples:
- mode: Disabled
- mode: OnlyInURI
- mode: CustomCertificate
customCertificate:
secretName: "foobar"
- mode: CertManager
certManager:
clusterIssuerName: letsencrypt
description: |
What certificate type to use.
This parameter completely overrides the `global.modules.https` settings.
properties:
mode:
type: string
default: "CertManager"
description: |
The HTTPS usage mode:
- `CertManager` — the web UI is accessed over HTTPS using a certificate obtained from a clusterIssuer specified in the `certManager.clusterIssuerName` parameter;
- `CustomCertificate` — the web UI is accessed over HTTPS using a certificate from the `d8-system` namespace;
- `Disabled` — in this mode, the documentation web UI can only be accessed over HTTP;
- `OnlyInURI` — the documentation web UI will work over HTTP (thinking that there is an external HTTPS load balancer in front of it that terminates HTTPS traffic). All the links in the `user-authn` will be generated using the HTTPS scheme.
enum:
- "Disabled"
- "CertManager"
- "CustomCertificate"
- "OnlyInURI"
certManager:
type: object
description: |
Parameters for certmanager.
properties:
clusterIssuerName:
type: string
default: "letsencrypt"
x-examples: ["letsencrypt", "letsencrypt-staging", "selfsigned"]
description: |
What ClusterIssuer to use for getting an SSL certificate (currently, `letsencrypt`, `letsencrypt-staging`, `selfsigned` are available; also, you can define your own).
customCertificate:
type: object
default: {}
description: |
Parameters for custom certificate usage.
properties:
secretName:
type: string
description: |
The name of the secret in the `d8-system` namespace to use with CDI upload proxy.
This secret must have the [kubernetes.io/tls](https://kubernetes.github.io/ingress-nginx/user-guide/tls/#tls-secrets) format.
dvcr:
type: object
description: |
Options for settings up Deckhouse virtualization container registry.
Internal service for storing all vms images.
required: [storage]
properties:
storage:
type: object
description: |
Options for setting up storage.
properties:
type:
type: string
description: |
The storage usage type:
- `persistentVolumeClaim` — Use PersistentVolumeClaim as store for dvcr.
- `objectStorage` — Use objectStorage as store for dvcr.
enum:
- "PersistentVolumeClaim"
- "ObjectStorage"
persistentVolumeClaim:
type: object
description: |
Parameters for PersistentVolumeClaim.
required: [size]
properties:
storageClassName:
type: string
x-examples: ["linstor", "nfs"]
description: |
What StorageClass to use for creating persistentvolumeclaim. If not specified, the default StorageClass specified in the cluster will be used.
size:
type: string
x-examples: ["10Gi"]
description: |
Persistentvolumeclaim size
objectStorage:
type: object
description: |
Parameters for objectStorage.
properties:
type:
type: string
description: |
What ObjectStorage to use as store for dvcr.
enum:
- "S3"
s3:
type: object
description: |
Parameters for S3.
required: [accessKey, secretKey, region, regionEndpoint, bucket]
properties:
accessKey:
type: string
x-examples: ["YWNjZXNzS2V5Cg=="]
description: |
accessKey must be base64 encoded.
accessKey is a unique identifier that identifies you as a user with access to S3.
pattern: "^[A-Za-z0-9+/]*={0,2}$"
secretKey:
type: string
x-examples: ["c2VjcmV0S2V5Cg=="]
description: |
secretKey must be base64 encoded.
secretKey is a confidential secret key associated with your Access Key ID.
Secret Access Key is used to sign HTTP requests to Amazon S3 to verify the authenticity of the request and ensure the security of your data.
pattern: "^[A-Za-z0-9+/]*={0,2}$"
region:
type: string
x-examples: ["us-east-2", "us-west-1"]
description: |
Geographical area.
regionEndpoint:
type: string
x-examples: ["s3.example.com"]
description: |
Endpoint for connect to service S3.
pattern: '^https?://[0-9a-zA-Z\.\-:@_]+$'
bucket:
type: string
x-examples: ["dvcr"]
description: |
Bucket in which you can store your files and data objects.
oneOf:
- required: ["s3"]
properties:
type:
enum: ["S3"]
oneOf:
- required: ["persistentVolumeClaim"]
properties:
type:
enum: ["PersistentVolumeClaim"]
- required: ["objectStorage"]
properties:
type:
enum: ["ObjectStorage"]
gc:
description: |
Parameters for garbage collection.
type: object
properties:
schedule:
type: string
description: |
Schedule to run garbage collection procedure that remove stale images for `ClusterVirtualImage`, `VirtualImage`, `VirtualDisk` resources deleted from the cluster.
Default schedule is not defined. Specify schedule to enable garbage collection.
audit:
type: object
description: |
Parameters for audit controller.
properties:
enabled:
type: boolean
default: false
description: |
Enable audit controlller.
virtualImages:
type: object
description: |
Configuring storage class for virtual images on PVC.
properties:
storageClassName:
deprecated: true
x-doc-deprecated: true
type: string
description: |
Since the parameter has been deprecated, use the `defaultStorageClassName` parameter.
defaultStorageClassName:
type: string
description: |
Specifies the name of the default storage class to be used for virtual images on PVC.
allowedStorageClassSelector:
type: object
description: |
Selector for allowed storage classes to be used for virtual images on PVC.
minProperties: 1
properties:
matchNames:
type: array
minItems: 1
items:
type: string
minLength: 1
x-examples: ["sc-1", "sc-2"]
virtualDisks:
type: object
description: |
Configuring storage class for virtual disks.
properties:
defaultStorageClassName:
type: string
description: |
Specifies the name of the default storage class to be used for virtual disks.
allowedStorageClassSelector:
type: object
description: |
Selector for allowed storage classes to be used for virtual disks.
minProperties: 1
properties:
matchNames:
type: array
minItems: 1
items:
type: string
minLength: 1
x-examples: ["sc-1", "sc-2"]
logLevel:
type: string
description: |
Sets a logging level.
Working for this components:
- `virtualization-api`
- `virtualization-controller`
- `kube-api-rewriter`
- `vm-route-forge`
enum:
- "debug"
- "info"
- "warn"
- "error"
logFormat:
type: string
description: |
Sets a logging format.
Working for this components:
- `virtualization-controller`
enum:
- "text"
- "json"