Repository navigation
Conversation
Signed-off-by: Yuteng Chen <a08h0283@gmail.com>
Signed-off-by: Yuteng Chen <a08h0283@gmail.com>
0yukali0
marked this pull request as ready for review
October 30, 2026 23:36
Signed-off-by: Yuteng Chen <a08h0283@gmail.com>
…ng position Signed-off-by: Yuteng Chen <a08h0283@gmail.com>
Signed-off-by: Yuteng Chen <a08h0283@gmail.com>
…command Signed-off-by: Yuteng Chen <a08h0283@gmail.com>
0yukali0
marked this pull request as draft
October 31, 2026 08:30
…flyte from the mac Signed-off-by: Yuteng Chen <a08h0283@gmail.com>
0yukali0
marked this pull request as ready for review
October 31, 2026 10:36
|
👀 |
pingsutw
approved these changes
Nov 3, 2026
Icewind52
reviewed
Nov 3, 2026
| `FLYTE_DEV=True` is required when you intend to run the manager locally — it disables the in-cluster manager so your local process can take over. The value is case-insensitive. `make devbox-run` writes a kubeconfig pointing at the devbox cluster in global kubeconfig, so `kubectl` will target it automatically. | ||
|
|
||
| `APPLE_SILICON=True` activates the Apple MLX bridge (requires an M-series Mac). | ||
|
|
Contributor
There was a problem hiding this comment.
nit: make -C manager run needs APPLE_SILICON=True too, but CONTRIBUTING.md doesn't mention it. Without the flag, the manager uses plain config.yaml even with the bridge running, so Apple Silicon tasks fail with APPLE_SILICON_NOT_AVAILABLE, and the message says the backend has no bridge. Could we add make -C manager run APPLE_SILICON=True to this doc?
popojk
reviewed
Nov 3, 2026
| FLYTE_PYTHON ?= uv run --isolated --no-project --with flyte python | ||
| APPLE_SILICON_DIR := $(HOME)/.flyte/apple-silicon | ||
| APPLE_SILICON_PORT_ENV = --env FLYTE_DEVBOX_APPLE_SILICON_PORT=$(APPLE_SILICON_PORT) | ||
| APPLE_SILICON_SECRET_ENV = --env FLYTE_DEVBOX_APPLE_SILICON_TOKEN_SECRET=$$(cat $(APPLE_SILICON_DIR)/secret) |
Contributor
There was a problem hiding this comment.
When we use flyte start devbox to execute on apple silicon, we will start the devbox on a local reachable only port here to prevent access from others devices in the same intranet. We should do the same here.
| FLYTE_PYTHON ?= uv run --isolated --no-project --with flyte python | ||
| APPLE_SILICON_DIR := $(HOME)/.flyte/apple-silicon | ||
| APPLE_SILICON_PORT_ENV = --env FLYTE_DEVBOX_APPLE_SILICON_PORT=$(APPLE_SILICON_PORT) | ||
| APPLE_SILICON_SECRET_ENV = --env FLYTE_DEVBOX_APPLE_SILICON_TOKEN_SECRET=$$(cat $(APPLE_SILICON_DIR)/secret) |
Contributor
There was a problem hiding this comment.
Suggested change
| APPLE_SILICON_SECRET_ENV = --env FLYTE_DEVBOX_APPLE_SILICON_TOKEN_SECRET=$$(cat $(APPLE_SILICON_DIR)/secret) | |
| APPLE_SILICON_SECRET_ENV = --env FLYTE_DEVBOX_APPLE_SILICON_TOKEN_SECRET=$$(cat $(APPLE_SILICON_DIR)/secret) | |
| APPLE_SILICON_PUBLISH_IP = $(if $(filter True,$(APPLE_SILICON)),127.0.0.1:) |
Comment on lines
230
to
236
| --publish "6443":"6443" \ | ||
| --publish "30000:30000" \ | ||
| --publish "30001:5432" \ | ||
| --publish "30002:30002" \ | ||
| --publish "30080:30080" \ | ||
| --publish "30081:30081" \ | ||
| --publish "30300:30300" \ |
Contributor
There was a problem hiding this comment.
Suggested change
| --publish "$(APPLE_SILICON_PUBLISH_IP)6443":"6443" \ | |
| --publish "$(APPLE_SILICON_PUBLISH_IP)30000:30000" \ | |
| --publish "$(APPLE_SILICON_PUBLISH_IP)30001:5432" \ | |
| --publish "$(APPLE_SILICON_PUBLISH_IP)30002:30002" \ | |
| --publish "$(APPLE_SILICON_PUBLISH_IP)30080:30080" \ | |
| --publish "$(APPLE_SILICON_PUBLISH_IP)30081:30081" \ | |
| --publish "$(APPLE_SILICON_PUBLISH_IP)30300:30300" \ |
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tracking issue
Close #8274
Why are the changes needed?
make devbox-buildandmake devbox-rundo not support an Apple Silicondevelopment environment on a Mac, while flyte-sdk does (
flyte start devbox --apple-silicon).development environment with make commands, instead of switching between make and the flyte-sdk CLI.
This gives a simple way to build a development environment on a Mac.
What changes were proposed in this pull request?
make run/make run-devso tasks reach S3 and the manager from both the pod and the Mac.How was this patch tested?
Labels
This is important to improve the readability of release notes.
Setup process
Two option
Screenshots
After setup process done, run the apple example in the flyte-sdk.
Check all the applicable boxes
Related PRs
Stack
Docs link