Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 24853d9

Browse files
Update 1.1.0 Release Scripts (#113)
* Update the installer yamls files with debug support (#112) Co-authored-by: Meghna Baijal <[email protected]> * Update all installers to v1.1 Co-authored-by: Meghna Baijal <[email protected]> Co-authored-by: Meghna Baijal <[email protected]>
1 parent fbe5f3e commit 24853d9

File tree

7 files changed

+196
-6
lines changed

7 files changed

+196
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Image URL to use all building/pushing image targets
2-
IMG ?= 957583890962.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s:v1
2+
IMG ?= 957583890962.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s:v1.1
33
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
44
CRD_OPTIONS ?= "crd:trivialVersions=true"
55

config/base/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ patchesStrategicMerge:
1111
images:
1212
- name: controller
1313
newName: 957583890962.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s
14-
newTag: v1
14+
newTag: v1.1
1515
resources:
1616
- ../manager

hack/charts/installer/rolebased/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ roleArn: arn:aws:iam::123456789012:role/DELETE_ME
22

33
image:
44
repository: 957583890962.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s
5-
tag: v1
5+
tag: v1.1
66

hack/charts/namespaced/operator_chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ roleArn: arn:aws:iam::123456789012:role/DELETE_ME
22

33
image:
44
repository: 957583890962.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s
5-
tag: v1
5+
tag: v1.1

release/rolebased/installer.yaml

Lines changed: 96 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3466,6 +3466,73 @@ spec:
34663466
required:
34673467
- s3Uri
34683468
type: object
3469+
debugHookConfig:
3470+
properties:
3471+
collectionConfigurations:
3472+
items:
3473+
properties:
3474+
collectionName:
3475+
type: string
3476+
collectionParameters:
3477+
items:
3478+
properties:
3479+
name:
3480+
type: string
3481+
value:
3482+
type: string
3483+
type: object
3484+
type: array
3485+
type: object
3486+
type: array
3487+
localPath:
3488+
type: string
3489+
ruleParameters:
3490+
items:
3491+
properties:
3492+
name:
3493+
type: string
3494+
value:
3495+
type: string
3496+
type: object
3497+
type: array
3498+
s3OutputPath:
3499+
pattern: ^(https|s3)://([^/]+)/?(.*)$
3500+
type: string
3501+
required:
3502+
- s3OutputPath
3503+
type: object
3504+
debugRuleConfigurations:
3505+
items:
3506+
properties:
3507+
instanceType:
3508+
type: string
3509+
localPath:
3510+
type: string
3511+
ruleConfigurationName:
3512+
type: string
3513+
ruleEvaluatorImage:
3514+
type: string
3515+
ruleParameters:
3516+
items:
3517+
properties:
3518+
name:
3519+
type: string
3520+
value:
3521+
type: string
3522+
type: object
3523+
type: array
3524+
s3OutputPath:
3525+
pattern: ^(https|s3)://([^/]+)/?(.*)$
3526+
type: string
3527+
volumeSizeInGB:
3528+
format: int64
3529+
minimum: 1
3530+
type: integer
3531+
required:
3532+
- ruleConfigurationName
3533+
- ruleEvaluatorImage
3534+
type: object
3535+
type: array
34693536
enableInterContainerTrafficEncryption:
34703537
type: boolean
34713538
enableManagedSpotTraining:
@@ -3625,6 +3692,16 @@ spec:
36253692
- value
36263693
type: object
36273694
type: array
3695+
tensorBoardOutputConfig:
3696+
properties:
3697+
localPath:
3698+
type: string
3699+
s3OutputPath:
3700+
pattern: ^(https|s3)://([^/]+)/?(.*)$
3701+
type: string
3702+
required:
3703+
- s3OutputPath
3704+
type: object
36283705
trainingJobName:
36293706
description: The SageMaker training job name. This is optional for the
36303707
SageMaker K8s operator. If it is empty, the operator will populate
@@ -3664,6 +3741,24 @@ spec:
36643741
cloudWatchLogUrl:
36653742
description: Cloud Watch url for training log
36663743
type: string
3744+
debugRuleEvaluationStatuses:
3745+
description: Status of rule evaluation jobs, obtained from DebugRuleEvaluationStatuses.
3746+
https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeTrainingJob.html#sagemaker-DescribeTrainingJob-response-DebugRuleEvaluationStatuses
3747+
items:
3748+
properties:
3749+
lastModifiedTime:
3750+
format: date-time
3751+
type: string
3752+
ruleConfigurationName:
3753+
type: string
3754+
ruleEvaluationJobArn:
3755+
type: string
3756+
ruleEvaluationStatus:
3757+
type: string
3758+
statusDetail:
3759+
type: string
3760+
type: object
3761+
type: array
36673762
lastCheckTime:
36683763
description: The last time that we checked the status of the SageMaker
36693764
job.
@@ -4011,7 +4106,7 @@ spec:
40114106
env:
40124107
- name: AWS_DEFAULT_SAGEMAKER_ENDPOINT
40134108
value: ""
4014-
image: 957583890962.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s:v1
4109+
image: 957583890962.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s:v1.1
40154110
imagePullPolicy: Always
40164111
name: manager
40174112
resources:

release/rolebased/namespaced/crd.yaml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3459,6 +3459,73 @@ spec:
34593459
required:
34603460
- s3Uri
34613461
type: object
3462+
debugHookConfig:
3463+
properties:
3464+
collectionConfigurations:
3465+
items:
3466+
properties:
3467+
collectionName:
3468+
type: string
3469+
collectionParameters:
3470+
items:
3471+
properties:
3472+
name:
3473+
type: string
3474+
value:
3475+
type: string
3476+
type: object
3477+
type: array
3478+
type: object
3479+
type: array
3480+
localPath:
3481+
type: string
3482+
ruleParameters:
3483+
items:
3484+
properties:
3485+
name:
3486+
type: string
3487+
value:
3488+
type: string
3489+
type: object
3490+
type: array
3491+
s3OutputPath:
3492+
pattern: ^(https|s3)://([^/]+)/?(.*)$
3493+
type: string
3494+
required:
3495+
- s3OutputPath
3496+
type: object
3497+
debugRuleConfigurations:
3498+
items:
3499+
properties:
3500+
instanceType:
3501+
type: string
3502+
localPath:
3503+
type: string
3504+
ruleConfigurationName:
3505+
type: string
3506+
ruleEvaluatorImage:
3507+
type: string
3508+
ruleParameters:
3509+
items:
3510+
properties:
3511+
name:
3512+
type: string
3513+
value:
3514+
type: string
3515+
type: object
3516+
type: array
3517+
s3OutputPath:
3518+
pattern: ^(https|s3)://([^/]+)/?(.*)$
3519+
type: string
3520+
volumeSizeInGB:
3521+
format: int64
3522+
minimum: 1
3523+
type: integer
3524+
required:
3525+
- ruleConfigurationName
3526+
- ruleEvaluatorImage
3527+
type: object
3528+
type: array
34623529
enableInterContainerTrafficEncryption:
34633530
type: boolean
34643531
enableManagedSpotTraining:
@@ -3618,6 +3685,16 @@ spec:
36183685
- value
36193686
type: object
36203687
type: array
3688+
tensorBoardOutputConfig:
3689+
properties:
3690+
localPath:
3691+
type: string
3692+
s3OutputPath:
3693+
pattern: ^(https|s3)://([^/]+)/?(.*)$
3694+
type: string
3695+
required:
3696+
- s3OutputPath
3697+
type: object
36213698
trainingJobName:
36223699
description: The SageMaker training job name. This is optional for the
36233700
SageMaker K8s operator. If it is empty, the operator will populate
@@ -3657,6 +3734,24 @@ spec:
36573734
cloudWatchLogUrl:
36583735
description: Cloud Watch url for training log
36593736
type: string
3737+
debugRuleEvaluationStatuses:
3738+
description: Status of rule evaluation jobs, obtained from DebugRuleEvaluationStatuses.
3739+
https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeTrainingJob.html#sagemaker-DescribeTrainingJob-response-DebugRuleEvaluationStatuses
3740+
items:
3741+
properties:
3742+
lastModifiedTime:
3743+
format: date-time
3744+
type: string
3745+
ruleConfigurationName:
3746+
type: string
3747+
ruleEvaluationJobArn:
3748+
type: string
3749+
ruleEvaluationStatus:
3750+
type: string
3751+
statusDetail:
3752+
type: string
3753+
type: object
3754+
type: array
36603755
lastCheckTime:
36613756
description: The last time that we checked the status of the SageMaker
36623757
job.

release/rolebased/namespaced/operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ spec:
324324
env:
325325
- name: AWS_DEFAULT_SAGEMAKER_ENDPOINT
326326
value: ""
327-
image: 957583890962.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s:v1
327+
image: 957583890962.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s:v1.1
328328
imagePullPolicy: Always
329329
name: manager
330330
resources:

0 commit comments

Comments
 (0)