From 0e2c64e6350d4b5bf8c463f7e1034f6b05b09b42 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Tue, 28 Jan 2020 12:37:30 -0800 Subject: [PATCH 1/3] bump admin and propeller --- kustomize/base/admindeployment/deployment.yaml | 4 ++-- kustomize/base/propeller/deployment.yaml | 4 ++-- .../overlays/sandbox/admindeployment/admindeployment.yaml | 6 +++--- kustomize/overlays/sandbox/admindeployment/cron.yaml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kustomize/base/admindeployment/deployment.yaml b/kustomize/base/admindeployment/deployment.yaml index cf222a8b39..9f89e50856 100644 --- a/kustomize/base/admindeployment/deployment.yaml +++ b/kustomize/base/admindeployment/deployment.yaml @@ -29,7 +29,7 @@ spec: name: flyte-admin-config initContainers: - name: run-migrations - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "migrate", "run"] volumeMounts: @@ -37,7 +37,7 @@ spec: mountPath: /etc/flyte/config containers: - name: flyteadmin - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "serve"] ports: diff --git a/kustomize/base/propeller/deployment.yaml b/kustomize/base/propeller/deployment.yaml index 49b72411c1..17a61eca3c 100644 --- a/kustomize/base/propeller/deployment.yaml +++ b/kustomize/base/propeller/deployment.yaml @@ -15,7 +15,7 @@ spec: labels: app: flytepropeller app.kubernetes.io/name: flytepropeller - app.kubernetes.io/version: 0.1.16 + app.kubernetes.io/version: 0.2.0 annotations: prometheus.io/scrape: "true" prometheus.io/port: "10254" @@ -31,7 +31,7 @@ spec: name: flyte-plugin-config containers: - name: flytepropeller - image: docker.io/lyft/flytepropeller:v0.1.16 + image: docker.io/lyft/flytepropeller:v0.2.0 command: - flytepropeller args: diff --git a/kustomize/overlays/sandbox/admindeployment/admindeployment.yaml b/kustomize/overlays/sandbox/admindeployment/admindeployment.yaml index 9e096e74c3..833ff9a345 100644 --- a/kustomize/overlays/sandbox/admindeployment/admindeployment.yaml +++ b/kustomize/overlays/sandbox/admindeployment/admindeployment.yaml @@ -17,7 +17,7 @@ spec: 'until pg_isready -h postgres -p 5432; do echo waiting for database; sleep 2; done;'] - name: run-migrations - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "migrate", "run"] @@ -25,7 +25,7 @@ spec: - name: config-volume mountPath: /etc/flyte/config - name: seed-projects - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "migrate", "seed-projects", "flytesnacks", "flytetester"] @@ -33,7 +33,7 @@ spec: - name: config-volume mountPath: /etc/flyte/config - name: sync-cluster-resources - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "clusterresource", "sync"] volumeMounts: diff --git a/kustomize/overlays/sandbox/admindeployment/cron.yaml b/kustomize/overlays/sandbox/admindeployment/cron.yaml index 9885b34fb2..298523a4b5 100644 --- a/kustomize/overlays/sandbox/admindeployment/cron.yaml +++ b/kustomize/overlays/sandbox/admindeployment/cron.yaml @@ -12,7 +12,7 @@ spec: serviceAccountName: flyteadmin containers: - name: sync-cluster-resources - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "clusterresource", "sync"] volumeMounts: From 387228bb124b48a513b1b959b24c3057c0980926 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Tue, 28 Jan 2020 13:56:17 -0800 Subject: [PATCH 2/3] make kustomize, remove quboleLimit from config, --- deployment/sandbox/flyte_generated.yaml | 19 +++++++++---------- deployment/test/flyte_generated.yaml | 14 +++++++------- .../propeller/plugins/qubole/config.yaml | 1 - 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/deployment/sandbox/flyte_generated.yaml b/deployment/sandbox/flyte_generated.yaml index 98527ec693..8e80ffc998 100644 --- a/deployment/sandbox/flyte_generated.yaml +++ b/deployment/sandbox/flyte_generated.yaml @@ -719,10 +719,9 @@ data: plugins: qubole: quboleTokenKey: "FLYTE_QUBOLE_CLIENT_TOKEN" - quboleLimit: 10 kind: ConfigMap metadata: - name: flyte-qubole-config-t7226b4tck + name: flyte-qubole-config-9tcd8mk2c2 namespace: flyte --- apiVersion: v1 @@ -964,7 +963,7 @@ spec: - --config - /etc/flyte/config/flyteadmin_config.yaml - serve - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent name: flyteadmin ports: @@ -1015,7 +1014,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - migrate - run - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent name: run-migrations volumeMounts: @@ -1030,7 +1029,7 @@ spec: - seed-projects - flytesnacks - flytetester - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent name: seed-projects volumeMounts: @@ -1043,7 +1042,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - clusterresource - sync - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent name: sync-cluster-resources volumeMounts: @@ -1119,7 +1118,7 @@ spec: labels: app: flytepropeller app.kubernetes.io/name: flytepropeller - app.kubernetes.io/version: 0.1.16 + app.kubernetes.io/version: 0.2.0 spec: containers: - args: @@ -1134,7 +1133,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: docker.io/lyft/flytepropeller:v0.1.16 + image: docker.io/lyft/flytepropeller:v0.2.0 imagePullPolicy: IfNotPresent name: flytepropeller ports: @@ -1158,7 +1157,7 @@ spec: serviceAccountName: flytepropeller volumes: - configMap: - name: flyte-qubole-config-t7226b4tck + name: flyte-qubole-config-9tcd8mk2c2 name: qubole-config-volume - configMap: name: flyte-container-config-5k78b9cm42 @@ -1439,7 +1438,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - clusterresource - sync - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent name: sync-cluster-resources volumeMounts: diff --git a/deployment/test/flyte_generated.yaml b/deployment/test/flyte_generated.yaml index 362007ca6d..298e7ef3e5 100644 --- a/deployment/test/flyte_generated.yaml +++ b/deployment/test/flyte_generated.yaml @@ -632,7 +632,7 @@ spec: - --config - /etc/flyte/config/flyteadmin_config.yaml - serve - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent name: flyteadmin ports: @@ -683,7 +683,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - migrate - run - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent name: run-migrations volumeMounts: @@ -698,7 +698,7 @@ spec: - seed-projects - flytesnacks - flytetester - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent name: seed-projects volumeMounts: @@ -711,7 +711,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - clusterresource - sync - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent name: sync-cluster-resources volumeMounts: @@ -750,7 +750,7 @@ spec: labels: app: flytepropeller app.kubernetes.io/name: flytepropeller - app.kubernetes.io/version: 0.1.16 + app.kubernetes.io/version: 0.2.0 spec: containers: - args: @@ -763,7 +763,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: docker.io/lyft/flytepropeller:v0.1.16 + image: docker.io/lyft/flytepropeller:v0.2.0 imagePullPolicy: IfNotPresent name: flytepropeller ports: @@ -1009,7 +1009,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - clusterresource - sync - image: docker.io/lyft/flyteadmin:v0.1.6 + image: docker.io/lyft/flyteadmin:v0.2.0 imagePullPolicy: IfNotPresent name: sync-cluster-resources volumeMounts: diff --git a/kustomize/overlays/sandbox/propeller/plugins/qubole/config.yaml b/kustomize/overlays/sandbox/propeller/plugins/qubole/config.yaml index b47ed7a705..ea34d2752b 100644 --- a/kustomize/overlays/sandbox/propeller/plugins/qubole/config.yaml +++ b/kustomize/overlays/sandbox/propeller/plugins/qubole/config.yaml @@ -1,4 +1,3 @@ plugins: qubole: quboleTokenKey: "FLYTE_QUBOLE_CLIENT_TOKEN" - quboleLimit: 10 From cfa4891cafb1c8084b0b93caf0f62e58fed832cd Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Tue, 28 Jan 2020 15:47:25 -0800 Subject: [PATCH 3/3] admin 0.2.1 --- deployment/sandbox/flyte_generated.yaml | 10 +++++----- deployment/test/flyte_generated.yaml | 10 +++++----- kustomize/base/admindeployment/deployment.yaml | 4 ++-- .../sandbox/admindeployment/admindeployment.yaml | 6 +++--- kustomize/overlays/sandbox/admindeployment/cron.yaml | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/deployment/sandbox/flyte_generated.yaml b/deployment/sandbox/flyte_generated.yaml index 8e80ffc998..f19af73191 100644 --- a/deployment/sandbox/flyte_generated.yaml +++ b/deployment/sandbox/flyte_generated.yaml @@ -963,7 +963,7 @@ spec: - --config - /etc/flyte/config/flyteadmin_config.yaml - serve - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent name: flyteadmin ports: @@ -1014,7 +1014,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - migrate - run - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent name: run-migrations volumeMounts: @@ -1029,7 +1029,7 @@ spec: - seed-projects - flytesnacks - flytetester - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent name: seed-projects volumeMounts: @@ -1042,7 +1042,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - clusterresource - sync - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent name: sync-cluster-resources volumeMounts: @@ -1438,7 +1438,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - clusterresource - sync - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent name: sync-cluster-resources volumeMounts: diff --git a/deployment/test/flyte_generated.yaml b/deployment/test/flyte_generated.yaml index 298e7ef3e5..aa6b4f1ed5 100644 --- a/deployment/test/flyte_generated.yaml +++ b/deployment/test/flyte_generated.yaml @@ -632,7 +632,7 @@ spec: - --config - /etc/flyte/config/flyteadmin_config.yaml - serve - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent name: flyteadmin ports: @@ -683,7 +683,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - migrate - run - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent name: run-migrations volumeMounts: @@ -698,7 +698,7 @@ spec: - seed-projects - flytesnacks - flytetester - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent name: seed-projects volumeMounts: @@ -711,7 +711,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - clusterresource - sync - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent name: sync-cluster-resources volumeMounts: @@ -1009,7 +1009,7 @@ spec: - /etc/flyte/config/flyteadmin_config.yaml - clusterresource - sync - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent name: sync-cluster-resources volumeMounts: diff --git a/kustomize/base/admindeployment/deployment.yaml b/kustomize/base/admindeployment/deployment.yaml index 9f89e50856..62fc3d44ee 100644 --- a/kustomize/base/admindeployment/deployment.yaml +++ b/kustomize/base/admindeployment/deployment.yaml @@ -29,7 +29,7 @@ spec: name: flyte-admin-config initContainers: - name: run-migrations - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "migrate", "run"] volumeMounts: @@ -37,7 +37,7 @@ spec: mountPath: /etc/flyte/config containers: - name: flyteadmin - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "serve"] ports: diff --git a/kustomize/overlays/sandbox/admindeployment/admindeployment.yaml b/kustomize/overlays/sandbox/admindeployment/admindeployment.yaml index 833ff9a345..f0e6bf6ed5 100644 --- a/kustomize/overlays/sandbox/admindeployment/admindeployment.yaml +++ b/kustomize/overlays/sandbox/admindeployment/admindeployment.yaml @@ -17,7 +17,7 @@ spec: 'until pg_isready -h postgres -p 5432; do echo waiting for database; sleep 2; done;'] - name: run-migrations - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "migrate", "run"] @@ -25,7 +25,7 @@ spec: - name: config-volume mountPath: /etc/flyte/config - name: seed-projects - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "migrate", "seed-projects", "flytesnacks", "flytetester"] @@ -33,7 +33,7 @@ spec: - name: config-volume mountPath: /etc/flyte/config - name: sync-cluster-resources - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "clusterresource", "sync"] volumeMounts: diff --git a/kustomize/overlays/sandbox/admindeployment/cron.yaml b/kustomize/overlays/sandbox/admindeployment/cron.yaml index 298523a4b5..d498aa5a29 100644 --- a/kustomize/overlays/sandbox/admindeployment/cron.yaml +++ b/kustomize/overlays/sandbox/admindeployment/cron.yaml @@ -12,7 +12,7 @@ spec: serviceAccountName: flyteadmin containers: - name: sync-cluster-resources - image: docker.io/lyft/flyteadmin:v0.2.0 + image: docker.io/lyft/flyteadmin:v0.2.1 imagePullPolicy: IfNotPresent command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "clusterresource", "sync"] volumeMounts: