Skip to content

Commit

Permalink
Update Flyte components (#3336)
Browse files Browse the repository at this point in the history
* Update Flyte Components

Signed-off-by: Flyte-Bot <[email protected]>

* Update release version and add changelog.

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Flyte-Bot <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: eapolinario <[email protected]>
  • Loading branch information
flyte-bot and eapolinario authored Feb 14, 2023
1 parent 00c516f commit d60c9af
Show file tree
Hide file tree
Showing 28 changed files with 340 additions and 358 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG/CHANGELOG-v1.4.0-b0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Flyte v1.4.0-b0 Changelog

[Pod Templates](https://github.com/flyteorg/flyte/issues/3123) and changes to the sandbox experience (mainly around configuration reloading).

A full changelog is going to come in the official release.
12 changes: 6 additions & 6 deletions charts/flyte-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ helm install gateway bitnami/contour -n flyte
| configmap.clusters.clusterConfigs | list | `[]` | |
| configmap.clusters.labelClusterMap | object | `{}` | |
| configmap.console | object | `{"BASE_URL":"/console","CONFIG_DIR":"/etc/flyte/config"}` | Configuration for Flyte console UI |
| configmap.copilot | object | `{"plugins":{"k8s":{"co-pilot":{"image":"cr.flyte.org/flyteorg/flytecopilot:v0.0.24","name":"flyte-copilot-","start-timeout":"30s"}}}}` | Copilot configuration |
| configmap.copilot.plugins.k8s.co-pilot | object | `{"image":"cr.flyte.org/flyteorg/flytecopilot:v0.0.24","name":"flyte-copilot-","start-timeout":"30s"}` | Structure documented [here](https://pkg.go.dev/github.com/lyft/[email protected]/go/tasks/pluginmachinery/flytek8s/config#FlyteCoPilotConfig) |
| configmap.copilot | object | `{"plugins":{"k8s":{"co-pilot":{"image":"cr.flyte.org/flyteorg/flytecopilot:v0.0.28","name":"flyte-copilot-","start-timeout":"30s"}}}}` | Copilot configuration |
| configmap.copilot.plugins.k8s.co-pilot | object | `{"image":"cr.flyte.org/flyteorg/flytecopilot:v0.0.28","name":"flyte-copilot-","start-timeout":"30s"}` | Structure documented [here](https://pkg.go.dev/github.com/lyft/[email protected]/go/tasks/pluginmachinery/flytek8s/config#FlyteCoPilotConfig) |
| configmap.core | object | `{"manager":{"pod-application":"flytepropeller","pod-template-container-name":"flytepropeller","pod-template-name":"flytepropeller-template"},"propeller":{"downstream-eval-duration":"30s","enable-admin-launcher":true,"leader-election":{"enabled":true,"lease-duration":"15s","lock-config-map":{"name":"propeller-leader","namespace":"flyte"},"renew-deadline":"10s","retry-period":"2s"},"limit-namespace":"all","max-workflow-retries":30,"metadata-prefix":"metadata/propeller","metrics-prefix":"flyte","prof-port":10254,"queue":{"batch-size":-1,"batching-interval":"2s","queue":{"base-delay":"5s","capacity":1000,"max-delay":"120s","rate":100,"type":"maxof"},"sub-queue":{"capacity":100,"rate":10,"type":"bucket"},"type":"batch"},"rawoutput-prefix":"s3://my-s3-bucket/","workers":4,"workflow-reeval-duration":"30s"},"webhook":{"certDir":"/etc/webhook/certs","serviceName":"flyte-pod-webhook"}}` | Core propeller configuration |
| configmap.core.manager | object | `{"pod-application":"flytepropeller","pod-template-container-name":"flytepropeller","pod-template-name":"flytepropeller-template"}` | follows the structure specified [here](https://pkg.go.dev/github.com/flyteorg/flytepropeller/manager/config#Config). |
| configmap.core.propeller | object | `{"downstream-eval-duration":"30s","enable-admin-launcher":true,"leader-election":{"enabled":true,"lease-duration":"15s","lock-config-map":{"name":"propeller-leader","namespace":"flyte"},"renew-deadline":"10s","retry-period":"2s"},"limit-namespace":"all","max-workflow-retries":30,"metadata-prefix":"metadata/propeller","metrics-prefix":"flyte","prof-port":10254,"queue":{"batch-size":-1,"batching-interval":"2s","queue":{"base-delay":"5s","capacity":1000,"max-delay":"120s","rate":100,"type":"maxof"},"sub-queue":{"capacity":100,"rate":10,"type":"bucket"},"type":"batch"},"rawoutput-prefix":"s3://my-s3-bucket/","workers":4,"workflow-reeval-duration":"30s"}` | follows the structure specified [here](https://pkg.go.dev/github.com/flyteorg/flytepropeller/pkg/controller/config). |
Expand Down Expand Up @@ -119,7 +119,7 @@ helm install gateway bitnami/contour -n flyte
| datacatalog.extraArgs | object | `{}` | Appends extra command line arguments to the main command |
| datacatalog.image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy |
| datacatalog.image.repository | string | `"cr.flyte.org/flyteorg/datacatalog"` | Docker image for Datacatalog deployment |
| datacatalog.image.tag | string | `"v1.0.41"` | Docker image tag |
| datacatalog.image.tag | string | `"v1.0.43"` | Docker image tag |
| datacatalog.nodeSelector | object | `{}` | nodeSelector for Datacatalog deployment |
| datacatalog.podAnnotations | object | `{}` | Annotations for Datacatalog pods |
| datacatalog.priorityClassName | string | `""` | Sets priorityClassName for datacatalog pod(s). |
Expand Down Expand Up @@ -151,7 +151,7 @@ helm install gateway bitnami/contour -n flyte
| flyteadmin.extraArgs | object | `{}` | Appends extra command line arguments to the serve command |
| flyteadmin.image.pullPolicy | string | `"IfNotPresent"` | |
| flyteadmin.image.repository | string | `"cr.flyte.org/flyteorg/flyteadmin"` | Docker image for Flyteadmin deployment |
| flyteadmin.image.tag | string | `"v1.1.70"` | |
| flyteadmin.image.tag | string | `"v1.1.72"` | |
| flyteadmin.initialProjects | list | `["flytesnacks","flytetester","flyteexamples"]` | Initial projects to create |
| flyteadmin.nodeSelector | object | `{}` | nodeSelector for Flyteadmin deployment |
| flyteadmin.podAnnotations | object | `{}` | Annotations for Flyteadmin pods |
Expand Down Expand Up @@ -193,7 +193,7 @@ helm install gateway bitnami/contour -n flyte
| flytepropeller.extraArgs | object | `{}` | Appends extra command line arguments to the main command |
| flytepropeller.image.pullPolicy | string | `"IfNotPresent"` | |
| flytepropeller.image.repository | string | `"cr.flyte.org/flyteorg/flytepropeller"` | Docker image for Flytepropeller deployment |
| flytepropeller.image.tag | string | `"v1.1.62"` | |
| flytepropeller.image.tag | string | `"v1.1.64"` | |
| flytepropeller.manager | bool | `false` | |
| flytepropeller.nodeSelector | object | `{}` | nodeSelector for Flytepropeller deployment |
| flytepropeller.podAnnotations | object | `{}` | Annotations for Flytepropeller pods |
Expand All @@ -213,7 +213,7 @@ helm install gateway bitnami/contour -n flyte
| flytescheduler.configPath | string | `"/etc/flyte/config/*.yaml"` | Default regex string for searching configuration files |
| flytescheduler.image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy |
| flytescheduler.image.repository | string | `"cr.flyte.org/flyteorg/flytescheduler"` | Docker image for Flytescheduler deployment |
| flytescheduler.image.tag | string | `"v1.1.70"` | Docker image tag |
| flytescheduler.image.tag | string | `"v1.1.72"` | Docker image tag |
| flytescheduler.nodeSelector | object | `{}` | nodeSelector for Flytescheduler deployment |
| flytescheduler.podAnnotations | object | `{}` | Annotations for Flytescheduler pods |
| flytescheduler.priorityClassName | string | `""` | Sets priorityClassName for flyte scheduler pod(s). |
Expand Down
10 changes: 5 additions & 5 deletions charts/flyte-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ flyteadmin:
image:
# -- Docker image for Flyteadmin deployment
repository: cr.flyte.org/flyteorg/flyteadmin # FLYTEADMIN_IMAGE
tag: v1.1.70 # FLYTEADMIN_TAG
tag: v1.1.72 # FLYTEADMIN_TAG
pullPolicy: IfNotPresent
# -- Additional flyteadmin container environment variables
#
Expand Down Expand Up @@ -97,7 +97,7 @@ flytescheduler:
# -- Docker image for Flytescheduler deployment
repository: cr.flyte.org/flyteorg/flytescheduler # FLYTESCHEDULER_IMAGE
# -- Docker image tag
tag: v1.1.70 # FLYTESCHEDULER_TAG
tag: v1.1.72 # FLYTESCHEDULER_TAG
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Flytescheduler deployment
Expand Down Expand Up @@ -151,7 +151,7 @@ datacatalog:
# -- Docker image for Datacatalog deployment
repository: cr.flyte.org/flyteorg/datacatalog # DATACATALOG_IMAGE
# -- Docker image tag
tag: v1.0.41 # DATACATALOG_TAG
tag: v1.0.43 # DATACATALOG_TAG
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Datacatalog deployment
Expand Down Expand Up @@ -212,7 +212,7 @@ flytepropeller:
image:
# -- Docker image for Flytepropeller deployment
repository: cr.flyte.org/flyteorg/flytepropeller # FLYTEPROPELLER_IMAGE
tag: v1.1.62 # FLYTEPROPELLER_TAG
tag: v1.1.64 # FLYTEPROPELLER_TAG
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Flytepropeller deployment
resources:
Expand Down Expand Up @@ -595,7 +595,7 @@ configmap:
# -- Structure documented [here](https://pkg.go.dev/github.com/lyft/[email protected]/go/tasks/pluginmachinery/flytek8s/config#FlyteCoPilotConfig)
co-pilot:
name: flyte-copilot-
image: cr.flyte.org/flyteorg/flytecopilot:v0.0.24 # FLYTECOPILOT_IMAGE
image: cr.flyte.org/flyteorg/flytecopilot:v0.0.28 # FLYTECOPILOT_IMAGE
start-timeout: 30s

# -- Core propeller configuration
Expand Down
16 changes: 8 additions & 8 deletions charts/flyte/README.md

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions charts/flyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ flyte:
# -- Docker image for Flyteadmin deployment
repository: cr.flyte.org/flyteorg/flyteadmin # FLYTEADMIN_IMAGE
# -- Docker image tag
tag: v1.1.70 # FLYTEADMIN_TAG
tag: v1.1.72 # FLYTEADMIN_TAG
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Additional flyteadmin container environment variables
Expand Down Expand Up @@ -84,7 +84,7 @@ flyte:
# -- Docker image for Flytescheduler deployment
repository: cr.flyte.org/flyteorg/flytescheduler # FLYTESCHEDULER_IMAGE
# -- Docker image tag
tag: v1.1.70 # FLYTESCHEDULER_TAG
tag: v1.1.72 # FLYTESCHEDULER_TAG
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Flytescheduler deployment
Expand Down Expand Up @@ -129,7 +129,7 @@ flyte:
# -- Docker image for Datacatalog deployment
repository: cr.flyte.org/flyteorg/datacatalog # DATACATALOG_IMAGE
# -- Docker image tag
tag: v1.0.41 # DATACATALOG_TAG
tag: v1.0.43 # DATACATALOG_TAG
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Datacatalog deployment
Expand Down Expand Up @@ -178,7 +178,7 @@ flyte:
# -- Docker image for Flytepropeller deployment
repository: cr.flyte.org/flyteorg/flytepropeller # FLYTEPROPELLER_IMAGE
# -- Docker image tag
tag: v1.1.62 # FLYTEPROPELLER_TAG
tag: v1.1.64 # FLYTEPROPELLER_TAG
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Flytepropeller deployment
Expand Down Expand Up @@ -472,7 +472,7 @@ flyte:
# -- Structure documented [here](https://pkg.go.dev/github.com/lyft/[email protected]/go/tasks/pluginmachinery/flytek8s/config#FlyteCoPilotConfig)
co-pilot:
name: flyte-copilot-
image: cr.flyte.org/flyteorg/flytecopilot:v0.0.24 # FLYTECOPILOT_IMAGE
image: cr.flyte.org/flyteorg/flytecopilot:v0.0.28 # FLYTECOPILOT_IMAGE
start-timeout: 30s

# -- Core propeller configuration
Expand Down
30 changes: 15 additions & 15 deletions deployment/eks/flyte_aws_scheduler_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ data:
plugins:
k8s:
co-pilot:
image: cr.flyte.org/flyteorg/flytecopilot:v0.0.24
image: cr.flyte.org/flyteorg/flytecopilot:v0.0.28
name: flyte-copilot-
start-timeout: 30s
core.yaml: |
Expand Down Expand Up @@ -868,7 +868,7 @@ spec:
- /etc/flyte/config/*.yaml
- migrate
- run
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.70"
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.72"
imagePullPolicy: "IfNotPresent"
name: run-migrations
volumeMounts:
Expand All @@ -885,7 +885,7 @@ spec:
- flytesnacks
- flytetester
- flyteexamples
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.70"
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.72"
imagePullPolicy: "IfNotPresent"
name: seed-projects
volumeMounts:
Expand All @@ -899,7 +899,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.70"
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.72"
imagePullPolicy: "IfNotPresent"
name: sync-cluster-resources
volumeMounts:
Expand All @@ -912,7 +912,7 @@ spec:
- mountPath: /etc/secrets/
name: admin-secrets
- name: generate-secrets
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.70"
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.72"
imagePullPolicy: "IfNotPresent"
command: ["/bin/sh", "-c"]
args:
Expand All @@ -935,7 +935,7 @@ spec:
- --config
- /etc/flyte/config/*.yaml
- serve
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.70"
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.72"
imagePullPolicy: "IfNotPresent"
name: flyteadmin
ports:
Expand Down Expand Up @@ -1036,7 +1036,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- run
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.70"
image: "cr.flyte.org/flyteorg/flyteadmin:v1.1.72"
imagePullPolicy: "IfNotPresent"
name: sync-cluster-resources
volumeMounts:
Expand Down Expand Up @@ -1156,7 +1156,7 @@ spec:
- /etc/datacatalog/config/*.yaml
- migrate
- run
image: "cr.flyte.org/flyteorg/datacatalog:v1.0.41"
image: "cr.flyte.org/flyteorg/datacatalog:v1.0.43"
imagePullPolicy: "IfNotPresent"
name: run-migrations
volumeMounts:
Expand All @@ -1170,7 +1170,7 @@ spec:
- --config
- /etc/datacatalog/config/*.yaml
- serve
image: "cr.flyte.org/flyteorg/datacatalog:v1.0.41"
image: "cr.flyte.org/flyteorg/datacatalog:v1.0.43"
imagePullPolicy: "IfNotPresent"
name: datacatalog
ports:
Expand Down Expand Up @@ -1229,7 +1229,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "123b14fa527f432b1b68d510c4423ab76f657aec5cebb2f8b9c16f477d4bc39"
configChecksum: "ca9c48eb21423b6a8433aaa4a1451213cbbf3c1c5d856225b64f28e9a44cdb6"
labels:
app.kubernetes.io/name: flytepropeller
app.kubernetes.io/instance: flyte
Expand All @@ -1255,7 +1255,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: "cr.flyte.org/flyteorg/flytepropeller:v1.1.62"
image: "cr.flyte.org/flyteorg/flytepropeller:v1.1.64"
imagePullPolicy: "IfNotPresent"
name: flytepropeller
ports:
Expand Down Expand Up @@ -1309,9 +1309,9 @@ spec:
labels:
app: flyte-pod-webhook
app.kubernetes.io/name: flyte-pod-webhook
app.kubernetes.io/version: v1.1.62
app.kubernetes.io/version: v1.1.64
annotations:
configChecksum: "123b14fa527f432b1b68d510c4423ab76f657aec5cebb2f8b9c16f477d4bc39"
configChecksum: "ca9c48eb21423b6a8433aaa4a1451213cbbf3c1c5d856225b64f28e9a44cdb6"
spec:
securityContext:
fsGroup: 65534
Expand All @@ -1320,7 +1320,7 @@ spec:
serviceAccountName: flyte-pod-webhook
initContainers:
- name: generate-secrets
image: "cr.flyte.org/flyteorg/flytepropeller:v1.1.62"
image: "cr.flyte.org/flyteorg/flytepropeller:v1.1.64"
imagePullPolicy: "IfNotPresent"
command:
- flytepropeller
Expand All @@ -1343,7 +1343,7 @@ spec:
mountPath: /etc/flyte/config
containers:
- name: webhook
image: "cr.flyte.org/flyteorg/flytepropeller:v1.1.62"
image: "cr.flyte.org/flyteorg/flytepropeller:v1.1.64"
imagePullPolicy: "IfNotPresent"
command:
- flytepropeller
Expand Down
22 changes: 11 additions & 11 deletions deployment/eks/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8640,7 +8640,7 @@ spec:
- --config
- /etc/datacatalog/config/*.yaml
- serve
image: cr.flyte.org/flyteorg/datacatalog:v1.0.41
image: cr.flyte.org/flyteorg/datacatalog:v1.0.43
imagePullPolicy: IfNotPresent
name: datacatalog
ports:
Expand All @@ -8663,7 +8663,7 @@ spec:
- /etc/datacatalog/config/*.yaml
- migrate
- run
image: cr.flyte.org/flyteorg/datacatalog:v1.0.41
image: cr.flyte.org/flyteorg/datacatalog:v1.0.43
imagePullPolicy: IfNotPresent
name: run-migrations
volumeMounts:
Expand Down Expand Up @@ -8724,7 +8724,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: cr.flyte.org/flyteorg/flytepropeller:v1.1.62
image: cr.flyte.org/flyteorg/flytepropeller:v1.1.64
imagePullPolicy: IfNotPresent
name: webhook
volumeMounts:
Expand All @@ -8751,7 +8751,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: cr.flyte.org/flyteorg/flytepropeller:v1.1.62
image: cr.flyte.org/flyteorg/flytepropeller:v1.1.64
imagePullPolicy: IfNotPresent
name: generate-secrets
volumeMounts:
Expand Down Expand Up @@ -8799,7 +8799,7 @@ spec:
- --config
- /etc/flyte/config/*.yaml
- serve
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.70
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.72
imagePullPolicy: IfNotPresent
name: flyteadmin
ports:
Expand Down Expand Up @@ -8846,7 +8846,7 @@ spec:
- /etc/flyte/config/*.yaml
- migrate
- run
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.70
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.72
imagePullPolicy: IfNotPresent
name: run-migrations
volumeMounts:
Expand All @@ -8863,7 +8863,7 @@ spec:
- flytesnacks
- flytetester
- flyteexamples
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.70
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.72
imagePullPolicy: IfNotPresent
name: seed-projects
volumeMounts:
Expand All @@ -8877,7 +8877,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.70
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.72
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
Expand All @@ -8897,7 +8897,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.70
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.72
imagePullPolicy: IfNotPresent
name: generate-secrets
volumeMounts:
Expand Down Expand Up @@ -9002,7 +9002,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: cr.flyte.org/flyteorg/flytepropeller:v1.1.62
image: cr.flyte.org/flyteorg/flytepropeller:v1.1.64
imagePullPolicy: IfNotPresent
name: flytepropeller
ports:
Expand Down Expand Up @@ -9270,7 +9270,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.70
image: cr.flyte.org/flyteorg/flyteadmin:v1.1.72
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
Expand Down
Loading

0 comments on commit d60c9af

Please sign in to comment.