Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/flyteorg/flyte into updat…
Browse files Browse the repository at this point in the history
…e-pyflyte-serve-agent-command

Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed Jan 31, 2024
2 parents 555f62b + bce5d8c commit 3dd96f0
Show file tree
Hide file tree
Showing 517 changed files with 90,380 additions and 97,680 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flyteidl-buf-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish flyteidl Buf Package
on:
push:
branches:
- artifacts-shell
- artifacts-shell-2
- artifacts
- master
paths:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/flyteidl-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ jobs:
with:
component: flyteidl
go-version: ${{ needs.unpack-envvars.outputs.go-version }}
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
16 changes: 10 additions & 6 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3.11"
python: "mambaforge-22.9"
jobs:
post_install:
- conda-lock install --name $READTHEDOCS_VERSION monodocs-environment.lock.yaml
- conda info
- conda env list
- conda list

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: rsts/conf.py
configuration: docs/conf.py

# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: doc-requirements.in
conda:
environment: docs/build-environment.yaml
3 changes: 3 additions & 0 deletions CHANGELOG/CHANGELOG-v1.10.7-b0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Flyte v1.10.7-b0 Release

Beta release.
3 changes: 3 additions & 0 deletions CHANGELOG/CHANGELOG-v1.10.7-b1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Flyte v1.10.7-b1 Release

Pre-release testing.
3 changes: 3 additions & 0 deletions CHANGELOG/CHANGELOG-v1.10.7-b2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Flyte v1.10.7-b2 Release

Pre-release testing.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Join the likes of LinkedIn, Spotify, Freenome, Pachama, Warner Bros. and many ot

## How to stay involved
📆 [Weekly office hours](https://calendly.com/flyte-office-hours-01/30min): Live informal sessions with the Flyte team held every week. Book a 30-minute slot and get your questions answered. <br>
👥 [Biweekly community sync](https://www.addevent.com/event/EA7823958): A biweekly event where the Flyte team provides updates on the project and community members can share their progress and ask questions. <br>
👥 [Monthly community sync](https://www.addevent.com/event/EA7823958): Happening the first Tuesday of every month, this is where the Flyte team provides updates on the project, and community members can share their progress and ask questions. <br>
💬 [Slack](https://slack.flyte.org/): Join the Flyte community on Slack to chat with other users, ask questions, and get help. <br>
⚠️ [Newsletter](https://lists.lfaidata.foundation/g/flyte-announce/join): join this group to receive the Flyte Monthly newsletter. <br>
📹 [Youtube](https://www.youtube.com/channel/UCNduEoLOToNo3nFVly-vUTQ): Tune into panel discussions, customer success stories, community updates and feature deep dives. <br>
Expand Down
2 changes: 1 addition & 1 deletion charts/flyte-binary/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Chart for basic single Flyte executable deployment
| configuration.auth.oidc.clientId | string | `""` | |
| configuration.auth.oidc.clientSecret | string | `""` | |
| configuration.co-pilot.image.repository | string | `"cr.flyte.org/flyteorg/flytecopilot"` | |
| configuration.co-pilot.image.tag | string | `"v1.10.6"` | |
| configuration.co-pilot.image.tag | string | `"v1.10.7-b2"` | |
| configuration.database.dbname | string | `"flyte"` | |
| configuration.database.host | string | `"127.0.0.1"` | |
| configuration.database.options | string | `"sslmode=disable"` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/flyte-binary/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ configuration:
# repository CoPilot sidecar image repository
repository: cr.flyte.org/flyteorg/flytecopilot # FLYTECOPILOT_IMAGE
# tag CoPilot sidecar image tag
tag: v1.10.6 # FLYTECOPILOT_TAG
tag: v1.10.7-b2 # FLYTECOPILOT_TAG
# agentService Flyte Agent configuration
agentService:
defaultAgent:
Expand Down
29 changes: 20 additions & 9 deletions charts/flyte-core/README.md

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions charts/flyte-core/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ helm.sh/chart: {{ include "flyte.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}

{{- define "flyteadmin.podLabels" -}}
{{ include "flyteadmin.labels" . }}
{{- with .Values.flyteadmin.podLabels }}
{{ toYaml . }}
{{- end }}
{{- end -}}

{{- define "flytescheduler.name" -}}
flytescheduler
{{- end -}}
Expand All @@ -44,6 +51,13 @@ helm.sh/chart: {{ include "flyte.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}

{{- define "flytescheduler.podLabels" -}}
{{ include "flytescheduler.labels" . }}
{{- with .Values.flytescheduler.podLabels }}
{{ toYaml . }}
{{- end }}
{{- end -}}

{{- define "flyteclusterresourcesync.name" -}}
flyteclusterresourcesync
{{- end -}}
Expand All @@ -59,6 +73,13 @@ helm.sh/chart: {{ include "flyte.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}

{{- define "flyteclusterresourcesync.podLabels" -}}
{{ include "flyteclusterresourcesync.labels" . }}
{{- with .Values.cluster_resource_manager.podLabels }}
{{ toYaml . }}
{{- end }}
{{- end -}}

{{- define "datacatalog.name" -}}
datacatalog
{{- end -}}
Expand All @@ -74,6 +95,13 @@ helm.sh/chart: {{ include "flyte.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}

{{- define "datacatalog.podLabels" -}}
{{ include "datacatalog.labels" . }}
{{- with .Values.datacatalog.podLabels }}
{{ toYaml . }}
{{- end }}
{{- end -}}

{{- define "flyteagent.name" -}}
flyteagent
{{- end -}}
Expand All @@ -89,6 +117,13 @@ helm.sh/chart: {{ include "flyte.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}

{{- define "flyteagent.podLabels" -}}
{{ include "flyteagent.labels" . }}
{{- with .Values.flyteagent.podLabels }}
{{ toYaml . }}
{{- end }}
{{- end -}}

{{- define "flytepropeller.name" -}}
flytepropeller
{{- end -}}
Expand All @@ -104,6 +139,13 @@ helm.sh/chart: {{ include "flyte.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}

{{- define "flytepropeller.podLabels" -}}
{{ include "flytepropeller.labels" . }}
{{- with .Values.flytepropeller.podLabels }}
{{ toYaml . }}
{{- end }}
{{- end -}}

{{- define "flytepropeller-manager.name" -}}
flytepropeller-manager
{{- end -}}
Expand All @@ -119,6 +161,13 @@ helm.sh/chart: {{ include "flyte.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}

{{- define "flytepropeller-manager.podLabels" -}}
{{ include "flytepropeller-manager.labels" . }}
{{- with .Values.flytepropeller.podLabels }}
{{ toYaml . }}
{{- end }}
{{- end -}}

{{- define "flyte-pod-webhook.name" -}}
flyte-pod-webhook
{{- end -}}
Expand All @@ -139,6 +188,13 @@ helm.sh/chart: {{ include "flyte.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}

{{- define "flyteconsole.podLabels" -}}
{{ include "flyteconsole.labels" . }}
{{- with .Values.flyteconsole.podLabels }}
{{ toYaml . }}
{{- end }}
{{- end -}}

# Optional blocks for secret mount

{{- define "databaseSecret.volume" -}}
Expand Down
2 changes: 1 addition & 1 deletion charts/flyte-core/templates/admin/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
{{- with .Values.flyteadmin.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels: {{ include "flyteadmin.labels" . | nindent 8 }}
labels: {{ include "flyteadmin.podLabels" . | nindent 8 }}
spec:
securityContext:
fsGroup: 65534
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
{{- with .Values.cluster_resource_manager.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels: {{ include "flyteclusterresourcesync.labels" . | nindent 8 }}
labels: {{ include "flyteclusterresourcesync.podLabels" . | nindent 8 }}
spec:
containers:
- command:
Expand All @@ -25,6 +25,12 @@ spec:
- {{ .Values.flyteadmin.configPath }}
- clusterresource
- run
{{- if .Values.cluster_resource_manager.podEnv }}
env:
{{- with .Values.cluster_resource_manager.podEnv }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- end }}
image: "{{ .Values.flyteadmin.image.repository }}:{{ .Values.flyteadmin.image.tag }}"
imagePullPolicy: "{{ .Values.flyteadmin.image.pullPolicy }}"
name: sync-cluster-resources
Expand Down
9 changes: 7 additions & 2 deletions charts/flyte-core/templates/console/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
{{- with .Values.flyteconsole.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels: {{ include "flyteconsole.labels" . | nindent 8 }}
labels: {{ include "flyteconsole.podLabels" . | nindent 8 }}
spec:
securityContext:
runAsUser: 1000
Expand All @@ -33,13 +33,18 @@ spec:
name: flyte-console-config
ports:
- containerPort: 8080
{{- if .Values.flyteconsole.ga.enabled }}
env:
{{- if .Values.flyteconsole.ga.enabled }}
- name: ENABLE_GA
value: "{{ .Values.flyteconsole.ga.enabled }}"
- name: GA_TRACKING_ID
value: "{{ .Values.flyteconsole.ga.tracking_id }}"
{{- end }}
{{- if .Values.flyteconsole.podEnv -}}
{{- with .Values.flyteconsole.podEnv }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
resources: {{ toYaml .Values.flyteconsole.resources | nindent 10 }}
volumeMounts:
- mountPath: /srv/flyte
Expand Down
8 changes: 7 additions & 1 deletion charts/flyte-core/templates/datacatalog/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
{{- with .Values.datacatalog.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels: {{ include "datacatalog.labels" . | nindent 8 }}
labels: {{ include "datacatalog.podLabels" . | nindent 8 }}
spec:
securityContext:
fsGroup: 1001
Expand Down Expand Up @@ -47,6 +47,12 @@ spec:
{{- with .Values.datacatalog.extraArgs }}
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
{{- if .Values.datacatalog.podEnv }}
env:
{{- with .Values.datacatalog.podEnv }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
image: "{{ .Values.datacatalog.image.repository }}:{{ .Values.datacatalog.image.tag }}"
imagePullPolicy: "{{ .Values.datacatalog.image.pullPolicy }}"
name: datacatalog
Expand Down
8 changes: 7 additions & 1 deletion charts/flyte-core/templates/flytescheduler/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
{{- with .Values.flytescheduler.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels: {{ include "flytescheduler.labels" . | nindent 8 }}
labels: {{ include "flytescheduler.podLabels" . | nindent 8 }}
spec:
securityContext:
fsGroup: 65534
Expand Down Expand Up @@ -48,6 +48,12 @@ spec:
- run
- --config
- {{ .Values.flytescheduler.configPath }}
{{- if .Values.flytescheduler.podEnv }}
env:
{{- with .Values.flytescheduler.podEnv -}}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
image: "{{ .Values.flytescheduler.image.repository }}:{{ .Values.flytescheduler.image.tag }}"
imagePullPolicy: "{{ .Values.flytescheduler.image.pullPolicy }}"
name: flytescheduler
Expand Down
9 changes: 7 additions & 2 deletions charts/flyte-core/templates/propeller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.flytepropeller.manager }}
labels: {{ include "flytepropeller-manager.labels" . | nindent 8 }}
labels: {{ include "flytepropeller-manager.podLabels" . | nindent 8 }}
{{- else }}
labels: {{ include "flytepropeller.labels" . | nindent 8 }}
labels: {{ include "flytepropeller.podLabels" . | nindent 8 }}
{{- end }}
spec:
securityContext:
Expand Down Expand Up @@ -65,6 +65,11 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
{{- if .Values.flytepropeller.podEnv -}}
{{- with .Values.flytepropeller.podEnv -}}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
image: "{{ .Values.flytepropeller.image.repository }}:{{ .Values.flytepropeller.image.tag }}"
imagePullPolicy: "{{ .Values.flytepropeller.image.pullPolicy }}"
{{- if .Values.flytepropeller.manager }}
Expand Down
12 changes: 10 additions & 2 deletions charts/flyte-core/templates/propeller/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ spec:
app: {{ template "flyte-pod-webhook.name" . }}
app.kubernetes.io/name: {{ template "flyte-pod-webhook.name" . }}
app.kubernetes.io/version: {{ .Values.flytepropeller.image.tag }}
{{- with .Values.flytepropeller.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
configChecksum: {{ include (print .Template.BasePath "/propeller/configmap.yaml") . | sha256sum | trunc 63 | quote }}
{{- with .Values.flyteadmin.podAnnotations }}
{{- with .Values.flytepropeller.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
Expand Down Expand Up @@ -60,7 +63,7 @@ spec:
fieldPath: metadata.namespace
volumeMounts:
- name: config-volume
mountPath: /etc/flyte/config
mountPath: /etc/flyte/config
{{- end }}
containers:
- name: webhook
Expand All @@ -81,6 +84,11 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
{{- if .Values.flytepropeller.podEnv -}}
{{- with .Values.flytepropeller.podEnv -}}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
volumeMounts:
- name: config-volume
mountPath: /etc/flyte/config
Expand Down
Loading

0 comments on commit 3dd96f0

Please sign in to comment.