diff --git a/README.md b/README.md index 3edfc46ac..e6852e1f7 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ kubectl logs -f ${PODNAME} ``` kubectl get -o yaml pytorchjobs pytorch-dist-mnist-gloo ``` -See the status section to monitor the job status. Here is sample output when the job is successfully completed. +See status section to monitor the job status. Here is sample output when the job is successfully completed. ``` apiVersion: v1 diff --git a/defaulter-gen b/defaulter-gen index 9d95ca753..011f1c60e 100755 Binary files a/defaulter-gen and b/defaulter-gen differ diff --git a/manifests/kustomization.yaml b/manifests/kustomization.yaml index 4af5cec2d..9f00df7b2 100644 --- a/manifests/kustomization.yaml +++ b/manifests/kustomization.yaml @@ -11,5 +11,5 @@ commonLabels: kustomize.component: pytorch-operator images: - name: gcr.io/kubeflow-images-public/pytorch-operator - newName: 527798164940.dkr.ecr.us-west-2.amazonaws.com/pytorch-operator + newName: 809251082950.dkr.ecr.us-west-2.amazonaws.com/pytorch-operator newTag: "0.1" diff --git a/pkg/apis/pytorch/v1/zz_generated.deepcopy.go b/pkg/apis/pytorch/v1/zz_generated.deepcopy.go index b03b4ede4..9d8af89b5 100644 --- a/pkg/apis/pytorch/v1/zz_generated.deepcopy.go +++ b/pkg/apis/pytorch/v1/zz_generated.deepcopy.go @@ -1,6 +1,6 @@ // +build !ignore_autogenerated -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/pytorch/v1/zz_generated.defaults.go b/pkg/apis/pytorch/v1/zz_generated.defaults.go index d5fe9ba25..d257e0ae0 100644 --- a/pkg/apis/pytorch/v1/zz_generated.defaults.go +++ b/pkg/apis/pytorch/v1/zz_generated.defaults.go @@ -1,6 +1,6 @@ // +build !ignore_autogenerated -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/clientset.go b/pkg/client/clientset/versioned/clientset.go index 775dfb29b..12c11d91f 100644 --- a/pkg/client/clientset/versioned/clientset.go +++ b/pkg/client/clientset/versioned/clientset.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/doc.go b/pkg/client/clientset/versioned/doc.go index a228caddf..f15b5bb9d 100644 --- a/pkg/client/clientset/versioned/doc.go +++ b/pkg/client/clientset/versioned/doc.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/fake/clientset_generated.go b/pkg/client/clientset/versioned/fake/clientset_generated.go index 6a43da773..882bf4f55 100644 --- a/pkg/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/client/clientset/versioned/fake/clientset_generated.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/fake/doc.go b/pkg/client/clientset/versioned/fake/doc.go index 280810d6e..79cb6ad00 100644 --- a/pkg/client/clientset/versioned/fake/doc.go +++ b/pkg/client/clientset/versioned/fake/doc.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/fake/register.go b/pkg/client/clientset/versioned/fake/register.go index cff9eec4a..7a3d48399 100644 --- a/pkg/client/clientset/versioned/fake/register.go +++ b/pkg/client/clientset/versioned/fake/register.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/scheme/doc.go b/pkg/client/clientset/versioned/scheme/doc.go index 5a9f51a09..a500fc290 100644 --- a/pkg/client/clientset/versioned/scheme/doc.go +++ b/pkg/client/clientset/versioned/scheme/doc.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/scheme/register.go b/pkg/client/clientset/versioned/scheme/register.go index dfd4a4df7..a42f42786 100644 --- a/pkg/client/clientset/versioned/scheme/register.go +++ b/pkg/client/clientset/versioned/scheme/register.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/pytorch/v1/doc.go b/pkg/client/clientset/versioned/typed/pytorch/v1/doc.go index 3a37e2c52..c9bbaff80 100644 --- a/pkg/client/clientset/versioned/typed/pytorch/v1/doc.go +++ b/pkg/client/clientset/versioned/typed/pytorch/v1/doc.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/pytorch/v1/fake/doc.go b/pkg/client/clientset/versioned/typed/pytorch/v1/fake/doc.go index e664a4c36..6339dbfd3 100644 --- a/pkg/client/clientset/versioned/typed/pytorch/v1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/pytorch/v1/fake/doc.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/pytorch/v1/fake/fake_pytorch_client.go b/pkg/client/clientset/versioned/typed/pytorch/v1/fake/fake_pytorch_client.go index 86ac0e5e0..9ebd1c7fc 100644 --- a/pkg/client/clientset/versioned/typed/pytorch/v1/fake/fake_pytorch_client.go +++ b/pkg/client/clientset/versioned/typed/pytorch/v1/fake/fake_pytorch_client.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/pytorch/v1/fake/fake_pytorchjob.go b/pkg/client/clientset/versioned/typed/pytorch/v1/fake/fake_pytorchjob.go index a1b93accb..539661061 100644 --- a/pkg/client/clientset/versioned/typed/pytorch/v1/fake/fake_pytorchjob.go +++ b/pkg/client/clientset/versioned/typed/pytorch/v1/fake/fake_pytorchjob.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/pytorch/v1/generated_expansion.go b/pkg/client/clientset/versioned/typed/pytorch/v1/generated_expansion.go index 698fc124f..ecec11ef8 100644 --- a/pkg/client/clientset/versioned/typed/pytorch/v1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/pytorch/v1/generated_expansion.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/pytorch/v1/pytorch_client.go b/pkg/client/clientset/versioned/typed/pytorch/v1/pytorch_client.go index c02274c64..1aebf4b46 100644 --- a/pkg/client/clientset/versioned/typed/pytorch/v1/pytorch_client.go +++ b/pkg/client/clientset/versioned/typed/pytorch/v1/pytorch_client.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/pytorch/v1/pytorchjob.go b/pkg/client/clientset/versioned/typed/pytorch/v1/pytorchjob.go index cbd1cfbc7..adc2a8107 100644 --- a/pkg/client/clientset/versioned/typed/pytorch/v1/pytorchjob.go +++ b/pkg/client/clientset/versioned/typed/pytorch/v1/pytorchjob.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/factory.go b/pkg/client/informers/externalversions/factory.go index 14ceffe45..cf996352a 100644 --- a/pkg/client/informers/externalversions/factory.go +++ b/pkg/client/informers/externalversions/factory.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/generic.go b/pkg/client/informers/externalversions/generic.go index 9aa547ae8..aa9a69f63 100644 --- a/pkg/client/informers/externalversions/generic.go +++ b/pkg/client/informers/externalversions/generic.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 8dbbd3d18..c00332679 100644 --- a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/pytorch/interface.go b/pkg/client/informers/externalversions/pytorch/interface.go index 0a4c40bc5..60844944b 100644 --- a/pkg/client/informers/externalversions/pytorch/interface.go +++ b/pkg/client/informers/externalversions/pytorch/interface.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/pytorch/v1/interface.go b/pkg/client/informers/externalversions/pytorch/v1/interface.go index a4139cac1..759741460 100644 --- a/pkg/client/informers/externalversions/pytorch/v1/interface.go +++ b/pkg/client/informers/externalversions/pytorch/v1/interface.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/informers/externalversions/pytorch/v1/pytorchjob.go b/pkg/client/informers/externalversions/pytorch/v1/pytorchjob.go index 7c150dacb..3c4393790 100644 --- a/pkg/client/informers/externalversions/pytorch/v1/pytorchjob.go +++ b/pkg/client/informers/externalversions/pytorch/v1/pytorchjob.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/pytorch/v1/expansion_generated.go b/pkg/client/listers/pytorch/v1/expansion_generated.go index fb7010daa..c7b8a1ec4 100644 --- a/pkg/client/listers/pytorch/v1/expansion_generated.go +++ b/pkg/client/listers/pytorch/v1/expansion_generated.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/listers/pytorch/v1/pytorchjob.go b/pkg/client/listers/pytorch/v1/pytorchjob.go index 07651758f..f657d5d36 100644 --- a/pkg/client/listers/pytorch/v1/pytorchjob.go +++ b/pkg/client/listers/pytorch/v1/pytorchjob.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Kubeflow Authors +// Copyright 2021 The Kubeflow Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/scripts/setup-pytorch-operator.sh b/scripts/setup-pytorch-operator.sh index 491324365..1d72aef14 100755 --- a/scripts/setup-pytorch-operator.sh +++ b/scripts/setup-pytorch-operator.sh @@ -24,7 +24,7 @@ set -o pipefail CLUSTER_NAME="${CLUSTER_NAME}" REGION="${AWS_REGION:-us-west-2}" -REGISTRY="${ECR_REGISTRY:-527798164940.dkr.ecr.us-west-2.amazonaws.com}" +REGISTRY="${ECR_REGISTRY:-809251082950.dkr.ecr.us-west-2.amazonaws.com}" VERSION="${PULL_BASE_SHA}" GO_DIR=${GOPATH}/src/github.com/${REPO_OWNER}/${REPO_NAME} diff --git a/test/workflows/components/workflows.libsonnet b/test/workflows/components/workflows.libsonnet index 5f56d4fad..92a4eb13e 100644 --- a/test/workflows/components/workflows.libsonnet +++ b/test/workflows/components/workflows.libsonnet @@ -49,7 +49,7 @@ local srcRootDir = testDir + "/src"; // The directory containing the kubeflow/pytorch-operator repo local srcDir = srcRootDir + "/kubeflow/pytorch-operator"; - local testWorkerImage = "527798164940.dkr.ecr.us-west-2.amazonaws.com/aws-kubeflow-ci/test-worker:latest"; + local testWorkerImage = "public.ecr.aws/j1r0q0g6/kubeflow-testing:latest"; local golangImage = "golang:1.9.4-stretch"; // TODO(jose5918) Build our own helm image local helmImage = "volumecontroller/golang:1.9.2"; @@ -330,7 +330,7 @@ "/kaniko/executor", "--dockerfile=" + srcDir + "/Dockerfile", "--context=dir://" + srcDir, - "--destination=" + "527798164940.dkr.ecr.us-west-2.amazonaws.com/pytorch-operator:$(PULL_BASE_SHA)", + "--destination=" + "809251082950.dkr.ecr.us-west-2.amazonaws.com/pytorch-operator:$(PULL_BASE_SHA)", # need to add volume mounts and extra env. ], volume_mounts=[