Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
1e6709db
Unverified
Commit
1e6709db
authored
Jul 28, 2025
by
julienmancuso
Committed by
GitHub
Jul 28, 2025
Browse files
feat: allow to override any podSpec property (#2116)
parent
096d117d
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12290 additions
and
2633 deletions
+12290
-2633
deploy/cloud/helm/crds/Chart.yaml
deploy/cloud/helm/crds/Chart.yaml
+1
-1
deploy/cloud/helm/crds/templates/nvidia.com_dynamocomponentdeployments.yaml
...crds/templates/nvidia.com_dynamocomponentdeployments.yaml
+3067
-642
deploy/cloud/helm/crds/templates/nvidia.com_dynamographdeployments.yaml
...elm/crds/templates/nvidia.com_dynamographdeployments.yaml
+3067
-642
deploy/cloud/helm/platform/components/operator/templates/deployment.yaml
...lm/platform/components/operator/templates/deployment.yaml
+2
-2
deploy/cloud/operator/api/dynamo/common/common.go
deploy/cloud/operator/api/dynamo/common/common.go
+2
-9
deploy/cloud/operator/api/dynamo/common/zz_generated.deepcopy.go
...cloud/operator/api/dynamo/common/zz_generated.deepcopy.go
+3
-31
deploy/cloud/operator/config/crd/bases/nvidia.com_dynamocomponentdeployments.yaml
...nfig/crd/bases/nvidia.com_dynamocomponentdeployments.yaml
+3067
-642
deploy/cloud/operator/config/crd/bases/nvidia.com_dynamographdeployments.yaml
...r/config/crd/bases/nvidia.com_dynamographdeployments.yaml
+3067
-642
deploy/cloud/operator/internal/controller/dynamocomponentdeployment_controller.go
...ternal/controller/dynamocomponentdeployment_controller.go
+7
-20
deploy/cloud/operator/internal/controller/dynamocomponentdeployment_controller_test.go
...l/controller/dynamocomponentdeployment_controller_test.go
+7
-2
No files found.
deploy/cloud/helm/crds/Chart.yaml
View file @
1e6709db
...
...
@@ -16,5 +16,5 @@ apiVersion: v2
name
:
dynamo-crds
description
:
A Helm chart for dynamo CRDs
type
:
application
version
:
0.
3.2
version
:
0.
4.0
dependencies
:
[]
\ No newline at end of file
deploy/cloud/helm/crds/templates/nvidia.com_dynamocomponentdeployments.yaml
View file @
1e6709db
...
...
@@ -502,6 +502,9 @@ spec:
type
:
object
extraPodSpec
:
properties
:
activeDeadlineSeconds
:
format
:
int64
type
:
integer
affinity
:
properties
:
nodeAffinity
:
...
...
@@ -941,6 +944,8 @@ spec:
x-kubernetes-list-type
:
atomic
type
:
object
type
:
object
automountServiceAccountToken
:
type
:
boolean
containers
:
items
:
properties
:
...
...
@@ -1623,7 +1628,38 @@ spec:
-
name
type
:
object
type
:
array
mainContainer
:
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
dnsConfig
:
properties
:
nameservers
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
options
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
searches
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
dnsPolicy
:
type
:
string
enableServiceLinks
:
type
:
boolean
ephemeralContainers
:
items
:
properties
:
args
:
items
:
...
...
@@ -2252,6 +2288,8 @@ spec:
type
:
boolean
stdinOnce
:
type
:
boolean
targetContainerName
:
type
:
string
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
...
...
@@ -2300,88 +2338,2475 @@ spec:
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
[]
required
:
-
name
type
:
object
nodeSelector
:
additionalProperties
:
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
hostAliases
:
items
:
properties
:
hostnames
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
ip
:
type
:
string
required
:
-
ip
type
:
object
priorityClassName
:
type
:
array
x-kubernetes-list-map-keys
:
-
ip
x-kubernetes-list-type
:
map
hostIPC
:
type
:
boolean
hostNetwork
:
type
:
boolean
hostPID
:
type
:
boolean
hostUsers
:
type
:
boolean
hostname
:
type
:
string
schedulerName
:
imagePullSecrets
:
items
:
properties
:
name
:
default
:
"
"
type
:
string
serviceAccountName
:
type
:
object
x-kubernetes-map-type
:
atomic
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
initContainers
:
items
:
properties
:
args
:
items
:
type
:
string
tolerations
:
type
:
array
x-kubernetes-list-type
:
atomic
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
env
:
items
:
properties
:
effect
:
name
:
type
:
string
value
:
type
:
string
valueFrom
:
properties
:
configMapKeyRef
:
properties
:
key
:
type
:
string
operator
:
name
:
default
:
"
"
type
:
string
tolerationSeconds
:
format
:
int64
type
:
integer
value
:
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
secretKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
required
:
-
name
type
:
object
type
:
array
topologySpreadConstraints
:
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
envFrom
:
items
:
properties
:
labelSelector
:
configMapRef
:
properties
:
matchExpressions
:
items
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
prefix
:
type
:
string
secretRef
:
properties
:
key
:
name
:
default
:
"
"
type
:
string
operator
:
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
image
:
type
:
string
values
:
imagePullPolicy
:
type
:
string
lifecycle
:
properties
:
postStart
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
key
-
operator
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
x-kubernetes-map-type
:
atomic
matchLabelKeys
:
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
preStop
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
maxSkew
:
format
:
int32
type
:
integer
minDomains
:
format
:
int32
type
:
integer
nodeAffinityPolicy
:
type
:
object
httpGet
:
properties
:
host
:
type
:
string
nodeTaintsPolicy
:
httpHeaders
:
items
:
properties
:
name
:
type
:
string
topologyKey
:
value
:
type
:
string
whenUnsatisfiable
:
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
stopSignal
:
type
:
string
type
:
object
livenessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
name
:
type
:
string
ports
:
items
:
properties
:
containerPort
:
format
:
int32
type
:
integer
hostIP
:
type
:
string
hostPort
:
format
:
int32
type
:
integer
name
:
type
:
string
protocol
:
default
:
TCP
type
:
string
required
:
-
containerPort
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
containerPort
-
protocol
x-kubernetes-list-type
:
map
readinessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
resizePolicy
:
items
:
properties
:
resourceName
:
type
:
string
restartPolicy
:
type
:
string
required
:
-
resourceName
-
restartPolicy
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
securityContext
:
properties
:
allowPrivilegeEscalation
:
type
:
boolean
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
capabilities
:
properties
:
add
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
drop
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
privileged
:
type
:
boolean
procMount
:
type
:
string
readOnlyRootFilesystem
:
type
:
boolean
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
startupProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
stdin
:
type
:
boolean
stdinOnce
:
type
:
boolean
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
type
:
string
tty
:
type
:
boolean
volumeDevices
:
items
:
properties
:
devicePath
:
type
:
string
name
:
type
:
string
required
:
-
devicePath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
devicePath
x-kubernetes-list-type
:
map
volumeMounts
:
items
:
properties
:
mountPath
:
type
:
string
mountPropagation
:
type
:
string
name
:
type
:
string
readOnly
:
type
:
boolean
recursiveReadOnly
:
type
:
string
subPath
:
type
:
string
subPathExpr
:
type
:
string
required
:
-
mountPath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
mountPath
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
mainContainer
:
properties
:
args
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
env
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
valueFrom
:
properties
:
configMapKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
secretKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
envFrom
:
items
:
properties
:
configMapRef
:
properties
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
prefix
:
type
:
string
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
image
:
type
:
string
imagePullPolicy
:
type
:
string
lifecycle
:
properties
:
postStart
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
preStop
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
stopSignal
:
type
:
string
type
:
object
livenessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
name
:
type
:
string
ports
:
items
:
properties
:
containerPort
:
format
:
int32
type
:
integer
hostIP
:
type
:
string
hostPort
:
format
:
int32
type
:
integer
name
:
type
:
string
protocol
:
default
:
TCP
type
:
string
required
:
-
containerPort
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
containerPort
-
protocol
x-kubernetes-list-type
:
map
readinessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
resizePolicy
:
items
:
properties
:
resourceName
:
type
:
string
restartPolicy
:
type
:
string
required
:
-
resourceName
-
restartPolicy
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
securityContext
:
properties
:
allowPrivilegeEscalation
:
type
:
boolean
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
capabilities
:
properties
:
add
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
drop
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
privileged
:
type
:
boolean
procMount
:
type
:
string
readOnlyRootFilesystem
:
type
:
boolean
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
startupProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
stdin
:
type
:
boolean
stdinOnce
:
type
:
boolean
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
type
:
string
tty
:
type
:
boolean
volumeDevices
:
items
:
properties
:
devicePath
:
type
:
string
name
:
type
:
string
required
:
-
devicePath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
devicePath
x-kubernetes-list-type
:
map
volumeMounts
:
items
:
properties
:
mountPath
:
type
:
string
mountPropagation
:
type
:
string
name
:
type
:
string
readOnly
:
type
:
boolean
recursiveReadOnly
:
type
:
string
subPath
:
type
:
string
subPathExpr
:
type
:
string
required
:
-
mountPath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
mountPath
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
[]
type
:
object
nodeName
:
type
:
string
nodeSelector
:
additionalProperties
:
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
os
:
properties
:
name
:
type
:
string
required
:
-
name
type
:
object
overhead
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
preemptionPolicy
:
type
:
string
priority
:
format
:
int32
type
:
integer
priorityClassName
:
type
:
string
readinessGates
:
items
:
properties
:
conditionType
:
type
:
string
required
:
-
conditionType
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resourceClaims
:
items
:
properties
:
name
:
type
:
string
resourceClaimName
:
type
:
string
resourceClaimTemplateName
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
runtimeClassName
:
type
:
string
schedulerName
:
type
:
string
schedulingGates
:
items
:
properties
:
name
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
securityContext
:
properties
:
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
fsGroup
:
format
:
int64
type
:
integer
fsGroupChangePolicy
:
type
:
string
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxChangePolicy
:
type
:
string
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
supplementalGroups
:
items
:
format
:
int64
type
:
integer
type
:
array
x-kubernetes-list-type
:
atomic
supplementalGroupsPolicy
:
type
:
string
sysctls
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
serviceAccount
:
type
:
string
serviceAccountName
:
type
:
string
setHostnameAsFQDN
:
type
:
boolean
shareProcessNamespace
:
type
:
boolean
subdomain
:
type
:
string
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
tolerations
:
items
:
properties
:
effect
:
type
:
string
key
:
type
:
string
operator
:
type
:
string
tolerationSeconds
:
format
:
int64
type
:
integer
value
:
type
:
string
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
topologySpreadConstraints
:
items
:
properties
:
labelSelector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
matchLabelKeys
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
maxSkew
:
format
:
int32
type
:
integer
minDomains
:
format
:
int32
type
:
integer
nodeAffinityPolicy
:
type
:
string
nodeTaintsPolicy
:
type
:
string
topologyKey
:
type
:
string
whenUnsatisfiable
:
type
:
string
required
:
-
maxSkew
-
topologyKey
-
whenUnsatisfiable
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
topologyKey
-
whenUnsatisfiable
x-kubernetes-list-type
:
map
volumes
:
items
:
properties
:
awsElasticBlockStore
:
properties
:
fsType
:
type
:
string
partition
:
format
:
int32
type
:
integer
readOnly
:
type
:
boolean
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
azureDisk
:
properties
:
cachingMode
:
type
:
string
diskName
:
type
:
string
diskURI
:
type
:
string
fsType
:
default
:
ext4
type
:
string
kind
:
type
:
string
readOnly
:
default
:
false
type
:
boolean
required
:
-
diskName
-
diskURI
type
:
object
azureFile
:
properties
:
readOnly
:
type
:
boolean
secretName
:
type
:
string
shareName
:
type
:
string
required
:
-
secretName
-
shareName
type
:
object
cephfs
:
properties
:
monitors
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
readOnly
:
type
:
boolean
secretFile
:
type
:
string
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
user
:
type
:
string
required
:
-
monitors
type
:
object
cinder
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
configMap
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
csi
:
properties
:
driver
:
type
:
string
fsType
:
type
:
string
nodePublishSecretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
readOnly
:
type
:
boolean
volumeAttributes
:
additionalProperties
:
type
:
string
type
:
object
required
:
-
driver
type
:
object
downwardAPI
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
emptyDir
:
properties
:
medium
:
type
:
string
sizeLimit
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
ephemeral
:
properties
:
volumeClaimTemplate
:
properties
:
metadata
:
type
:
object
spec
:
properties
:
accessModes
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
dataSource
:
properties
:
apiGroup
:
type
:
string
kind
:
type
:
string
name
:
type
:
string
required
:
-
kind
-
name
type
:
object
x-kubernetes-map-type
:
atomic
dataSourceRef
:
properties
:
apiGroup
:
type
:
string
kind
:
type
:
string
name
:
type
:
string
namespace
:
type
:
string
required
:
-
kind
-
name
type
:
object
resources
:
properties
:
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
selector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
storageClassName
:
type
:
string
volumeAttributesClassName
:
type
:
string
volumeMode
:
type
:
string
volumeName
:
type
:
string
type
:
object
required
:
-
spec
type
:
object
type
:
object
fc
:
properties
:
fsType
:
type
:
string
lun
:
format
:
int32
type
:
integer
readOnly
:
type
:
boolean
targetWWNs
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
wwids
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
flexVolume
:
properties
:
driver
:
type
:
string
fsType
:
type
:
string
options
:
additionalProperties
:
type
:
string
type
:
object
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
driver
type
:
object
flocker
:
properties
:
datasetName
:
type
:
string
datasetUUID
:
type
:
string
type
:
object
gcePersistentDisk
:
properties
:
fsType
:
type
:
string
partition
:
format
:
int32
type
:
integer
pdName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
pdName
type
:
object
gitRepo
:
properties
:
directory
:
type
:
string
repository
:
type
:
string
revision
:
type
:
string
required
:
-
repository
type
:
object
glusterfs
:
properties
:
endpoints
:
type
:
string
path
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
endpoints
-
path
type
:
object
hostPath
:
properties
:
path
:
type
:
string
type
:
type
:
string
required
:
-
path
type
:
object
image
:
properties
:
pullPolicy
:
type
:
string
reference
:
type
:
string
type
:
object
iscsi
:
properties
:
chapAuthDiscovery
:
type
:
boolean
chapAuthSession
:
type
:
boolean
fsType
:
type
:
string
initiatorName
:
type
:
string
iqn
:
type
:
string
iscsiInterface
:
default
:
default
type
:
string
lun
:
format
:
int32
type
:
integer
portals
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
targetPortal
:
type
:
string
required
:
-
iqn
-
lun
-
targetPortal
type
:
object
name
:
type
:
string
nfs
:
properties
:
path
:
type
:
string
readOnly
:
type
:
boolean
server
:
type
:
string
required
:
-
path
-
server
type
:
object
persistentVolumeClaim
:
properties
:
claimName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
claimName
type
:
object
photonPersistentDisk
:
properties
:
fsType
:
type
:
string
pdID
:
type
:
string
required
:
-
maxSkew
-
topologyKey
-
whenUnsatisfiable
-
pdID
type
:
object
portworxVolume
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
projected
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
sources
:
items
:
properties
:
clusterTrustBundle
:
properties
:
labelSelector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
name
:
type
:
string
optional
:
type
:
boolean
path
:
type
:
string
signerName
:
type
:
string
required
:
-
path
type
:
object
configMap
:
properties
:
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
downwardAPI
:
properties
:
items
:
items
:
properties
:
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
secret
:
properties
:
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
serviceAccountToken
:
properties
:
audience
:
type
:
string
expirationSeconds
:
format
:
int64
type
:
integer
path
:
type
:
string
required
:
-
path
type
:
object
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
quobyte
:
properties
:
group
:
type
:
string
readOnly
:
type
:
boolean
registry
:
type
:
string
tenant
:
type
:
string
user
:
type
:
string
volume
:
type
:
string
required
:
-
registry
-
volume
type
:
object
rbd
:
properties
:
fsType
:
type
:
string
image
:
type
:
string
keyring
:
default
:
/etc/ceph/keyring
type
:
string
monitors
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
pool
:
default
:
rbd
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
user
:
default
:
admin
type
:
string
required
:
-
image
-
monitors
type
:
object
scaleIO
:
properties
:
fsType
:
default
:
xfs
type
:
string
gateway
:
type
:
string
protectionDomain
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
sslEnabled
:
type
:
boolean
storageMode
:
default
:
ThinProvisioned
type
:
string
storagePool
:
type
:
string
system
:
type
:
string
volumeName
:
type
:
string
required
:
-
gateway
-
secretRef
-
system
type
:
object
secret
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
optional
:
type
:
boolean
secretName
:
type
:
string
type
:
object
storageos
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
volumeName
:
type
:
string
volumeNamespace
:
type
:
string
type
:
object
vsphereVolume
:
properties
:
fsType
:
type
:
string
storagePolicyID
:
type
:
string
storagePolicyName
:
type
:
string
volumePath
:
type
:
string
required
:
-
volumePath
type
:
object
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
required
:
-
containers
type
:
object
ingress
:
properties
:
...
...
deploy/cloud/helm/crds/templates/nvidia.com_dynamographdeployments.yaml
View file @
1e6709db
...
...
@@ -557,6 +557,9 @@ spec:
type
:
object
extraPodSpec
:
properties
:
activeDeadlineSeconds
:
format
:
int64
type
:
integer
affinity
:
properties
:
nodeAffinity
:
...
...
@@ -996,6 +999,8 @@ spec:
x-kubernetes-list-type
:
atomic
type
:
object
type
:
object
automountServiceAccountToken
:
type
:
boolean
containers
:
items
:
properties
:
...
...
@@ -1678,7 +1683,38 @@ spec:
-
name
type
:
object
type
:
array
mainContainer
:
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
dnsConfig
:
properties
:
nameservers
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
options
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
searches
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
dnsPolicy
:
type
:
string
enableServiceLinks
:
type
:
boolean
ephemeralContainers
:
items
:
properties
:
args
:
items
:
...
...
@@ -2307,6 +2343,8 @@ spec:
type
:
boolean
stdinOnce
:
type
:
boolean
targetContainerName
:
type
:
string
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
...
...
@@ -2355,88 +2393,2475 @@ spec:
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
[]
required
:
-
name
type
:
object
nodeSelector
:
additionalProperties
:
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
hostAliases
:
items
:
properties
:
hostnames
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
ip
:
type
:
string
required
:
-
ip
type
:
object
priorityClassName
:
type
:
array
x-kubernetes-list-map-keys
:
-
ip
x-kubernetes-list-type
:
map
hostIPC
:
type
:
boolean
hostNetwork
:
type
:
boolean
hostPID
:
type
:
boolean
hostUsers
:
type
:
boolean
hostname
:
type
:
string
schedulerName
:
imagePullSecrets
:
items
:
properties
:
name
:
default
:
"
"
type
:
string
serviceAccountName
:
type
:
object
x-kubernetes-map-type
:
atomic
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
initContainers
:
items
:
properties
:
args
:
items
:
type
:
string
tolerations
:
type
:
array
x-kubernetes-list-type
:
atomic
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
env
:
items
:
properties
:
effect
:
name
:
type
:
string
value
:
type
:
string
valueFrom
:
properties
:
configMapKeyRef
:
properties
:
key
:
type
:
string
operator
:
name
:
default
:
"
"
type
:
string
tolerationSeconds
:
format
:
int64
type
:
integer
value
:
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
secretKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
required
:
-
name
type
:
object
type
:
array
topologySpreadConstraints
:
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
envFrom
:
items
:
properties
:
labelSelector
:
configMapRef
:
properties
:
matchExpressions
:
items
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
prefix
:
type
:
string
secretRef
:
properties
:
key
:
name
:
default
:
"
"
type
:
string
operator
:
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
image
:
type
:
string
values
:
imagePullPolicy
:
type
:
string
lifecycle
:
properties
:
postStart
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
key
-
operator
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
x-kubernetes-map-type
:
atomic
matchLabelKeys
:
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
preStop
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
maxSkew
:
format
:
int32
type
:
integer
minDomains
:
format
:
int32
type
:
integer
nodeAffinityPolicy
:
type
:
object
httpGet
:
properties
:
host
:
type
:
string
nodeTaintsPolicy
:
httpHeaders
:
items
:
properties
:
name
:
type
:
string
topologyKey
:
value
:
type
:
string
whenUnsatisfiable
:
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
stopSignal
:
type
:
string
type
:
object
livenessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
name
:
type
:
string
ports
:
items
:
properties
:
containerPort
:
format
:
int32
type
:
integer
hostIP
:
type
:
string
hostPort
:
format
:
int32
type
:
integer
name
:
type
:
string
protocol
:
default
:
TCP
type
:
string
required
:
-
containerPort
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
containerPort
-
protocol
x-kubernetes-list-type
:
map
readinessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
resizePolicy
:
items
:
properties
:
resourceName
:
type
:
string
restartPolicy
:
type
:
string
required
:
-
resourceName
-
restartPolicy
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
securityContext
:
properties
:
allowPrivilegeEscalation
:
type
:
boolean
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
capabilities
:
properties
:
add
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
drop
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
privileged
:
type
:
boolean
procMount
:
type
:
string
readOnlyRootFilesystem
:
type
:
boolean
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
startupProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
stdin
:
type
:
boolean
stdinOnce
:
type
:
boolean
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
type
:
string
tty
:
type
:
boolean
volumeDevices
:
items
:
properties
:
devicePath
:
type
:
string
name
:
type
:
string
required
:
-
devicePath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
devicePath
x-kubernetes-list-type
:
map
volumeMounts
:
items
:
properties
:
mountPath
:
type
:
string
mountPropagation
:
type
:
string
name
:
type
:
string
readOnly
:
type
:
boolean
recursiveReadOnly
:
type
:
string
subPath
:
type
:
string
subPathExpr
:
type
:
string
required
:
-
mountPath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
mountPath
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
mainContainer
:
properties
:
args
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
env
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
valueFrom
:
properties
:
configMapKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
secretKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
envFrom
:
items
:
properties
:
configMapRef
:
properties
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
prefix
:
type
:
string
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
image
:
type
:
string
imagePullPolicy
:
type
:
string
lifecycle
:
properties
:
postStart
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
preStop
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
stopSignal
:
type
:
string
type
:
object
livenessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
name
:
type
:
string
ports
:
items
:
properties
:
containerPort
:
format
:
int32
type
:
integer
hostIP
:
type
:
string
hostPort
:
format
:
int32
type
:
integer
name
:
type
:
string
protocol
:
default
:
TCP
type
:
string
required
:
-
containerPort
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
containerPort
-
protocol
x-kubernetes-list-type
:
map
readinessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
resizePolicy
:
items
:
properties
:
resourceName
:
type
:
string
restartPolicy
:
type
:
string
required
:
-
resourceName
-
restartPolicy
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
securityContext
:
properties
:
allowPrivilegeEscalation
:
type
:
boolean
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
capabilities
:
properties
:
add
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
drop
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
privileged
:
type
:
boolean
procMount
:
type
:
string
readOnlyRootFilesystem
:
type
:
boolean
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
startupProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
stdin
:
type
:
boolean
stdinOnce
:
type
:
boolean
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
type
:
string
tty
:
type
:
boolean
volumeDevices
:
items
:
properties
:
devicePath
:
type
:
string
name
:
type
:
string
required
:
-
devicePath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
devicePath
x-kubernetes-list-type
:
map
volumeMounts
:
items
:
properties
:
mountPath
:
type
:
string
mountPropagation
:
type
:
string
name
:
type
:
string
readOnly
:
type
:
boolean
recursiveReadOnly
:
type
:
string
subPath
:
type
:
string
subPathExpr
:
type
:
string
required
:
-
mountPath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
mountPath
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
[]
type
:
object
nodeName
:
type
:
string
nodeSelector
:
additionalProperties
:
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
os
:
properties
:
name
:
type
:
string
required
:
-
name
type
:
object
overhead
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
preemptionPolicy
:
type
:
string
priority
:
format
:
int32
type
:
integer
priorityClassName
:
type
:
string
readinessGates
:
items
:
properties
:
conditionType
:
type
:
string
required
:
-
conditionType
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resourceClaims
:
items
:
properties
:
name
:
type
:
string
resourceClaimName
:
type
:
string
resourceClaimTemplateName
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
runtimeClassName
:
type
:
string
schedulerName
:
type
:
string
schedulingGates
:
items
:
properties
:
name
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
securityContext
:
properties
:
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
fsGroup
:
format
:
int64
type
:
integer
fsGroupChangePolicy
:
type
:
string
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxChangePolicy
:
type
:
string
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
supplementalGroups
:
items
:
format
:
int64
type
:
integer
type
:
array
x-kubernetes-list-type
:
atomic
supplementalGroupsPolicy
:
type
:
string
sysctls
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
serviceAccount
:
type
:
string
serviceAccountName
:
type
:
string
setHostnameAsFQDN
:
type
:
boolean
shareProcessNamespace
:
type
:
boolean
subdomain
:
type
:
string
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
tolerations
:
items
:
properties
:
effect
:
type
:
string
key
:
type
:
string
operator
:
type
:
string
tolerationSeconds
:
format
:
int64
type
:
integer
value
:
type
:
string
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
topologySpreadConstraints
:
items
:
properties
:
labelSelector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
matchLabelKeys
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
maxSkew
:
format
:
int32
type
:
integer
minDomains
:
format
:
int32
type
:
integer
nodeAffinityPolicy
:
type
:
string
nodeTaintsPolicy
:
type
:
string
topologyKey
:
type
:
string
whenUnsatisfiable
:
type
:
string
required
:
-
maxSkew
-
topologyKey
-
whenUnsatisfiable
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
topologyKey
-
whenUnsatisfiable
x-kubernetes-list-type
:
map
volumes
:
items
:
properties
:
awsElasticBlockStore
:
properties
:
fsType
:
type
:
string
partition
:
format
:
int32
type
:
integer
readOnly
:
type
:
boolean
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
azureDisk
:
properties
:
cachingMode
:
type
:
string
diskName
:
type
:
string
diskURI
:
type
:
string
fsType
:
default
:
ext4
type
:
string
kind
:
type
:
string
readOnly
:
default
:
false
type
:
boolean
required
:
-
diskName
-
diskURI
type
:
object
azureFile
:
properties
:
readOnly
:
type
:
boolean
secretName
:
type
:
string
shareName
:
type
:
string
required
:
-
secretName
-
shareName
type
:
object
cephfs
:
properties
:
monitors
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
readOnly
:
type
:
boolean
secretFile
:
type
:
string
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
user
:
type
:
string
required
:
-
monitors
type
:
object
cinder
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
configMap
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
csi
:
properties
:
driver
:
type
:
string
fsType
:
type
:
string
nodePublishSecretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
readOnly
:
type
:
boolean
volumeAttributes
:
additionalProperties
:
type
:
string
type
:
object
required
:
-
driver
type
:
object
downwardAPI
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
emptyDir
:
properties
:
medium
:
type
:
string
sizeLimit
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
ephemeral
:
properties
:
volumeClaimTemplate
:
properties
:
metadata
:
type
:
object
spec
:
properties
:
accessModes
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
dataSource
:
properties
:
apiGroup
:
type
:
string
kind
:
type
:
string
name
:
type
:
string
required
:
-
kind
-
name
type
:
object
x-kubernetes-map-type
:
atomic
dataSourceRef
:
properties
:
apiGroup
:
type
:
string
kind
:
type
:
string
name
:
type
:
string
namespace
:
type
:
string
required
:
-
kind
-
name
type
:
object
resources
:
properties
:
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
selector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
storageClassName
:
type
:
string
volumeAttributesClassName
:
type
:
string
volumeMode
:
type
:
string
volumeName
:
type
:
string
type
:
object
required
:
-
spec
type
:
object
type
:
object
fc
:
properties
:
fsType
:
type
:
string
lun
:
format
:
int32
type
:
integer
readOnly
:
type
:
boolean
targetWWNs
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
wwids
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
flexVolume
:
properties
:
driver
:
type
:
string
fsType
:
type
:
string
options
:
additionalProperties
:
type
:
string
type
:
object
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
driver
type
:
object
flocker
:
properties
:
datasetName
:
type
:
string
datasetUUID
:
type
:
string
type
:
object
gcePersistentDisk
:
properties
:
fsType
:
type
:
string
partition
:
format
:
int32
type
:
integer
pdName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
pdName
type
:
object
gitRepo
:
properties
:
directory
:
type
:
string
repository
:
type
:
string
revision
:
type
:
string
required
:
-
repository
type
:
object
glusterfs
:
properties
:
endpoints
:
type
:
string
path
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
endpoints
-
path
type
:
object
hostPath
:
properties
:
path
:
type
:
string
type
:
type
:
string
required
:
-
path
type
:
object
image
:
properties
:
pullPolicy
:
type
:
string
reference
:
type
:
string
type
:
object
iscsi
:
properties
:
chapAuthDiscovery
:
type
:
boolean
chapAuthSession
:
type
:
boolean
fsType
:
type
:
string
initiatorName
:
type
:
string
iqn
:
type
:
string
iscsiInterface
:
default
:
default
type
:
string
lun
:
format
:
int32
type
:
integer
portals
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
targetPortal
:
type
:
string
required
:
-
iqn
-
lun
-
targetPortal
type
:
object
name
:
type
:
string
nfs
:
properties
:
path
:
type
:
string
readOnly
:
type
:
boolean
server
:
type
:
string
required
:
-
path
-
server
type
:
object
persistentVolumeClaim
:
properties
:
claimName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
claimName
type
:
object
photonPersistentDisk
:
properties
:
fsType
:
type
:
string
pdID
:
type
:
string
required
:
-
maxSkew
-
topologyKey
-
whenUnsatisfiable
-
pdID
type
:
object
portworxVolume
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
projected
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
sources
:
items
:
properties
:
clusterTrustBundle
:
properties
:
labelSelector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
name
:
type
:
string
optional
:
type
:
boolean
path
:
type
:
string
signerName
:
type
:
string
required
:
-
path
type
:
object
configMap
:
properties
:
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
downwardAPI
:
properties
:
items
:
items
:
properties
:
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
secret
:
properties
:
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
serviceAccountToken
:
properties
:
audience
:
type
:
string
expirationSeconds
:
format
:
int64
type
:
integer
path
:
type
:
string
required
:
-
path
type
:
object
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
quobyte
:
properties
:
group
:
type
:
string
readOnly
:
type
:
boolean
registry
:
type
:
string
tenant
:
type
:
string
user
:
type
:
string
volume
:
type
:
string
required
:
-
registry
-
volume
type
:
object
rbd
:
properties
:
fsType
:
type
:
string
image
:
type
:
string
keyring
:
default
:
/etc/ceph/keyring
type
:
string
monitors
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
pool
:
default
:
rbd
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
user
:
default
:
admin
type
:
string
required
:
-
image
-
monitors
type
:
object
scaleIO
:
properties
:
fsType
:
default
:
xfs
type
:
string
gateway
:
type
:
string
protectionDomain
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
sslEnabled
:
type
:
boolean
storageMode
:
default
:
ThinProvisioned
type
:
string
storagePool
:
type
:
string
system
:
type
:
string
volumeName
:
type
:
string
required
:
-
gateway
-
secretRef
-
system
type
:
object
secret
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
optional
:
type
:
boolean
secretName
:
type
:
string
type
:
object
storageos
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
volumeName
:
type
:
string
volumeNamespace
:
type
:
string
type
:
object
vsphereVolume
:
properties
:
fsType
:
type
:
string
storagePolicyID
:
type
:
string
storagePolicyName
:
type
:
string
volumePath
:
type
:
string
required
:
-
volumePath
type
:
object
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
required
:
-
containers
type
:
object
ingress
:
properties
:
...
...
deploy/cloud/helm/platform/components/operator/templates/deployment.yaml
View file @
1e6709db
...
...
@@ -73,12 +73,12 @@ spec:
{{
- if .Values.natsAddr
}}
-
--natsAddr={{ .Values.natsAddr }}
{{
- else
}}
-
--natsAddr=nats://{{ .Release.Name }}-nats:4222
-
--natsAddr=nats://{{ .Release.Name }}-nats
.{{ .Release.Namespace }}
:4222
{{
- end
}}
{{
- if .Values.etcdAddr
}}
-
--etcdAddr={{ .Values.etcdAddr }}
{{
- else
}}
-
--etcdAddr={{ .Release.Name }}-etcd:2379
-
--etcdAddr={{ .Release.Name }}-etcd
.{{ .Release.Namespace }}
:2379
{{
- end
}}
{{
- if and .Values.dynamo.istio.enabled .Values.dynamo.istio.gateway
}}
-
--istio-virtual-service-gateway={{ .Values.dynamo.istio.gateway }}
...
...
deploy/cloud/operator/api/dynamo/common/common.go
View file @
1e6709db
...
...
@@ -54,13 +54,6 @@ type ExtraPodMetadata struct {
}
type
ExtraPodSpec
struct
{
SchedulerName
string
`json:"schedulerName,omitempty"`
NodeSelector
map
[
string
]
string
`json:"nodeSelector,omitempty"`
Affinity
*
corev1
.
Affinity
`json:"affinity,omitempty"`
Tolerations
[]
corev1
.
Toleration
`json:"tolerations,omitempty"`
TopologySpreadConstraints
[]
corev1
.
TopologySpreadConstraint
`json:"topologySpreadConstraints,omitempty"`
Containers
[]
corev1
.
Container
`json:"containers,omitempty"`
ServiceAccountName
string
`json:"serviceAccountName,omitempty"`
PriorityClassName
string
`json:"priorityClassName,omitempty"`
*
corev1
.
PodSpec
`json:",inline"`
MainContainer
*
corev1
.
Container
`json:"mainContainer,omitempty"`
}
deploy/cloud/operator/api/dynamo/common/zz_generated.deepcopy.go
View file @
1e6709db
...
...
@@ -118,39 +118,11 @@ func (in *ExtraPodMetadata) DeepCopy() *ExtraPodMetadata {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
ExtraPodSpec
)
DeepCopyInto
(
out
*
ExtraPodSpec
)
{
*
out
=
*
in
if
in
.
NodeSelector
!=
nil
{
in
,
out
:=
&
in
.
NodeSelector
,
&
out
.
NodeSelector
*
out
=
make
(
map
[
string
]
string
,
len
(
*
in
))
for
key
,
val
:=
range
*
in
{
(
*
out
)[
key
]
=
val
}
}
if
in
.
Affinity
!=
nil
{
in
,
out
:=
&
in
.
Affinity
,
&
out
.
Affinity
*
out
=
new
(
v1
.
Affinity
)
if
in
.
PodSpec
!=
nil
{
in
,
out
:=
&
in
.
PodSpec
,
&
out
.
PodSpec
*
out
=
new
(
v1
.
PodSpec
)
(
*
in
)
.
DeepCopyInto
(
*
out
)
}
if
in
.
Tolerations
!=
nil
{
in
,
out
:=
&
in
.
Tolerations
,
&
out
.
Tolerations
*
out
=
make
([]
v1
.
Toleration
,
len
(
*
in
))
for
i
:=
range
*
in
{
(
*
in
)[
i
]
.
DeepCopyInto
(
&
(
*
out
)[
i
])
}
}
if
in
.
TopologySpreadConstraints
!=
nil
{
in
,
out
:=
&
in
.
TopologySpreadConstraints
,
&
out
.
TopologySpreadConstraints
*
out
=
make
([]
v1
.
TopologySpreadConstraint
,
len
(
*
in
))
for
i
:=
range
*
in
{
(
*
in
)[
i
]
.
DeepCopyInto
(
&
(
*
out
)[
i
])
}
}
if
in
.
Containers
!=
nil
{
in
,
out
:=
&
in
.
Containers
,
&
out
.
Containers
*
out
=
make
([]
v1
.
Container
,
len
(
*
in
))
for
i
:=
range
*
in
{
(
*
in
)[
i
]
.
DeepCopyInto
(
&
(
*
out
)[
i
])
}
}
if
in
.
MainContainer
!=
nil
{
in
,
out
:=
&
in
.
MainContainer
,
&
out
.
MainContainer
*
out
=
new
(
v1
.
Container
)
...
...
deploy/cloud/operator/config/crd/bases/nvidia.com_dynamocomponentdeployments.yaml
View file @
1e6709db
...
...
@@ -502,6 +502,9 @@ spec:
type
:
object
extraPodSpec
:
properties
:
activeDeadlineSeconds
:
format
:
int64
type
:
integer
affinity
:
properties
:
nodeAffinity
:
...
...
@@ -941,6 +944,8 @@ spec:
x-kubernetes-list-type
:
atomic
type
:
object
type
:
object
automountServiceAccountToken
:
type
:
boolean
containers
:
items
:
properties
:
...
...
@@ -1623,7 +1628,38 @@ spec:
-
name
type
:
object
type
:
array
mainContainer
:
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
dnsConfig
:
properties
:
nameservers
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
options
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
searches
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
dnsPolicy
:
type
:
string
enableServiceLinks
:
type
:
boolean
ephemeralContainers
:
items
:
properties
:
args
:
items
:
...
...
@@ -2252,6 +2288,8 @@ spec:
type
:
boolean
stdinOnce
:
type
:
boolean
targetContainerName
:
type
:
string
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
...
...
@@ -2300,88 +2338,2475 @@ spec:
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
[]
required
:
-
name
type
:
object
nodeSelector
:
additionalProperties
:
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
hostAliases
:
items
:
properties
:
hostnames
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
ip
:
type
:
string
required
:
-
ip
type
:
object
priorityClassName
:
type
:
array
x-kubernetes-list-map-keys
:
-
ip
x-kubernetes-list-type
:
map
hostIPC
:
type
:
boolean
hostNetwork
:
type
:
boolean
hostPID
:
type
:
boolean
hostUsers
:
type
:
boolean
hostname
:
type
:
string
schedulerName
:
imagePullSecrets
:
items
:
properties
:
name
:
default
:
"
"
type
:
string
serviceAccountName
:
type
:
object
x-kubernetes-map-type
:
atomic
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
initContainers
:
items
:
properties
:
args
:
items
:
type
:
string
tolerations
:
type
:
array
x-kubernetes-list-type
:
atomic
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
env
:
items
:
properties
:
effect
:
name
:
type
:
string
value
:
type
:
string
valueFrom
:
properties
:
configMapKeyRef
:
properties
:
key
:
type
:
string
operator
:
name
:
default
:
"
"
type
:
string
tolerationSeconds
:
format
:
int64
type
:
integer
value
:
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
secretKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
required
:
-
name
type
:
object
type
:
array
topologySpreadConstraints
:
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
envFrom
:
items
:
properties
:
labelSelector
:
configMapRef
:
properties
:
matchExpressions
:
items
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
prefix
:
type
:
string
secretRef
:
properties
:
key
:
name
:
default
:
"
"
type
:
string
operator
:
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
image
:
type
:
string
values
:
imagePullPolicy
:
type
:
string
lifecycle
:
properties
:
postStart
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
key
-
operator
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
x-kubernetes-map-type
:
atomic
matchLabelKeys
:
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
preStop
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
maxSkew
:
format
:
int32
type
:
integer
minDomains
:
format
:
int32
type
:
integer
nodeAffinityPolicy
:
type
:
object
httpGet
:
properties
:
host
:
type
:
string
nodeTaintsPolicy
:
httpHeaders
:
items
:
properties
:
name
:
type
:
string
topologyKey
:
value
:
type
:
string
whenUnsatisfiable
:
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
stopSignal
:
type
:
string
type
:
object
livenessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
name
:
type
:
string
ports
:
items
:
properties
:
containerPort
:
format
:
int32
type
:
integer
hostIP
:
type
:
string
hostPort
:
format
:
int32
type
:
integer
name
:
type
:
string
protocol
:
default
:
TCP
type
:
string
required
:
-
containerPort
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
containerPort
-
protocol
x-kubernetes-list-type
:
map
readinessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
resizePolicy
:
items
:
properties
:
resourceName
:
type
:
string
restartPolicy
:
type
:
string
required
:
-
resourceName
-
restartPolicy
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
securityContext
:
properties
:
allowPrivilegeEscalation
:
type
:
boolean
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
capabilities
:
properties
:
add
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
drop
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
privileged
:
type
:
boolean
procMount
:
type
:
string
readOnlyRootFilesystem
:
type
:
boolean
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
startupProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
stdin
:
type
:
boolean
stdinOnce
:
type
:
boolean
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
type
:
string
tty
:
type
:
boolean
volumeDevices
:
items
:
properties
:
devicePath
:
type
:
string
name
:
type
:
string
required
:
-
devicePath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
devicePath
x-kubernetes-list-type
:
map
volumeMounts
:
items
:
properties
:
mountPath
:
type
:
string
mountPropagation
:
type
:
string
name
:
type
:
string
readOnly
:
type
:
boolean
recursiveReadOnly
:
type
:
string
subPath
:
type
:
string
subPathExpr
:
type
:
string
required
:
-
mountPath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
mountPath
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
mainContainer
:
properties
:
args
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
env
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
valueFrom
:
properties
:
configMapKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
secretKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
envFrom
:
items
:
properties
:
configMapRef
:
properties
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
prefix
:
type
:
string
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
image
:
type
:
string
imagePullPolicy
:
type
:
string
lifecycle
:
properties
:
postStart
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
preStop
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
stopSignal
:
type
:
string
type
:
object
livenessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
name
:
type
:
string
ports
:
items
:
properties
:
containerPort
:
format
:
int32
type
:
integer
hostIP
:
type
:
string
hostPort
:
format
:
int32
type
:
integer
name
:
type
:
string
protocol
:
default
:
TCP
type
:
string
required
:
-
containerPort
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
containerPort
-
protocol
x-kubernetes-list-type
:
map
readinessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
resizePolicy
:
items
:
properties
:
resourceName
:
type
:
string
restartPolicy
:
type
:
string
required
:
-
resourceName
-
restartPolicy
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
securityContext
:
properties
:
allowPrivilegeEscalation
:
type
:
boolean
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
capabilities
:
properties
:
add
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
drop
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
privileged
:
type
:
boolean
procMount
:
type
:
string
readOnlyRootFilesystem
:
type
:
boolean
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
startupProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
stdin
:
type
:
boolean
stdinOnce
:
type
:
boolean
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
type
:
string
tty
:
type
:
boolean
volumeDevices
:
items
:
properties
:
devicePath
:
type
:
string
name
:
type
:
string
required
:
-
devicePath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
devicePath
x-kubernetes-list-type
:
map
volumeMounts
:
items
:
properties
:
mountPath
:
type
:
string
mountPropagation
:
type
:
string
name
:
type
:
string
readOnly
:
type
:
boolean
recursiveReadOnly
:
type
:
string
subPath
:
type
:
string
subPathExpr
:
type
:
string
required
:
-
mountPath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
mountPath
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
[]
type
:
object
nodeName
:
type
:
string
nodeSelector
:
additionalProperties
:
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
os
:
properties
:
name
:
type
:
string
required
:
-
name
type
:
object
overhead
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
preemptionPolicy
:
type
:
string
priority
:
format
:
int32
type
:
integer
priorityClassName
:
type
:
string
readinessGates
:
items
:
properties
:
conditionType
:
type
:
string
required
:
-
conditionType
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resourceClaims
:
items
:
properties
:
name
:
type
:
string
resourceClaimName
:
type
:
string
resourceClaimTemplateName
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
runtimeClassName
:
type
:
string
schedulerName
:
type
:
string
schedulingGates
:
items
:
properties
:
name
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
securityContext
:
properties
:
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
fsGroup
:
format
:
int64
type
:
integer
fsGroupChangePolicy
:
type
:
string
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxChangePolicy
:
type
:
string
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
supplementalGroups
:
items
:
format
:
int64
type
:
integer
type
:
array
x-kubernetes-list-type
:
atomic
supplementalGroupsPolicy
:
type
:
string
sysctls
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
serviceAccount
:
type
:
string
serviceAccountName
:
type
:
string
setHostnameAsFQDN
:
type
:
boolean
shareProcessNamespace
:
type
:
boolean
subdomain
:
type
:
string
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
tolerations
:
items
:
properties
:
effect
:
type
:
string
key
:
type
:
string
operator
:
type
:
string
tolerationSeconds
:
format
:
int64
type
:
integer
value
:
type
:
string
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
topologySpreadConstraints
:
items
:
properties
:
labelSelector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
matchLabelKeys
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
maxSkew
:
format
:
int32
type
:
integer
minDomains
:
format
:
int32
type
:
integer
nodeAffinityPolicy
:
type
:
string
nodeTaintsPolicy
:
type
:
string
topologyKey
:
type
:
string
whenUnsatisfiable
:
type
:
string
required
:
-
maxSkew
-
topologyKey
-
whenUnsatisfiable
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
topologyKey
-
whenUnsatisfiable
x-kubernetes-list-type
:
map
volumes
:
items
:
properties
:
awsElasticBlockStore
:
properties
:
fsType
:
type
:
string
partition
:
format
:
int32
type
:
integer
readOnly
:
type
:
boolean
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
azureDisk
:
properties
:
cachingMode
:
type
:
string
diskName
:
type
:
string
diskURI
:
type
:
string
fsType
:
default
:
ext4
type
:
string
kind
:
type
:
string
readOnly
:
default
:
false
type
:
boolean
required
:
-
diskName
-
diskURI
type
:
object
azureFile
:
properties
:
readOnly
:
type
:
boolean
secretName
:
type
:
string
shareName
:
type
:
string
required
:
-
secretName
-
shareName
type
:
object
cephfs
:
properties
:
monitors
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
readOnly
:
type
:
boolean
secretFile
:
type
:
string
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
user
:
type
:
string
required
:
-
monitors
type
:
object
cinder
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
configMap
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
csi
:
properties
:
driver
:
type
:
string
fsType
:
type
:
string
nodePublishSecretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
readOnly
:
type
:
boolean
volumeAttributes
:
additionalProperties
:
type
:
string
type
:
object
required
:
-
driver
type
:
object
downwardAPI
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
emptyDir
:
properties
:
medium
:
type
:
string
sizeLimit
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
ephemeral
:
properties
:
volumeClaimTemplate
:
properties
:
metadata
:
type
:
object
spec
:
properties
:
accessModes
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
dataSource
:
properties
:
apiGroup
:
type
:
string
kind
:
type
:
string
name
:
type
:
string
required
:
-
kind
-
name
type
:
object
x-kubernetes-map-type
:
atomic
dataSourceRef
:
properties
:
apiGroup
:
type
:
string
kind
:
type
:
string
name
:
type
:
string
namespace
:
type
:
string
required
:
-
kind
-
name
type
:
object
resources
:
properties
:
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
selector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
storageClassName
:
type
:
string
volumeAttributesClassName
:
type
:
string
volumeMode
:
type
:
string
volumeName
:
type
:
string
type
:
object
required
:
-
spec
type
:
object
type
:
object
fc
:
properties
:
fsType
:
type
:
string
lun
:
format
:
int32
type
:
integer
readOnly
:
type
:
boolean
targetWWNs
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
wwids
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
flexVolume
:
properties
:
driver
:
type
:
string
fsType
:
type
:
string
options
:
additionalProperties
:
type
:
string
type
:
object
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
driver
type
:
object
flocker
:
properties
:
datasetName
:
type
:
string
datasetUUID
:
type
:
string
type
:
object
gcePersistentDisk
:
properties
:
fsType
:
type
:
string
partition
:
format
:
int32
type
:
integer
pdName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
pdName
type
:
object
gitRepo
:
properties
:
directory
:
type
:
string
repository
:
type
:
string
revision
:
type
:
string
required
:
-
repository
type
:
object
glusterfs
:
properties
:
endpoints
:
type
:
string
path
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
endpoints
-
path
type
:
object
hostPath
:
properties
:
path
:
type
:
string
type
:
type
:
string
required
:
-
path
type
:
object
image
:
properties
:
pullPolicy
:
type
:
string
reference
:
type
:
string
type
:
object
iscsi
:
properties
:
chapAuthDiscovery
:
type
:
boolean
chapAuthSession
:
type
:
boolean
fsType
:
type
:
string
initiatorName
:
type
:
string
iqn
:
type
:
string
iscsiInterface
:
default
:
default
type
:
string
lun
:
format
:
int32
type
:
integer
portals
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
targetPortal
:
type
:
string
required
:
-
iqn
-
lun
-
targetPortal
type
:
object
name
:
type
:
string
nfs
:
properties
:
path
:
type
:
string
readOnly
:
type
:
boolean
server
:
type
:
string
required
:
-
path
-
server
type
:
object
persistentVolumeClaim
:
properties
:
claimName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
claimName
type
:
object
photonPersistentDisk
:
properties
:
fsType
:
type
:
string
pdID
:
type
:
string
required
:
-
maxSkew
-
topologyKey
-
whenUnsatisfiable
-
pdID
type
:
object
portworxVolume
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
projected
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
sources
:
items
:
properties
:
clusterTrustBundle
:
properties
:
labelSelector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
name
:
type
:
string
optional
:
type
:
boolean
path
:
type
:
string
signerName
:
type
:
string
required
:
-
path
type
:
object
configMap
:
properties
:
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
downwardAPI
:
properties
:
items
:
items
:
properties
:
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
secret
:
properties
:
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
serviceAccountToken
:
properties
:
audience
:
type
:
string
expirationSeconds
:
format
:
int64
type
:
integer
path
:
type
:
string
required
:
-
path
type
:
object
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
quobyte
:
properties
:
group
:
type
:
string
readOnly
:
type
:
boolean
registry
:
type
:
string
tenant
:
type
:
string
user
:
type
:
string
volume
:
type
:
string
required
:
-
registry
-
volume
type
:
object
rbd
:
properties
:
fsType
:
type
:
string
image
:
type
:
string
keyring
:
default
:
/etc/ceph/keyring
type
:
string
monitors
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
pool
:
default
:
rbd
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
user
:
default
:
admin
type
:
string
required
:
-
image
-
monitors
type
:
object
scaleIO
:
properties
:
fsType
:
default
:
xfs
type
:
string
gateway
:
type
:
string
protectionDomain
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
sslEnabled
:
type
:
boolean
storageMode
:
default
:
ThinProvisioned
type
:
string
storagePool
:
type
:
string
system
:
type
:
string
volumeName
:
type
:
string
required
:
-
gateway
-
secretRef
-
system
type
:
object
secret
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
optional
:
type
:
boolean
secretName
:
type
:
string
type
:
object
storageos
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
volumeName
:
type
:
string
volumeNamespace
:
type
:
string
type
:
object
vsphereVolume
:
properties
:
fsType
:
type
:
string
storagePolicyID
:
type
:
string
storagePolicyName
:
type
:
string
volumePath
:
type
:
string
required
:
-
volumePath
type
:
object
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
required
:
-
containers
type
:
object
ingress
:
properties
:
...
...
deploy/cloud/operator/config/crd/bases/nvidia.com_dynamographdeployments.yaml
View file @
1e6709db
...
...
@@ -557,6 +557,9 @@ spec:
type
:
object
extraPodSpec
:
properties
:
activeDeadlineSeconds
:
format
:
int64
type
:
integer
affinity
:
properties
:
nodeAffinity
:
...
...
@@ -996,6 +999,8 @@ spec:
x-kubernetes-list-type
:
atomic
type
:
object
type
:
object
automountServiceAccountToken
:
type
:
boolean
containers
:
items
:
properties
:
...
...
@@ -1678,7 +1683,38 @@ spec:
-
name
type
:
object
type
:
array
mainContainer
:
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
dnsConfig
:
properties
:
nameservers
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
options
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
searches
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
dnsPolicy
:
type
:
string
enableServiceLinks
:
type
:
boolean
ephemeralContainers
:
items
:
properties
:
args
:
items
:
...
...
@@ -2307,6 +2343,8 @@ spec:
type
:
boolean
stdinOnce
:
type
:
boolean
targetContainerName
:
type
:
string
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
...
...
@@ -2355,88 +2393,2475 @@ spec:
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
[]
required
:
-
name
type
:
object
nodeSelector
:
additionalProperties
:
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
hostAliases
:
items
:
properties
:
hostnames
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
ip
:
type
:
string
required
:
-
ip
type
:
object
priorityClassName
:
type
:
array
x-kubernetes-list-map-keys
:
-
ip
x-kubernetes-list-type
:
map
hostIPC
:
type
:
boolean
hostNetwork
:
type
:
boolean
hostPID
:
type
:
boolean
hostUsers
:
type
:
boolean
hostname
:
type
:
string
schedulerName
:
imagePullSecrets
:
items
:
properties
:
name
:
default
:
"
"
type
:
string
serviceAccountName
:
type
:
object
x-kubernetes-map-type
:
atomic
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
initContainers
:
items
:
properties
:
args
:
items
:
type
:
string
tolerations
:
type
:
array
x-kubernetes-list-type
:
atomic
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
env
:
items
:
properties
:
effect
:
name
:
type
:
string
value
:
type
:
string
valueFrom
:
properties
:
configMapKeyRef
:
properties
:
key
:
type
:
string
operator
:
name
:
default
:
"
"
type
:
string
tolerationSeconds
:
format
:
int64
type
:
integer
value
:
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
secretKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
required
:
-
name
type
:
object
type
:
array
topologySpreadConstraints
:
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
envFrom
:
items
:
properties
:
labelSelector
:
configMapRef
:
properties
:
matchExpressions
:
items
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
prefix
:
type
:
string
secretRef
:
properties
:
key
:
name
:
default
:
"
"
type
:
string
operator
:
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
image
:
type
:
string
values
:
imagePullPolicy
:
type
:
string
lifecycle
:
properties
:
postStart
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
key
-
operator
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
x-kubernetes-map-type
:
atomic
matchLabelKeys
:
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
preStop
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
maxSkew
:
format
:
int32
type
:
integer
minDomains
:
format
:
int32
type
:
integer
nodeAffinityPolicy
:
type
:
object
httpGet
:
properties
:
host
:
type
:
string
nodeTaintsPolicy
:
httpHeaders
:
items
:
properties
:
name
:
type
:
string
topologyKey
:
value
:
type
:
string
whenUnsatisfiable
:
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
stopSignal
:
type
:
string
type
:
object
livenessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
name
:
type
:
string
ports
:
items
:
properties
:
containerPort
:
format
:
int32
type
:
integer
hostIP
:
type
:
string
hostPort
:
format
:
int32
type
:
integer
name
:
type
:
string
protocol
:
default
:
TCP
type
:
string
required
:
-
containerPort
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
containerPort
-
protocol
x-kubernetes-list-type
:
map
readinessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
resizePolicy
:
items
:
properties
:
resourceName
:
type
:
string
restartPolicy
:
type
:
string
required
:
-
resourceName
-
restartPolicy
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
securityContext
:
properties
:
allowPrivilegeEscalation
:
type
:
boolean
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
capabilities
:
properties
:
add
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
drop
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
privileged
:
type
:
boolean
procMount
:
type
:
string
readOnlyRootFilesystem
:
type
:
boolean
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
startupProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
stdin
:
type
:
boolean
stdinOnce
:
type
:
boolean
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
type
:
string
tty
:
type
:
boolean
volumeDevices
:
items
:
properties
:
devicePath
:
type
:
string
name
:
type
:
string
required
:
-
devicePath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
devicePath
x-kubernetes-list-type
:
map
volumeMounts
:
items
:
properties
:
mountPath
:
type
:
string
mountPropagation
:
type
:
string
name
:
type
:
string
readOnly
:
type
:
boolean
recursiveReadOnly
:
type
:
string
subPath
:
type
:
string
subPathExpr
:
type
:
string
required
:
-
mountPath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
mountPath
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
mainContainer
:
properties
:
args
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
env
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
valueFrom
:
properties
:
configMapKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
secretKeyRef
:
properties
:
key
:
type
:
string
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
required
:
-
key
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
envFrom
:
items
:
properties
:
configMapRef
:
properties
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
prefix
:
type
:
string
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
image
:
type
:
string
imagePullPolicy
:
type
:
string
lifecycle
:
properties
:
postStart
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
preStop
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
sleep
:
properties
:
seconds
:
format
:
int64
type
:
integer
required
:
-
seconds
type
:
object
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
type
:
object
stopSignal
:
type
:
string
type
:
object
livenessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
name
:
type
:
string
ports
:
items
:
properties
:
containerPort
:
format
:
int32
type
:
integer
hostIP
:
type
:
string
hostPort
:
format
:
int32
type
:
integer
name
:
type
:
string
protocol
:
default
:
TCP
type
:
string
required
:
-
containerPort
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
containerPort
-
protocol
x-kubernetes-list-type
:
map
readinessProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
resizePolicy
:
items
:
properties
:
resourceName
:
type
:
string
restartPolicy
:
type
:
string
required
:
-
resourceName
-
restartPolicy
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
securityContext
:
properties
:
allowPrivilegeEscalation
:
type
:
boolean
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
capabilities
:
properties
:
add
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
drop
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
privileged
:
type
:
boolean
procMount
:
type
:
string
readOnlyRootFilesystem
:
type
:
boolean
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
startupProbe
:
properties
:
exec
:
properties
:
command
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
failureThreshold
:
format
:
int32
type
:
integer
grpc
:
properties
:
port
:
format
:
int32
type
:
integer
service
:
default
:
"
"
type
:
string
required
:
-
port
type
:
object
httpGet
:
properties
:
host
:
type
:
string
httpHeaders
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
scheme
:
type
:
string
required
:
-
port
type
:
object
initialDelaySeconds
:
format
:
int32
type
:
integer
periodSeconds
:
format
:
int32
type
:
integer
successThreshold
:
format
:
int32
type
:
integer
tcpSocket
:
properties
:
host
:
type
:
string
port
:
anyOf
:
-
type
:
integer
-
type
:
string
x-kubernetes-int-or-string
:
true
required
:
-
port
type
:
object
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
timeoutSeconds
:
format
:
int32
type
:
integer
type
:
object
stdin
:
type
:
boolean
stdinOnce
:
type
:
boolean
terminationMessagePath
:
type
:
string
terminationMessagePolicy
:
type
:
string
tty
:
type
:
boolean
volumeDevices
:
items
:
properties
:
devicePath
:
type
:
string
name
:
type
:
string
required
:
-
devicePath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
devicePath
x-kubernetes-list-type
:
map
volumeMounts
:
items
:
properties
:
mountPath
:
type
:
string
mountPropagation
:
type
:
string
name
:
type
:
string
readOnly
:
type
:
boolean
recursiveReadOnly
:
type
:
string
subPath
:
type
:
string
subPathExpr
:
type
:
string
required
:
-
mountPath
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
mountPath
x-kubernetes-list-type
:
map
workingDir
:
type
:
string
required
:
[]
type
:
object
nodeName
:
type
:
string
nodeSelector
:
additionalProperties
:
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
os
:
properties
:
name
:
type
:
string
required
:
-
name
type
:
object
overhead
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
preemptionPolicy
:
type
:
string
priority
:
format
:
int32
type
:
integer
priorityClassName
:
type
:
string
readinessGates
:
items
:
properties
:
conditionType
:
type
:
string
required
:
-
conditionType
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
resourceClaims
:
items
:
properties
:
name
:
type
:
string
resourceClaimName
:
type
:
string
resourceClaimTemplateName
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
resources
:
properties
:
claims
:
items
:
properties
:
name
:
type
:
string
request
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
restartPolicy
:
type
:
string
runtimeClassName
:
type
:
string
schedulerName
:
type
:
string
schedulingGates
:
items
:
properties
:
name
:
type
:
string
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
securityContext
:
properties
:
appArmorProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
fsGroup
:
format
:
int64
type
:
integer
fsGroupChangePolicy
:
type
:
string
runAsGroup
:
format
:
int64
type
:
integer
runAsNonRoot
:
type
:
boolean
runAsUser
:
format
:
int64
type
:
integer
seLinuxChangePolicy
:
type
:
string
seLinuxOptions
:
properties
:
level
:
type
:
string
role
:
type
:
string
type
:
type
:
string
user
:
type
:
string
type
:
object
seccompProfile
:
properties
:
localhostProfile
:
type
:
string
type
:
type
:
string
required
:
-
type
type
:
object
supplementalGroups
:
items
:
format
:
int64
type
:
integer
type
:
array
x-kubernetes-list-type
:
atomic
supplementalGroupsPolicy
:
type
:
string
sysctls
:
items
:
properties
:
name
:
type
:
string
value
:
type
:
string
required
:
-
name
-
value
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
windowsOptions
:
properties
:
gmsaCredentialSpec
:
type
:
string
gmsaCredentialSpecName
:
type
:
string
hostProcess
:
type
:
boolean
runAsUserName
:
type
:
string
type
:
object
type
:
object
serviceAccount
:
type
:
string
serviceAccountName
:
type
:
string
setHostnameAsFQDN
:
type
:
boolean
shareProcessNamespace
:
type
:
boolean
subdomain
:
type
:
string
terminationGracePeriodSeconds
:
format
:
int64
type
:
integer
tolerations
:
items
:
properties
:
effect
:
type
:
string
key
:
type
:
string
operator
:
type
:
string
tolerationSeconds
:
format
:
int64
type
:
integer
value
:
type
:
string
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
topologySpreadConstraints
:
items
:
properties
:
labelSelector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
matchLabelKeys
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
maxSkew
:
format
:
int32
type
:
integer
minDomains
:
format
:
int32
type
:
integer
nodeAffinityPolicy
:
type
:
string
nodeTaintsPolicy
:
type
:
string
topologyKey
:
type
:
string
whenUnsatisfiable
:
type
:
string
required
:
-
maxSkew
-
topologyKey
-
whenUnsatisfiable
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
topologyKey
-
whenUnsatisfiable
x-kubernetes-list-type
:
map
volumes
:
items
:
properties
:
awsElasticBlockStore
:
properties
:
fsType
:
type
:
string
partition
:
format
:
int32
type
:
integer
readOnly
:
type
:
boolean
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
azureDisk
:
properties
:
cachingMode
:
type
:
string
diskName
:
type
:
string
diskURI
:
type
:
string
fsType
:
default
:
ext4
type
:
string
kind
:
type
:
string
readOnly
:
default
:
false
type
:
boolean
required
:
-
diskName
-
diskURI
type
:
object
azureFile
:
properties
:
readOnly
:
type
:
boolean
secretName
:
type
:
string
shareName
:
type
:
string
required
:
-
secretName
-
shareName
type
:
object
cephfs
:
properties
:
monitors
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
path
:
type
:
string
readOnly
:
type
:
boolean
secretFile
:
type
:
string
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
user
:
type
:
string
required
:
-
monitors
type
:
object
cinder
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
configMap
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
csi
:
properties
:
driver
:
type
:
string
fsType
:
type
:
string
nodePublishSecretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
readOnly
:
type
:
boolean
volumeAttributes
:
additionalProperties
:
type
:
string
type
:
object
required
:
-
driver
type
:
object
downwardAPI
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
emptyDir
:
properties
:
medium
:
type
:
string
sizeLimit
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
ephemeral
:
properties
:
volumeClaimTemplate
:
properties
:
metadata
:
type
:
object
spec
:
properties
:
accessModes
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
dataSource
:
properties
:
apiGroup
:
type
:
string
kind
:
type
:
string
name
:
type
:
string
required
:
-
kind
-
name
type
:
object
x-kubernetes-map-type
:
atomic
dataSourceRef
:
properties
:
apiGroup
:
type
:
string
kind
:
type
:
string
name
:
type
:
string
namespace
:
type
:
string
required
:
-
kind
-
name
type
:
object
resources
:
properties
:
limits
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
requests
:
additionalProperties
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
type
:
object
type
:
object
selector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
storageClassName
:
type
:
string
volumeAttributesClassName
:
type
:
string
volumeMode
:
type
:
string
volumeName
:
type
:
string
type
:
object
required
:
-
spec
type
:
object
type
:
object
fc
:
properties
:
fsType
:
type
:
string
lun
:
format
:
int32
type
:
integer
readOnly
:
type
:
boolean
targetWWNs
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
wwids
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
flexVolume
:
properties
:
driver
:
type
:
string
fsType
:
type
:
string
options
:
additionalProperties
:
type
:
string
type
:
object
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
driver
type
:
object
flocker
:
properties
:
datasetName
:
type
:
string
datasetUUID
:
type
:
string
type
:
object
gcePersistentDisk
:
properties
:
fsType
:
type
:
string
partition
:
format
:
int32
type
:
integer
pdName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
pdName
type
:
object
gitRepo
:
properties
:
directory
:
type
:
string
repository
:
type
:
string
revision
:
type
:
string
required
:
-
repository
type
:
object
glusterfs
:
properties
:
endpoints
:
type
:
string
path
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
endpoints
-
path
type
:
object
hostPath
:
properties
:
path
:
type
:
string
type
:
type
:
string
required
:
-
path
type
:
object
image
:
properties
:
pullPolicy
:
type
:
string
reference
:
type
:
string
type
:
object
iscsi
:
properties
:
chapAuthDiscovery
:
type
:
boolean
chapAuthSession
:
type
:
boolean
fsType
:
type
:
string
initiatorName
:
type
:
string
iqn
:
type
:
string
iscsiInterface
:
default
:
default
type
:
string
lun
:
format
:
int32
type
:
integer
portals
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
targetPortal
:
type
:
string
required
:
-
iqn
-
lun
-
targetPortal
type
:
object
name
:
type
:
string
nfs
:
properties
:
path
:
type
:
string
readOnly
:
type
:
boolean
server
:
type
:
string
required
:
-
path
-
server
type
:
object
persistentVolumeClaim
:
properties
:
claimName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
claimName
type
:
object
photonPersistentDisk
:
properties
:
fsType
:
type
:
string
pdID
:
type
:
string
required
:
-
maxSkew
-
topologyKey
-
whenUnsatisfiable
-
pdID
type
:
object
portworxVolume
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
volumeID
:
type
:
string
required
:
-
volumeID
type
:
object
projected
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
sources
:
items
:
properties
:
clusterTrustBundle
:
properties
:
labelSelector
:
properties
:
matchExpressions
:
items
:
properties
:
key
:
type
:
string
operator
:
type
:
string
values
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
required
:
-
key
-
operator
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
matchLabels
:
additionalProperties
:
type
:
string
type
:
object
type
:
object
x-kubernetes-map-type
:
atomic
name
:
type
:
string
optional
:
type
:
boolean
path
:
type
:
string
signerName
:
type
:
string
required
:
-
path
type
:
object
configMap
:
properties
:
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
downwardAPI
:
properties
:
items
:
items
:
properties
:
fieldRef
:
properties
:
apiVersion
:
type
:
string
fieldPath
:
type
:
string
required
:
-
fieldPath
type
:
object
x-kubernetes-map-type
:
atomic
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
resourceFieldRef
:
properties
:
containerName
:
type
:
string
divisor
:
anyOf
:
-
type
:
integer
-
type
:
string
pattern
:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string
:
true
resource
:
type
:
string
required
:
-
resource
type
:
object
x-kubernetes-map-type
:
atomic
required
:
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
secret
:
properties
:
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
name
:
default
:
"
"
type
:
string
optional
:
type
:
boolean
type
:
object
x-kubernetes-map-type
:
atomic
serviceAccountToken
:
properties
:
audience
:
type
:
string
expirationSeconds
:
format
:
int64
type
:
integer
path
:
type
:
string
required
:
-
path
type
:
object
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
type
:
object
quobyte
:
properties
:
group
:
type
:
string
readOnly
:
type
:
boolean
registry
:
type
:
string
tenant
:
type
:
string
user
:
type
:
string
volume
:
type
:
string
required
:
-
registry
-
volume
type
:
object
rbd
:
properties
:
fsType
:
type
:
string
image
:
type
:
string
keyring
:
default
:
/etc/ceph/keyring
type
:
string
monitors
:
items
:
type
:
string
type
:
array
x-kubernetes-list-type
:
atomic
pool
:
default
:
rbd
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
user
:
default
:
admin
type
:
string
required
:
-
image
-
monitors
type
:
object
scaleIO
:
properties
:
fsType
:
default
:
xfs
type
:
string
gateway
:
type
:
string
protectionDomain
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
sslEnabled
:
type
:
boolean
storageMode
:
default
:
ThinProvisioned
type
:
string
storagePool
:
type
:
string
system
:
type
:
string
volumeName
:
type
:
string
required
:
-
gateway
-
secretRef
-
system
type
:
object
secret
:
properties
:
defaultMode
:
format
:
int32
type
:
integer
items
:
items
:
properties
:
key
:
type
:
string
mode
:
format
:
int32
type
:
integer
path
:
type
:
string
required
:
-
key
-
path
type
:
object
type
:
array
x-kubernetes-list-type
:
atomic
optional
:
type
:
boolean
secretName
:
type
:
string
type
:
object
storageos
:
properties
:
fsType
:
type
:
string
readOnly
:
type
:
boolean
secretRef
:
properties
:
name
:
default
:
"
"
type
:
string
type
:
object
x-kubernetes-map-type
:
atomic
volumeName
:
type
:
string
volumeNamespace
:
type
:
string
type
:
object
vsphereVolume
:
properties
:
fsType
:
type
:
string
storagePolicyID
:
type
:
string
storagePolicyName
:
type
:
string
volumePath
:
type
:
string
required
:
-
volumePath
type
:
object
required
:
-
name
type
:
object
type
:
array
x-kubernetes-list-map-keys
:
-
name
x-kubernetes-list-type
:
map
required
:
-
containers
type
:
object
ingress
:
properties
:
...
...
deploy/cloud/operator/internal/controller/dynamocomponentdeployment_controller.go
View file @
1e6709db
...
...
@@ -1477,11 +1477,6 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
podLabels
[
commonconsts
.
KubeLabelDynamoSelector
]
=
kubeName
podSpec
:=
corev1
.
PodSpec
{
Containers
:
containers
,
Volumes
:
volumes
,
}
imagePullSecrets
:=
[]
corev1
.
LocalObjectReference
{}
if
r
.
DockerSecretRetriever
==
nil
{
...
...
@@ -1500,9 +1495,13 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
})
}
if
len
(
imagePullSecrets
)
>
0
{
podSpec
.
ImagePullSecrets
=
imagePullSecrets
podSpec
:=
&
corev1
.
PodSpec
{}
if
opt
.
dynamoComponentDeployment
.
Spec
.
ExtraPodSpec
!=
nil
&&
opt
.
dynamoComponentDeployment
.
Spec
.
ExtraPodSpec
.
PodSpec
!=
nil
{
podSpec
=
opt
.
dynamoComponentDeployment
.
Spec
.
ExtraPodSpec
.
PodSpec
.
DeepCopy
()
}
podSpec
.
Containers
=
append
(
podSpec
.
Containers
,
containers
...
)
podSpec
.
Volumes
=
append
(
podSpec
.
Volumes
,
volumes
...
)
podSpec
.
ImagePullSecrets
=
append
(
podSpec
.
ImagePullSecrets
,
imagePullSecrets
...
)
extraPodMetadata
:=
opt
.
dynamoComponentDeployment
.
Spec
.
ExtraPodMetadata
...
...
@@ -1516,18 +1515,6 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
}
}
extraPodSpec
:=
opt
.
dynamoComponentDeployment
.
Spec
.
ExtraPodSpec
if
extraPodSpec
!=
nil
{
podSpec
.
SchedulerName
=
extraPodSpec
.
SchedulerName
podSpec
.
NodeSelector
=
extraPodSpec
.
NodeSelector
podSpec
.
Affinity
=
extraPodSpec
.
Affinity
podSpec
.
Tolerations
=
extraPodSpec
.
Tolerations
podSpec
.
TopologySpreadConstraints
=
extraPodSpec
.
TopologySpreadConstraints
podSpec
.
Containers
=
append
(
podSpec
.
Containers
,
extraPodSpec
.
Containers
...
)
podSpec
.
ServiceAccountName
=
extraPodSpec
.
ServiceAccountName
}
if
podSpec
.
ServiceAccountName
==
""
{
serviceAccounts
:=
&
corev1
.
ServiceAccountList
{}
err
=
r
.
List
(
ctx
,
serviceAccounts
,
client
.
InNamespace
(
opt
.
dynamoComponentDeployment
.
Namespace
),
client
.
MatchingLabels
{
...
...
@@ -1565,7 +1552,7 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
Labels
:
podLabels
,
Annotations
:
podAnnotations
,
},
Spec
:
podSpec
,
Spec
:
*
podSpec
,
}
return
...
...
deploy/cloud/operator/internal/controller/dynamocomponentdeployment_controller_test.go
View file @
1e6709db
...
...
@@ -842,6 +842,9 @@ func TestDynamoComponentDeploymentReconciler_generateLeaderWorkerSet(t *testing.
},
},
ExtraPodSpec
:
&
dynamoCommon
.
ExtraPodSpec
{
PodSpec
:
&
corev1
.
PodSpec
{
TerminationGracePeriodSeconds
:
ptr
.
To
(
int64
(
10
)),
},
MainContainer
:
&
corev1
.
Container
{
Image
:
"test-image:latest"
,
Command
:
[]
string
{
...
...
@@ -902,6 +905,7 @@ func TestDynamoComponentDeploymentReconciler_generateLeaderWorkerSet(t *testing.
},
Spec
:
corev1
.
PodSpec
{
SchedulerName
:
"volcano"
,
TerminationGracePeriodSeconds
:
ptr
.
To
(
int64
(
10
)),
Containers
:
[]
corev1
.
Container
{
{
Name
:
"main"
,
...
...
@@ -953,6 +957,7 @@ func TestDynamoComponentDeploymentReconciler_generateLeaderWorkerSet(t *testing.
},
},
Spec
:
corev1
.
PodSpec
{
TerminationGracePeriodSeconds
:
ptr
.
To
(
int64
(
10
)),
SchedulerName
:
"volcano"
,
Containers
:
[]
corev1
.
Container
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment