-
Notifications
You must be signed in to change notification settings - Fork 1
/
values.yaml
283 lines (258 loc) · 9.77 KB
/
values.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
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
280
281
282
283
# Default values for XRd vRouter.
#
# There are two required fields which have no defaults and must
# be specified for all installations:
# - image.repository
# - image.tag
# Image configuration
image:
# Repository for the container image (required).
#repository: ""
# Image tag (required).
#tag: ""
# Pull policy for images.
# One of "IfNotPresent", "Always", or "Never"
# See https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
pullPolicy: Always
# Image pull secrets.
# See https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
pullSecrets: []
# Global configuration
global:
# Labels to add to all deployed objects.
labels: {}
# Annotations to add to all deployed objects.
annotations: {}
# Override the basename used for generated resources.
#nameOverride: ""
# Override the name used for generated resources.
#fullnameOverride: ""
# Labels to add to all deployed objects.
commonLabels: {}
# Annotations to add to all deployed objects.
commonAnnotations: {}
# Labels added to the XRd deployment.
labels: {}
# Annotations added to the XRd deployment.
annotations: {}
# Pod resource configuration.
# See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# The default resources are:
# - 5Gi memory request (unless a memory request/limit is specified here).
# - 3Gi hugepages-1Gi limit (and implicit request) (unless _any_ hugepage
# size request/limit is specified here).
resources: {}
# Example default resources for XRd vRouter:
# limits:
# hugepages-1Gi: 3Gi
# requests:
# memory: 5Gi
# Security context for the XRd container.
# Privileged mode is currently required for XRd in K8s due to device
# access requirements.
securityContext:
privileged: true
# Use the host network namespace.
hostNetwork: false
# Location control for the XRd pod.
# Standard K8s configuration, more information available at:
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
# Node labels for pod assignment.
nodeSelector: {}
# List of node taints to tolerate.
tolerations: []
# Affinity for pod assignment.
affinity: {}
# Labels added to the XRd pod.
podLabels: {}
# Annotations added to the XRd pod.
podAnnotations: {}
# Persistent storage controls.
persistence:
# Enable persistent storage.
enabled: false
# Persistent Volume size.
size: "6Gi"
# Persistent volume access modes.
accessModes:
- ReadWriteOnce
# Storage class for the persistent volume.
# This storage class must be defined separately.
# N.B Not specifying a storage class is not the same as specifying an
# empty string! (https://kubernetes.io/docs/concepts/storage/persistent-volumes/)
#storageClass: ""
# Bind to an existing Persistent Volume.
# If specified this must be a pre-existing PV that is not bound.
#existingVolume: ""
# Annotations added to the PVC.
annotations: {}
# Selector for the PVC.
#selector: {}
# Custom PVC data source.
#dataSource: {}
# Use an existing bound Persistent Volume Claim.
# If specified this must be a pre-existing PVC that is bound.
# This overrides any other settings in this section.
#existingClaim: ""
# Extra volume definitions for the XRd pod.
# These are added verbatim to the XRd pod volumes.
extraVolumes: []
# Extra volume mounts for the XRd container.
# These are added verbatim to the XRd container volume mounts.
extraVolumeMounts: []
# Extra host path mounts for the XRd container.
# This can be used to mount additional host paths into the container instead
# of defining an extraVolumes entry and an extraVolumeMounts entry.
extraHostPathMounts: []
# Unique name (required)
#- name: e810-driver
# Path from the host to mount in the container (required)
#hostPath: "/lib/firmware/intel/ice/ddp"
# Path to use as the mount point in the container (defaults to the same
# as the hostPath).
#mountPath: ""
# Flag indicating whether or not to create the directory if it doesn't
# exist at container start (default false).
#create: false
# XR configuration and boot scripts.
config:
# Username and password for the root system user.
# This field can be used instead of putting the user configuration in
# the ascii configuration below so values files can be distributed
# without username and password data.
# This MUST NOT clash with the ASCII config below!
# These must be specified together, i.e. both or neither must be specified.
#username: ""
#password: ""
# ASCII XR configuration to be applied on XR boot.
#ascii: ""
# Flag indicating when the above configuration should be applied:
# - false indicates only on first boot.
# - true indicates on every boot.
# Defaults to false (only first boot).
#asciiEveryBoot: false
# Contents of a script to run on XR boot.
#script: ""
# Flag indicating when the above script should be run:
# - false indicates only on first boot.
# - true indicates on every boot.
# Defaults to false (only first boot).
#scriptEveryBoot: false
# ZTP enable flag.
ztpEnable: false
# Contents of a custom ZTP ini file to use.
# This may only be set when the ztpEnable flag is set to 'true'
#ztpIni: ""
# XRd interfaces.
# These are split into two arrays:
# - An array of line interfaces: 'interfaces'
# - An array of management interfaces: 'mgmtInterfaces'
#
# Each of these is an array of interface objects.
# Interfaces can be one of the following types:
# - defaultCni: This interface connects to the defaultCNI veth interface
# created in each pod.
# Only one interface of this type may be specified (across both
# interfaces and mgmtInterfaces).
# This can be specified as a mgmtInterface only.
# - multus: This connects to an interface created using a CNI plugin,
# driven by the multus meta-CNI plugin.
# All of the network attachment definition configuration must be
# specified under the 'config' field for the interface.
# Any attachment annotation configuration may be specified under
# the 'attachmentConfig' field.
# This can be specified as a mgmtInterface only.
# - pci: This connects to a PCI interface, or range of PCI interfaces.
# The configuration here is one of:
# - device: <address>, to use the single interface at the
# given PCI address.
# - first: N, to use the first N network PCI devices.
# - last: N, to use the final N network PCI devices.
# This can be specified as a line interface only.
# N.B. If PCI interfaces are specified with "first" or "last",
# that must be the ONLY "pci" interface definition.
#
# On 'defaultCni' and 'multus' interfaces, the following options may also
# be specified to control the interface behavior in XR:
# - chksum: Turn on TCP/UDP checksum calculation for ingress packets (to
# counteract checksum offload to hardware).
# - xrName: Customize the XR interface name for this interface.
# - snoopIpv4Address: see below.
# - snoopIpv4DefaultRoute: see below.
# - snoopIpv6Address: see below.
# - snoopIpv6Address: see below.
# The snooping options find the named configuration item in the
# container network namespace and apply that configuration into XR, e.g.
# if snoopIpv4Address is specified, the IPv4 address for the underlying
# linux interface is found, and XR configuration for that IPv4 address
# on the corresponding XR interface is generated and applied on XRd startup.
#
# XRd line interfaces.
interfaces: []
# Example interfaces:
# config:
# device: 00.06.00:1
#- type pci
# config:
# last: 3
# XRd management interfaces.
mgmtInterfaces: []
# Example interfaces:
#- type: defaultCni
# snoopIpv4Address: true
# snoopIpv4DefaultRoute: true
# chksum: true
#- type: multus
# config:
# type: macvlan
# master: eth1
# mode: bridge
# ipam:
# type: static
# attachmentConfig:
# ips:
# - "10.0.0.1/24"
# CPU settings.
cpu: {}
# Specify the cpusets for XRd to use for the control-plane and the dataplane.
# They must each be a subset of the CPUs available for XRd to run on.
# Both or neither must be specified.
# If neither is specified then all available CPUs are used, split
# appropriately between the control-plane and dataplane.
#controlPlaneCpuset: ""
#dataPlaneCpuset: ""
# HyperThreading mode.
# This option can be used when the CPU has hyperthreading turned on to ensure
# that the dataplane has whole physical CPU cores and to prevent 'noisy
# neighbor' issues.
# This mode supports two values:
# - 'off' - no hyperthreading (default)
# - 'pairs' - where hyperthreaded siblings are consecutive, i.e.
# * physical core 0 has logical cores 0 and 1
# * physical core 1 has logical cores 2 and 3
# * etc...
# Must not be used in conjunction with controlPlaneCpuset and
# dataPlaneCpuset.
#hyperThreadingMode: "off"
#
# Deprecated cpu settings:
#
# Override the cpuset to use for XRd. Must not be used in conjunction with
# controlPlaneCpuset and dataPlaneCpuset.
# This must be a subset of the CPUs available for XRd to run on.
# Deprecated. Use controlPlaneCpuset and dataPlaneCpuset instead.
#cpuset: ""
# Override the number of CPUs used for control-plane threads from the pool of
# CPUs in the XRd cpuset. Must not be used in conjunction with
# controlPlaneCpuset and dataPlaneCpuset.
# Deprecated. Use controlPlaneCpuset and dataPlaneCpuset instead.
#controlPlaneCpuCount: 2
# PCI interface driver.
# Two PCI drivers are supported:
# - 'vfio-pci' (default)
# - 'igb_uio'
#pciDriver: "vfio-pci"
# XRd advanced settings.
# This section contains settings not required by most users.
# Details can be found here: @@@
advancedSettings: {}