forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the docker image used for auto deployment. (kubeflow#443)
* Update the docker image used for auto deployment. * We need to pick up the changes to auto-deploy.sh to take in argument kfctl_config * Update the v0-6 code to use the new RC for 0.6.2 config file. * Create a batch job for deploying from v0-6 Related to kubeflow/kubeflow#3905 * * Don't generate self-signed certificates for master because master is now using managed certificates. * Fix bug. * Fix lint.
- Loading branch information
1 parent
8723ec6
commit 54db950
Showing
6 changed files
with
96 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
generateName: deploy-v0-6- | ||
namespace: kubeflow-test-infra | ||
labels: | ||
job: deploy-v0-6 | ||
app: deploy-v0-6 | ||
version: v0-6 | ||
spec: | ||
backoffLimit: 1 | ||
template: | ||
metadata: | ||
labels: | ||
job: deploy-v0-6 | ||
version: v0-6 | ||
spec: | ||
containers: | ||
- name: deploy-worker | ||
image: gcr.io/kubeflow-ci/deploy-worker:v20190819-8723ec6-e3b0c4 | ||
env: | ||
- name: GOOGLE_APPLICATION_CREDENTIALS | ||
value: /secret/gcp-credentials/key.json | ||
command: | ||
- /usr/local/bin/auto_deploy.sh | ||
- --repos=kubeflow/kubeflow@v0.6-branch;kubeflow/testing | ||
- --project=kubeflow-ci-deployment | ||
- --job_labels=/etc/pod-info/labels | ||
- --data_dir=/mnt/test-data-volume/auto_deploy | ||
- --base_name=kf-v0-6 | ||
- --max_num_cluster=5 | ||
- --zone=us-east1-b | ||
- --github_token_file=/secret/github-token/github_token | ||
# Switch to version on v0.6-branch once kubeflow/kubeflow#3919 is checked in | ||
- --kfctl_config=https://raw.githubusercontent.com/kubeflow/kubeflow/2be95d873b5a1c46c07e3ebe2ae884fb71607f55/bootstrap/config/kfctl_gcp_iap.0.6.2rc.yaml | ||
volumeMounts: | ||
- name: gcp-credentials | ||
mountPath: /secret/gcp-credentials | ||
readOnly: true | ||
- name: pod-info | ||
mountPath: /etc/pod-info | ||
readOnly: true | ||
- name: github-token | ||
mountPath: /secret/github-token | ||
readOnly: true | ||
- name: test-data-volume | ||
mountPath: /mnt/test-data-volume | ||
readOnly: false | ||
restartPolicy: Never | ||
volumes: | ||
- name: gcp-credentials | ||
secret: | ||
secretName: gcp-credentials | ||
- name: github-token | ||
secret: | ||
secretName: github-token | ||
- name: test-data-volume | ||
persistentVolumeClaim: | ||
claimName: nfs-external | ||
- name: pod-info | ||
downwardAPI: | ||
items: | ||
- path: labels | ||
fieldRef: | ||
fieldPath: metadata.labels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters