Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
4d02a463
Unverified
Commit
4d02a463
authored
Apr 24, 2025
by
julienmancuso
Committed by
GitHub
Apr 24, 2025
Browse files
feat: remove old bento images (#801)
parent
c522253b
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
23 additions
and
3614 deletions
+23
-3614
deploy/dynamo/helm/dynamo-platform-values.yaml
deploy/dynamo/helm/dynamo-platform-values.yaml
+1
-0
deploy/dynamo/helm/platform/Chart.yaml
deploy/dynamo/helm/platform/Chart.yaml
+1
-1
deploy/dynamo/helm/platform/components/operator/Chart.yaml
deploy/dynamo/helm/platform/components/operator/Chart.yaml
+2
-2
deploy/dynamo/helm/platform/components/operator/charts/dynamo-crds/Chart.yaml
...latform/components/operator/charts/dynamo-crds/Chart.yaml
+1
-1
deploy/dynamo/helm/platform/components/operator/charts/dynamo-crds/crds/nvidia.com_dynamocomponentdeployments.yaml
...namo-crds/crds/nvidia.com_dynamocomponentdeployments.yaml
+0
-858
deploy/dynamo/helm/platform/components/operator/charts/dynamo-crds/crds/nvidia.com_dynamographdeployments.yaml
...s/dynamo-crds/crds/nvidia.com_dynamographdeployments.yaml
+0
-858
deploy/dynamo/helm/platform/components/operator/templates/secret-env.yaml
...lm/platform/components/operator/templates/secret-env.yaml
+0
-2
deploy/dynamo/helm/platform/components/operator/values.yaml
deploy/dynamo/helm/platform/components/operator/values.yaml
+3
-5
deploy/dynamo/helm/platform/values.yaml
deploy/dynamo/helm/platform/values.yaml
+3
-5
deploy/dynamo/operator/api/dynamo/common/common.go
deploy/dynamo/operator/api/dynamo/common/common.go
+0
-14
deploy/dynamo/operator/api/dynamo/common/zz_generated.deepcopy.go
...ynamo/operator/api/dynamo/common/zz_generated.deepcopy.go
+0
-52
deploy/dynamo/operator/api/v1alpha1/dynamocomponentdeployment_types.go
.../operator/api/v1alpha1/dynamocomponentdeployment_types.go
+0
-2
deploy/dynamo/operator/api/v1alpha1/zz_generated.deepcopy.go
deploy/dynamo/operator/api/v1alpha1/zz_generated.deepcopy.go
+0
-5
deploy/dynamo/operator/config/crd/bases/nvidia.com_dynamocomponentdeployments.yaml
...nfig/crd/bases/nvidia.com_dynamocomponentdeployments.yaml
+0
-858
deploy/dynamo/operator/config/crd/bases/nvidia.com_dynamographdeployments.yaml
...r/config/crd/bases/nvidia.com_dynamographdeployments.yaml
+0
-858
deploy/dynamo/operator/go.mod
deploy/dynamo/operator/go.mod
+0
-1
deploy/dynamo/operator/go.sum
deploy/dynamo/operator/go.sum
+0
-2
deploy/dynamo/operator/internal/config/config.go
deploy/dynamo/operator/internal/config/config.go
+0
-2
deploy/dynamo/operator/internal/consts/consts.go
deploy/dynamo/operator/internal/consts/consts.go
+1
-3
deploy/dynamo/operator/internal/controller/dynamocomponentdeployment_controller.go
...ternal/controller/dynamocomponentdeployment_controller.go
+11
-85
No files found.
deploy/dynamo/helm/dynamo-platform-values.yaml
View file @
4d02a463
...
@@ -39,6 +39,7 @@ dynamo-operator:
...
@@ -39,6 +39,7 @@ dynamo-operator:
server
:
${PIPELINES_DOCKER_SERVER}
server
:
${PIPELINES_DOCKER_SERVER}
username
:
${PIPELINES_DOCKER_USERNAME}
username
:
${PIPELINES_DOCKER_USERNAME}
password
:
${PIPELINES_DOCKER_PASSWORD}
password
:
${PIPELINES_DOCKER_PASSWORD}
imageBuildEngine
:
buildkit
dynamo-api-store
:
dynamo-api-store
:
namespaceRestriction
:
namespaceRestriction
:
...
...
deploy/dynamo/helm/platform/Chart.yaml
View file @
4d02a463
...
@@ -23,7 +23,7 @@ version: 25.2.0-rc3
...
@@ -23,7 +23,7 @@ version: 25.2.0-rc3
home
:
https://nvidia.com
home
:
https://nvidia.com
dependencies
:
dependencies
:
-
name
:
dynamo-operator
-
name
:
dynamo-operator
version
:
0.1.
5
version
:
0.1.
6
repository
:
file://components/operator
repository
:
file://components/operator
condition
:
dynamo-operator.enabled
condition
:
dynamo-operator.enabled
-
name
:
dynamo-api-store
-
name
:
dynamo-api-store
...
...
deploy/dynamo/helm/platform/components/operator/Chart.yaml
View file @
4d02a463
...
@@ -27,7 +27,7 @@ type: application
...
@@ -27,7 +27,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version
:
0.1.
5
version
:
0.1.
6
# This is the version number of the application being deployed. This version number should be
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# follow Semantic Versioning. They should reflect the version the application is using.
...
@@ -35,5 +35,5 @@ version: 0.1.5
...
@@ -35,5 +35,5 @@ version: 0.1.5
appVersion
:
"
0.1.0"
appVersion
:
"
0.1.0"
dependencies
:
dependencies
:
-
name
:
dynamo-crds
-
name
:
dynamo-crds
version
:
0.1.
4
version
:
0.1.
5
repository
:
file://charts/dynamo-crds
repository
:
file://charts/dynamo-crds
\ No newline at end of file
deploy/dynamo/helm/platform/components/operator/charts/dynamo-crds/Chart.yaml
View file @
4d02a463
...
@@ -16,5 +16,5 @@ apiVersion: v2
...
@@ -16,5 +16,5 @@ apiVersion: v2
name
:
dynamo-crds
name
:
dynamo-crds
description
:
A Helm chart for CRDs of dynamo operator
description
:
A Helm chart for CRDs of dynamo operator
type
:
application
type
:
application
version
:
0.1.
4
version
:
0.1.
5
dependencies
:
[]
dependencies
:
[]
\ No newline at end of file
deploy/dynamo/helm/platform/components/operator/charts/dynamo-crds/crds/nvidia.com_dynamocomponentdeployments.yaml
View file @
4d02a463
...
@@ -1800,864 +1800,6 @@ spec:
...
@@ -1800,864 +1800,6 @@ spec:
format
:
int32
format
:
int32
type
:
integer
type
:
integer
type
:
object
type
:
object
monitorExporter
:
properties
:
enabled
:
type
:
boolean
mounts
:
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
nfs
:
properties
:
path
:
type
:
string
readOnly
:
type
:
boolean
server
:
type
:
string
required
:
-
path
-
server
type
:
object
path
:
type
:
string
persistentVolumeClaim
:
properties
:
claimName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
claimName
type
:
object
photonPersistentDisk
:
properties
:
fsType
:
type
:
string
pdID
:
type
:
string
required
:
-
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
readOnly
:
type
:
boolean
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
type
:
object
type
:
array
options
:
additionalProperties
:
type
:
string
type
:
object
output
:
type
:
string
structureOptions
:
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
type
:
object
pvc
:
pvc
:
properties
:
properties
:
create
:
create
:
...
...
deploy/dynamo/helm/platform/components/operator/charts/dynamo-crds/crds/nvidia.com_dynamographdeployments.yaml
View file @
4d02a463
...
@@ -1855,864 +1855,6 @@ spec:
...
@@ -1855,864 +1855,6 @@ spec:
format
:
int32
format
:
int32
type
:
integer
type
:
integer
type
:
object
type
:
object
monitorExporter
:
properties
:
enabled
:
type
:
boolean
mounts
:
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
nfs
:
properties
:
path
:
type
:
string
readOnly
:
type
:
boolean
server
:
type
:
string
required
:
-
path
-
server
type
:
object
path
:
type
:
string
persistentVolumeClaim
:
properties
:
claimName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
claimName
type
:
object
photonPersistentDisk
:
properties
:
fsType
:
type
:
string
pdID
:
type
:
string
required
:
-
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
readOnly
:
type
:
boolean
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
type
:
object
type
:
array
options
:
additionalProperties
:
type
:
string
type
:
object
output
:
type
:
string
structureOptions
:
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
type
:
object
pvc
:
pvc
:
properties
:
properties
:
create
:
create
:
...
...
deploy/dynamo/helm/platform/components/operator/templates/secret-env.yaml
View file @
4d02a463
...
@@ -27,9 +27,7 @@ stringData:
...
@@ -27,9 +27,7 @@ stringData:
DYNAMO_DEPLOYMENT_NAMESPACE
:
{{
.Release.Namespace
}}
DYNAMO_DEPLOYMENT_NAMESPACE
:
{{
.Release.Namespace
}}
DYNAMO_IMAGE_BUILDER_NAMESPACE
:
{{
.Release.Namespace
}}
DYNAMO_IMAGE_BUILDER_NAMESPACE
:
{{
.Release.Namespace
}}
INTERNAL_IMAGES_METRICS_TRANSFORMER
:
{{
.Values.dynamo.internalImages.metricsTransformer | quote
}}
INTERNAL_IMAGES_DEBUGGER
:
{{
.Values.dynamo.internalImages.debugger | quote
}}
INTERNAL_IMAGES_DEBUGGER
:
{{
.Values.dynamo.internalImages.debugger | quote
}}
INTERNAL_IMAGES_MONITOR_EXPORTER
:
{{
.Values.dynamo.internalImages.monitorExporter | quote
}}
INTERNAL_IMAGES_PROXY
:
{{
.Values.dynamo.internalImages.proxy | quote
}}
INTERNAL_IMAGES_PROXY
:
{{
.Values.dynamo.internalImages.proxy | quote
}}
{{
- if .Values.dynamo.enableRestrictedSecurityContext
}}
{{
- if .Values.dynamo.enableRestrictedSecurityContext
}}
...
...
deploy/dynamo/helm/platform/components/operator/values.yaml
View file @
4d02a463
...
@@ -78,14 +78,12 @@ dynamo:
...
@@ -78,14 +78,12 @@ dynamo:
clusterName
:
default
clusterName
:
default
internalImages
:
internalImages
:
dynamoComponentsDownloader
:
quay.io/bentoml/bento-downloader:0.0.5
dynamoComponentsDownloader
:
rapidfort/curl:latest
kaniko
:
gcr.io/kaniko-project/executor:debug
kaniko
:
gcr.io/kaniko-project/executor:debug
buildkit
:
moby/buildkit:v0.20.2
buildkit
:
moby/buildkit:v0.20.2
buildkitRootless
:
moby/buildkit:v0.20.2-rootless
buildkitRootless
:
moby/buildkit:v0.20.2-rootless
metricsTransformer
:
quay.io/bentoml/yatai-bento-metrics-transformer:0.0.4
debugger
:
python:3.12-slim
debugger
:
quay.io/bentoml/bento-debugger:0.0.8
proxy
:
envoyproxy/envoy:v1.33-latest
monitorExporter
:
quay.io/bentoml/bentoml-monitor-exporter:0.0.3
proxy
:
quay.io/bentoml/bentoml-proxy:0.0.1
enableRestrictedSecurityContext
:
false
enableRestrictedSecurityContext
:
false
...
...
deploy/dynamo/helm/platform/values.yaml
View file @
4d02a463
...
@@ -41,14 +41,12 @@ dynamo-operator:
...
@@ -41,14 +41,12 @@ dynamo-operator:
endpoint
:
http://dynamo-store
endpoint
:
http://dynamo-store
clusterName
:
default
clusterName
:
default
internalImages
:
internalImages
:
dynamoComponentsDownloader
:
quay.io/bentoml/bento-downloader:0.0.5
dynamoComponentsDownloader
:
rapidfort/curl:latest
kaniko
:
gcr.io/kaniko-project/executor:debug
kaniko
:
gcr.io/kaniko-project/executor:debug
buildkit
:
moby/buildkit:v0.20.2
buildkit
:
moby/buildkit:v0.20.2
buildkitRootless
:
moby/buildkit:v0.20.2-rootless
buildkitRootless
:
moby/buildkit:v0.20.2-rootless
metricsTransformer
:
quay.io/bentoml/yatai-bento-metrics-transformer:0.0.4
debugger
:
python:3.12-slim
debugger
:
quay.io/bentoml/bento-debugger:0.0.8
proxy
:
envoyproxy/envoy:v1.33-latest
monitorExporter
:
quay.io/bentoml/bentoml-monitor-exporter:0.0.3
proxy
:
quay.io/bentoml/bentoml-proxy:0.0.1
enableRestrictedSecurityContext
:
false
enableRestrictedSecurityContext
:
false
dockerRegistry
:
dockerRegistry
:
server
:
"
"
server
:
"
"
...
...
deploy/dynamo/operator/api/dynamo/common/common.go
View file @
4d02a463
...
@@ -48,20 +48,6 @@ type LabelItemSchema struct {
...
@@ -48,20 +48,6 @@ type LabelItemSchema struct {
Value
string
`json:"value"`
Value
string
`json:"value"`
}
}
type
MonitorExporterMountSpec
struct
{
Path
string
`json:"path,omitempty"`
ReadOnly
bool
`json:"readOnly,omitempty"`
corev1
.
VolumeSource
`json:",inline"`
}
type
MonitorExporterSpec
struct
{
Enabled
bool
`json:"enabled,omitempty"`
Output
string
`json:"output,omitempty"`
Options
map
[
string
]
string
`json:"options,omitempty"`
StructureOptions
[]
corev1
.
EnvVar
`json:"structureOptions,omitempty"`
Mounts
[]
MonitorExporterMountSpec
`json:"mounts,omitempty"`
}
type
ExtraPodMetadata
struct
{
type
ExtraPodMetadata
struct
{
Annotations
map
[
string
]
string
`json:"annotations,omitempty"`
Annotations
map
[
string
]
string
`json:"annotations,omitempty"`
Labels
map
[
string
]
string
`json:"labels,omitempty"`
Labels
map
[
string
]
string
`json:"labels,omitempty"`
...
...
deploy/dynamo/operator/api/dynamo/common/zz_generated.deepcopy.go
View file @
4d02a463
...
@@ -178,58 +178,6 @@ func (in *LabelItemSchema) DeepCopy() *LabelItemSchema {
...
@@ -178,58 +178,6 @@ func (in *LabelItemSchema) DeepCopy() *LabelItemSchema {
return
out
return
out
}
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
MonitorExporterMountSpec
)
DeepCopyInto
(
out
*
MonitorExporterMountSpec
)
{
*
out
=
*
in
in
.
VolumeSource
.
DeepCopyInto
(
&
out
.
VolumeSource
)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorExporterMountSpec.
func
(
in
*
MonitorExporterMountSpec
)
DeepCopy
()
*
MonitorExporterMountSpec
{
if
in
==
nil
{
return
nil
}
out
:=
new
(
MonitorExporterMountSpec
)
in
.
DeepCopyInto
(
out
)
return
out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
MonitorExporterSpec
)
DeepCopyInto
(
out
*
MonitorExporterSpec
)
{
*
out
=
*
in
if
in
.
Options
!=
nil
{
in
,
out
:=
&
in
.
Options
,
&
out
.
Options
*
out
=
make
(
map
[
string
]
string
,
len
(
*
in
))
for
key
,
val
:=
range
*
in
{
(
*
out
)[
key
]
=
val
}
}
if
in
.
StructureOptions
!=
nil
{
in
,
out
:=
&
in
.
StructureOptions
,
&
out
.
StructureOptions
*
out
=
make
([]
v1
.
EnvVar
,
len
(
*
in
))
for
i
:=
range
*
in
{
(
*
in
)[
i
]
.
DeepCopyInto
(
&
(
*
out
)[
i
])
}
}
if
in
.
Mounts
!=
nil
{
in
,
out
:=
&
in
.
Mounts
,
&
out
.
Mounts
*
out
=
make
([]
MonitorExporterMountSpec
,
len
(
*
in
))
for
i
:=
range
*
in
{
(
*
in
)[
i
]
.
DeepCopyInto
(
&
(
*
out
)[
i
])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorExporterSpec.
func
(
in
*
MonitorExporterSpec
)
DeepCopy
()
*
MonitorExporterSpec
{
if
in
==
nil
{
return
nil
}
out
:=
new
(
MonitorExporterSpec
)
in
.
DeepCopyInto
(
out
)
return
out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
ResourceItem
)
DeepCopyInto
(
out
*
ResourceItem
)
{
func
(
in
*
ResourceItem
)
DeepCopyInto
(
out
*
ResourceItem
)
{
*
out
=
*
in
*
out
=
*
in
...
...
deploy/dynamo/operator/api/v1alpha1/dynamocomponentdeployment_types.go
View file @
4d02a463
...
@@ -70,8 +70,6 @@ type DynamoComponentDeploymentSharedSpec struct {
...
@@ -70,8 +70,6 @@ type DynamoComponentDeploymentSharedSpec struct {
Ingress
IngressSpec
`json:"ingress,omitempty"`
Ingress
IngressSpec
`json:"ingress,omitempty"`
MonitorExporter
*
dynamoCommon
.
MonitorExporterSpec
`json:"monitorExporter,omitempty"`
// +optional
// +optional
ExtraPodMetadata
*
dynamoCommon
.
ExtraPodMetadata
`json:"extraPodMetadata,omitempty"`
ExtraPodMetadata
*
dynamoCommon
.
ExtraPodMetadata
`json:"extraPodMetadata,omitempty"`
// +optional
// +optional
...
...
deploy/dynamo/operator/api/v1alpha1/zz_generated.deepcopy.go
View file @
4d02a463
...
@@ -279,11 +279,6 @@ func (in *DynamoComponentDeploymentSharedSpec) DeepCopyInto(out *DynamoComponent
...
@@ -279,11 +279,6 @@ func (in *DynamoComponentDeploymentSharedSpec) DeepCopyInto(out *DynamoComponent
}
}
}
}
in
.
Ingress
.
DeepCopyInto
(
&
out
.
Ingress
)
in
.
Ingress
.
DeepCopyInto
(
&
out
.
Ingress
)
if
in
.
MonitorExporter
!=
nil
{
in
,
out
:=
&
in
.
MonitorExporter
,
&
out
.
MonitorExporter
*
out
=
new
(
common
.
MonitorExporterSpec
)
(
*
in
)
.
DeepCopyInto
(
*
out
)
}
if
in
.
ExtraPodMetadata
!=
nil
{
if
in
.
ExtraPodMetadata
!=
nil
{
in
,
out
:=
&
in
.
ExtraPodMetadata
,
&
out
.
ExtraPodMetadata
in
,
out
:=
&
in
.
ExtraPodMetadata
,
&
out
.
ExtraPodMetadata
*
out
=
new
(
common
.
ExtraPodMetadata
)
*
out
=
new
(
common
.
ExtraPodMetadata
)
...
...
deploy/dynamo/operator/config/crd/bases/nvidia.com_dynamocomponentdeployments.yaml
View file @
4d02a463
...
@@ -1800,864 +1800,6 @@ spec:
...
@@ -1800,864 +1800,6 @@ spec:
format
:
int32
format
:
int32
type
:
integer
type
:
integer
type
:
object
type
:
object
monitorExporter
:
properties
:
enabled
:
type
:
boolean
mounts
:
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
nfs
:
properties
:
path
:
type
:
string
readOnly
:
type
:
boolean
server
:
type
:
string
required
:
-
path
-
server
type
:
object
path
:
type
:
string
persistentVolumeClaim
:
properties
:
claimName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
claimName
type
:
object
photonPersistentDisk
:
properties
:
fsType
:
type
:
string
pdID
:
type
:
string
required
:
-
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
readOnly
:
type
:
boolean
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
type
:
object
type
:
array
options
:
additionalProperties
:
type
:
string
type
:
object
output
:
type
:
string
structureOptions
:
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
type
:
object
pvc
:
pvc
:
properties
:
properties
:
create
:
create
:
...
...
deploy/dynamo/operator/config/crd/bases/nvidia.com_dynamographdeployments.yaml
View file @
4d02a463
...
@@ -1855,864 +1855,6 @@ spec:
...
@@ -1855,864 +1855,6 @@ spec:
format
:
int32
format
:
int32
type
:
integer
type
:
integer
type
:
object
type
:
object
monitorExporter
:
properties
:
enabled
:
type
:
boolean
mounts
:
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
nfs
:
properties
:
path
:
type
:
string
readOnly
:
type
:
boolean
server
:
type
:
string
required
:
-
path
-
server
type
:
object
path
:
type
:
string
persistentVolumeClaim
:
properties
:
claimName
:
type
:
string
readOnly
:
type
:
boolean
required
:
-
claimName
type
:
object
photonPersistentDisk
:
properties
:
fsType
:
type
:
string
pdID
:
type
:
string
required
:
-
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
readOnly
:
type
:
boolean
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
type
:
object
type
:
array
options
:
additionalProperties
:
type
:
string
type
:
object
output
:
type
:
string
structureOptions
:
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
type
:
object
pvc
:
pvc
:
properties
:
properties
:
create
:
create
:
...
...
deploy/dynamo/operator/go.mod
View file @
4d02a463
...
@@ -10,7 +10,6 @@ require (
...
@@ -10,7 +10,6 @@ require (
github.com/apparentlymart/go-shquot v0.0.1
github.com/apparentlymart/go-shquot v0.0.1
github.com/bsm/gomega v1.27.10
github.com/bsm/gomega v1.27.10
github.com/cisco-open/k8s-objectmatcher v1.9.0
github.com/cisco-open/k8s-objectmatcher v1.9.0
github.com/ettle/strcase v0.2.0
github.com/huandu/xstrings v1.4.0
github.com/huandu/xstrings v1.4.0
github.com/mitchellh/hashstructure/v2 v2.0.2
github.com/mitchellh/hashstructure/v2 v2.0.2
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/ginkgo/v2 v2.19.0
...
...
deploy/dynamo/operator/go.sum
View file @
4d02a463
...
@@ -29,8 +29,6 @@ github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1 h1:ZClxb8laGDf5arX
...
@@ -29,8 +29,6 @@ github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1 h1:ZClxb8laGDf5arX
github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE=
github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE=
github.com/emicklei/go-restful/v3 v3.11.0 h1:rAQeMHw1c7zTmncogyy8VvRZwtkmkZ4FxERmMY4rD+g=
github.com/emicklei/go-restful/v3 v3.11.0 h1:rAQeMHw1c7zTmncogyy8VvRZwtkmkZ4FxERmMY4rD+g=
github.com/emicklei/go-restful/v3 v3.11.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
github.com/emicklei/go-restful/v3 v3.11.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
github.com/ettle/strcase v0.2.0 h1:fGNiVF21fHXpX1niBgk0aROov1LagYsOwV/xqKDKR/Q=
github.com/ettle/strcase v0.2.0/go.mod h1:DajmHElDSaX76ITe3/VHVyMin4LWSJN5Z909Wp+ED1A=
github.com/evanphx/json-patch v5.7.0+incompatible h1:vgGkfT/9f8zE6tvSCe74nfpAVDQ2tG6yudJd8LBksgI=
github.com/evanphx/json-patch v5.7.0+incompatible h1:vgGkfT/9f8zE6tvSCe74nfpAVDQ2tG6yudJd8LBksgI=
github.com/evanphx/json-patch v5.7.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
github.com/evanphx/json-patch v5.7.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
github.com/evanphx/json-patch/v5 v5.9.0 h1:kcBlZQbplgElYIlo/n1hJbls2z/1awpXxpRi0/FOJfg=
github.com/evanphx/json-patch/v5 v5.9.0 h1:kcBlZQbplgElYIlo/n1hJbls2z/1awpXxpRi0/FOJfg=
...
...
deploy/dynamo/operator/internal/config/config.go
View file @
4d02a463
...
@@ -72,7 +72,6 @@ func getEnv(key, fallback string) string {
...
@@ -72,7 +72,6 @@ func getEnv(key, fallback string) string {
type
InternalImages
struct
{
type
InternalImages
struct
{
DynamoComponentsDownloader
string
DynamoComponentsDownloader
string
Kaniko
string
Kaniko
string
MetricsTransformer
string
Buildkit
string
Buildkit
string
BuildkitRootless
string
BuildkitRootless
string
}
}
...
@@ -81,7 +80,6 @@ func GetInternalImages() (conf *InternalImages) {
...
@@ -81,7 +80,6 @@ func GetInternalImages() (conf *InternalImages) {
conf
=
&
InternalImages
{}
conf
=
&
InternalImages
{}
conf
.
DynamoComponentsDownloader
=
getEnv
(
consts
.
EnvInternalImagesDynamoComponentsDownloader
,
consts
.
InternalImagesDynamoComponentsDownloaderDefault
)
conf
.
DynamoComponentsDownloader
=
getEnv
(
consts
.
EnvInternalImagesDynamoComponentsDownloader
,
consts
.
InternalImagesDynamoComponentsDownloaderDefault
)
conf
.
Kaniko
=
getEnv
(
consts
.
EnvInternalImagesKaniko
,
consts
.
InternalImagesKanikoDefault
)
conf
.
Kaniko
=
getEnv
(
consts
.
EnvInternalImagesKaniko
,
consts
.
InternalImagesKanikoDefault
)
conf
.
MetricsTransformer
=
getEnv
(
consts
.
EnvInternalImagesMetricsTransformer
,
consts
.
InternalImagesMetricsTransformerDefault
)
conf
.
Buildkit
=
getEnv
(
consts
.
EnvInternalImagesBuildkit
,
consts
.
InternalImagesBuildkitDefault
)
conf
.
Buildkit
=
getEnv
(
consts
.
EnvInternalImagesBuildkit
,
consts
.
InternalImagesBuildkitDefault
)
conf
.
BuildkitRootless
=
getEnv
(
consts
.
EnvInternalImagesBuildkitRootless
,
consts
.
InternalImagesBuildkitRootlessDefault
)
conf
.
BuildkitRootless
=
getEnv
(
consts
.
EnvInternalImagesBuildkitRootless
,
consts
.
InternalImagesBuildkitRootlessDefault
)
return
return
...
...
deploy/dynamo/operator/internal/consts/consts.go
View file @
4d02a463
...
@@ -14,9 +14,8 @@ const (
...
@@ -14,9 +14,8 @@ const (
DynamoApiServerComponentName
=
"api-server"
DynamoApiServerComponentName
=
"api-server"
InternalImagesDynamoComponentsDownloaderDefault
=
"
quay.io/bentoml/bento-downloader:0.0.3
"
InternalImagesDynamoComponentsDownloaderDefault
=
"
rapidfort/curl:latest
"
InternalImagesKanikoDefault
=
"gcr.io/kaniko-project/executor:debug"
InternalImagesKanikoDefault
=
"gcr.io/kaniko-project/executor:debug"
InternalImagesMetricsTransformerDefault
=
"quay.io/bentoml/yatai-bento-metrics-transformer:0.0.3"
InternalImagesBuildkitDefault
=
"moby/buildkit:v0.20.2"
InternalImagesBuildkitDefault
=
"moby/buildkit:v0.20.2"
InternalImagesBuildkitRootlessDefault
=
"moby/buildkit:v0.20.2-rootless"
InternalImagesBuildkitRootlessDefault
=
"moby/buildkit:v0.20.2-rootless"
...
@@ -37,7 +36,6 @@ const (
...
@@ -37,7 +36,6 @@ const (
EnvInternalImagesDynamoComponentsDownloader
=
"INTERNAL_IMAGES_DYNAMO_COMPONENTS_DOWNLOADER"
EnvInternalImagesDynamoComponentsDownloader
=
"INTERNAL_IMAGES_DYNAMO_COMPONENTS_DOWNLOADER"
EnvInternalImagesKaniko
=
"INTERNAL_IMAGES_KANIKO"
EnvInternalImagesKaniko
=
"INTERNAL_IMAGES_KANIKO"
EnvInternalImagesMetricsTransformer
=
"INTERNAL_IMAGES_METRICS_TRANSFORMER"
EnvInternalImagesBuildkit
=
"INTERNAL_IMAGES_BUILDKIT"
EnvInternalImagesBuildkit
=
"INTERNAL_IMAGES_BUILDKIT"
EnvInternalImagesBuildkitRootless
=
"INTERNAL_IMAGES_BUILDKIT_ROOTLESS"
EnvInternalImagesBuildkitRootless
=
"INTERNAL_IMAGES_BUILDKIT_ROOTLESS"
...
...
deploy/dynamo/operator/internal/controller/dynamocomponentdeployment_controller.go
View file @
4d02a463
...
@@ -39,7 +39,6 @@ import (
...
@@ -39,7 +39,6 @@ import (
dynamoCommon
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/api/dynamo/common"
dynamoCommon
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/api/dynamo/common"
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/api/dynamo/schemas"
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/api/dynamo/schemas"
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/api/v1alpha1"
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/api/v1alpha1"
commonconfig
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/internal/config"
commonconsts
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/internal/consts"
commonconsts
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/internal/consts"
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/internal/controller_common"
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/internal/controller_common"
commonController
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/internal/controller_common"
commonController
"github.com/ai-dynamo/dynamo/deploy/dynamo/operator/internal/controller_common"
...
@@ -1127,7 +1126,6 @@ func getDynamoComponentRepositoryNameAndDynamoComponentVersion(dynamoComponent *
...
@@ -1127,7 +1126,6 @@ func getDynamoComponentRepositoryNameAndDynamoComponentVersion(dynamoComponent *
//nolint:gocyclo,nakedret
//nolint:gocyclo,nakedret
func
(
r
*
DynamoComponentDeploymentReconciler
)
generatePodTemplateSpec
(
ctx
context
.
Context
,
opt
generateResourceOption
)
(
podTemplateSpec
*
corev1
.
PodTemplateSpec
,
err
error
)
{
func
(
r
*
DynamoComponentDeploymentReconciler
)
generatePodTemplateSpec
(
ctx
context
.
Context
,
opt
generateResourceOption
)
(
podTemplateSpec
*
corev1
.
PodTemplateSpec
,
err
error
)
{
dynamoComponentRepositoryName
,
_
:=
getDynamoComponentRepositoryNameAndDynamoComponentVersion
(
opt
.
dynamoComponent
)
podLabels
:=
r
.
getKubeLabels
(
opt
.
dynamoComponentDeployment
,
opt
.
dynamoComponent
)
podLabels
:=
r
.
getKubeLabels
(
opt
.
dynamoComponentDeployment
,
opt
.
dynamoComponent
)
if
opt
.
isStealingTrafficDebugModeEnabled
{
if
opt
.
isStealingTrafficDebugModeEnabled
{
podLabels
[
commonconsts
.
KubeLabelDynamoDeploymentTargetType
]
=
DeploymentTargetTypeDebug
podLabels
[
commonconsts
.
KubeLabelDynamoDeploymentTargetType
]
=
DeploymentTargetTypeDebug
...
@@ -1391,76 +1389,7 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
...
@@ -1391,76 +1389,7 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
containers
=
append
(
containers
,
container
)
containers
=
append
(
containers
,
container
)
lastPort
++
lastPort
++
metricsPort
:=
lastPort
containers
=
append
(
containers
,
corev1
.
Container
{
Name
:
"metrics-transformer"
,
Image
:
commonconfig
.
GetInternalImages
()
.
MetricsTransformer
,
Resources
:
corev1
.
ResourceRequirements
{
Requests
:
corev1
.
ResourceList
{
corev1
.
ResourceCPU
:
resource
.
MustParse
(
"10m"
),
corev1
.
ResourceMemory
:
resource
.
MustParse
(
"10Mi"
),
},
Limits
:
corev1
.
ResourceList
{
corev1
.
ResourceCPU
:
resource
.
MustParse
(
"100m"
),
corev1
.
ResourceMemory
:
resource
.
MustParse
(
"100Mi"
),
},
},
ReadinessProbe
:
&
corev1
.
Probe
{
InitialDelaySeconds
:
5
,
TimeoutSeconds
:
5
,
FailureThreshold
:
10
,
ProbeHandler
:
corev1
.
ProbeHandler
{
HTTPGet
:
&
corev1
.
HTTPGetAction
{
Path
:
"/healthz"
,
Port
:
intstr
.
FromString
(
"metrics"
),
},
},
},
LivenessProbe
:
&
corev1
.
Probe
{
InitialDelaySeconds
:
5
,
TimeoutSeconds
:
5
,
FailureThreshold
:
10
,
ProbeHandler
:
corev1
.
ProbeHandler
{
HTTPGet
:
&
corev1
.
HTTPGetAction
{
Path
:
"/healthz"
,
Port
:
intstr
.
FromString
(
"metrics"
),
},
},
},
Env
:
[]
corev1
.
EnvVar
{
{
Name
:
"BENTOML_SERVER_HOST"
,
Value
:
"localhost"
,
},
{
Name
:
"BENTOML_SERVER_PORT"
,
Value
:
fmt
.
Sprintf
(
"%d"
,
containerPort
),
},
{
Name
:
"PORT"
,
Value
:
fmt
.
Sprintf
(
"%d"
,
metricsPort
),
},
{
Name
:
"OLD_METRICS_PREFIX"
,
Value
:
fmt
.
Sprintf
(
"BENTOML_%s_"
,
strings
.
ReplaceAll
(
dynamoComponentRepositoryName
,
"-"
,
":"
)),
},
{
Name
:
"NEW_METRICS_PREFIX"
,
Value
:
"BENTOML_"
,
},
},
Ports
:
[]
corev1
.
ContainerPort
{
{
Protocol
:
corev1
.
ProtocolTCP
,
Name
:
"metrics"
,
ContainerPort
:
int32
(
metricsPort
),
},
},
SecurityContext
:
securityContext
,
})
lastPort
++
proxyPort
:=
lastPort
proxyPort
:=
lastPort
proxyResourcesRequestsCPUStr
:=
resourceAnnotations
[
KubeAnnotationProxySidecarResourcesRequestsCPU
]
proxyResourcesRequestsCPUStr
:=
resourceAnnotations
[
KubeAnnotationProxySidecarResourcesRequestsCPU
]
...
@@ -1564,7 +1493,7 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
...
@@ -1564,7 +1493,7 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
},
},
},
},
})
})
proxyImage
:=
"
quay.io/bentoml/bentoml-proxy:0.0.1
"
proxyImage
:=
"
envoyproxy/envoy:v1.33-latest
"
proxyImage_
:=
os
.
Getenv
(
"INTERNAL_IMAGES_PROXY"
)
proxyImage_
:=
os
.
Getenv
(
"INTERNAL_IMAGES_PROXY"
)
if
proxyImage_
!=
""
{
if
proxyImage_
!=
""
{
proxyImage
=
proxyImage_
proxyImage
=
proxyImage_
...
@@ -1589,18 +1518,18 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
...
@@ -1589,18 +1518,18 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
ContainerPort
:
int32
(
proxyPort
),
ContainerPort
:
int32
(
proxyPort
),
Protocol
:
corev1
.
ProtocolTCP
,
Protocol
:
corev1
.
ProtocolTCP
,
},
},
{
ContainerPort
:
int32
(
9901
),
},
},
},
ReadinessProbe
:
&
corev1
.
Probe
{
ReadinessProbe
:
&
corev1
.
Probe
{
InitialDelaySeconds
:
5
,
InitialDelaySeconds
:
5
,
TimeoutSeconds
:
5
,
TimeoutSeconds
:
5
,
FailureThreshold
:
10
,
FailureThreshold
:
10
,
ProbeHandler
:
corev1
.
ProbeHandler
{
ProbeHandler
:
corev1
.
ProbeHandler
{
Exec
:
&
corev1
.
ExecAction
{
HTTPGet
:
&
corev1
.
HTTPGetAction
{
Command
:
[]
string
{
Path
:
"/ready"
,
"sh"
,
Port
:
intstr
.
FromInt
(
9901
),
"-c"
,
"curl -s localhost:9901/server_info | grep state | grep -q LIVE"
,
},
},
},
},
},
},
},
...
@@ -1609,12 +1538,9 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
...
@@ -1609,12 +1538,9 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
TimeoutSeconds
:
5
,
TimeoutSeconds
:
5
,
FailureThreshold
:
10
,
FailureThreshold
:
10
,
ProbeHandler
:
corev1
.
ProbeHandler
{
ProbeHandler
:
corev1
.
ProbeHandler
{
Exec
:
&
corev1
.
ExecAction
{
HTTPGet
:
&
corev1
.
HTTPGetAction
{
Command
:
[]
string
{
Path
:
"/server_info"
,
"sh"
,
Port
:
intstr
.
FromInt
(
9901
),
"-c"
,
"curl -s localhost:9901/server_info | grep state | grep -q LIVE"
,
},
},
},
},
},
},
},
...
@@ -1631,7 +1557,7 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
...
@@ -1631,7 +1557,7 @@ func (r *DynamoComponentDeploymentReconciler) generatePodTemplateSpec(ctx contex
SecurityContext
:
securityContext
,
SecurityContext
:
securityContext
,
})
})
debuggerImage
:=
"
quay.io/bentoml/bento-debugger:0.0.8
"
debuggerImage
:=
"
python:3.12-slim
"
debuggerImage_
:=
os
.
Getenv
(
"INTERNAL_IMAGES_DEBUGGER"
)
debuggerImage_
:=
os
.
Getenv
(
"INTERNAL_IMAGES_DEBUGGER"
)
if
debuggerImage_
!=
""
{
if
debuggerImage_
!=
""
{
debuggerImage
=
debuggerImage_
debuggerImage
=
debuggerImage_
...
...
Prev
1
2
Next
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