Skip to content

[V2] Rename flyte-sandbox to flyte-demo and simplify pod names#7170

Merged
pingsutw merged 10 commits intov2from
rename
Apr 9, 2026
Merged

[V2] Rename flyte-sandbox to flyte-demo and simplify pod names#7170
pingsutw merged 10 commits intov2from
rename

Conversation

@pingsutw
Copy link
Copy Markdown
Member

@pingsutw pingsutw commented Apr 8, 2026

Summary

  • Rename flyte-sandbox Helm chart to flyte-demo
  • Add fullnameOverride for all subcharts to give pods clean names without release prefix:
Before After
flyte-sandbox-docker-registry-* docker-registry-*
flyte-sandbox-<hash> (flyte-binary) flyte-binary-*
flyte-sandbox-console-* flyte-console-*
flyte-sandbox-minio-* minio-*
flyte-sandbox-postgresql-* postgresql-*
  • Rename Docker image from flyte-sandbox-v2 to flyte-demo
  • Update all kustomize, CI workflow, bootstrap, and config references

Test plan

  • make manifests in docker/sandbox-bundled/ regenerates manifests cleanly
  • make build in docker/sandbox-bundled/ builds the sandbox image
  • make start boots the sandbox and all pods have the expected names
  • Verify kubectl get pods -n flyte shows clean pod names
  • main
    • Flyte 2 #6583
      • [V2] Rename flyte-sandbox to flyte-demo and simplify pod names 👈

…ames

- Rename chart directory and all references from flyte-sandbox to flyte-demo
- Add fullnameOverride for subcharts to remove release name prefix from pods:
  - docker-registry, minio, postgresql get clean names
  - flyte-binary gets fullnameOverride: flyte-binary
  - Console deployment/service hardcoded to flyte-console
- Rename Docker image from flyte-sandbox-v2 to flyte-demo
- Rename bootstrap binary from flyte-sandbox-bootstrap to flyte-demo-bootstrap
- Update all kustomize, workflow, and config references

Signed-off-by: Kevin Su <pingsutw@apache.org>
@github-actions github-actions bot mentioned this pull request Apr 8, 2026
3 tasks
pingsutw added 3 commits April 8, 2026 01:39
Signed-off-by: Kevin Su <pingsutw@apache.org>
The ingress template was calling flyte-binary.fullname from the parent
chart's context, which resolved to flyte-demo instead of flyte-binary.
Read fullnameOverride directly from the subchart's values instead.

Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
@pingsutw pingsutw marked this pull request as draft April 8, 2026 17:45
@pingsutw pingsutw marked this pull request as ready for review April 9, 2026 01:47
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
{{- $backendService := "" }}
{{- if index .Values "flyte-binary" "enabled" }}
{{- $backendService = include "flyte-binary.service.http.name" . }}
{{- $backendService = printf "%s-http" ( index .Values "flyte-binary" "fullnameOverride" | default "flyte-binary" ) }}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't we use include "flyte-binary.service.http.name" here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because i use fullNameOverride here. (To override the minio and console pod name. flyte-sandbox-minio-* -> minio)
https://github.com/flyteorg/flyte/pull/7170/files#diff-adef5e315f572e8907dfd23161687da28a891638e72eea0f874c0c134b2f9c23R16-R19

  This was changed as part of the rename from flyte-sandbox → flyte-demo. The old version   
  used the helper template flyte-binary.service.http.name (defined in the flyte-binary
  subchart) to derive the backend service name. The new version constructs the service name 
  directly using fullnameOverride from values, appending -http.                            
                                                          
  The reason: when the chart was renamed from flyte-sandbox to flyte-demo, the template     
  helper flyte-binary.service.http.name may not resolve correctly across the chart rename
  (since Helm template includes depend on chart naming context). By inlining the service    
  name construction with printf "%s-http" using the fullnameOverride value, it becomes    
  independent of the subchart's internal template names — making it more robust during the
  rename.                                                                                  

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can still use it as we only rename the parent chart (flyte-sandbox -> flyte-demo) while keeping the subchart flyte-binary the same?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me test it

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, it doesn't work because I override the pods name to flyte-binary, so the service name is flyte-binary-http as well, not flyte-demo-http

pingsutw added 3 commits April 8, 2026 23:15
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
@pingsutw pingsutw self-assigned this Apr 9, 2026
@pingsutw pingsutw added the flyte2 label Apr 9, 2026
@pingsutw pingsutw added this to the V2 GA milestone Apr 9, 2026
Copy link
Copy Markdown
Member

@machichima machichima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@pingsutw pingsutw merged commit 9cb3b78 into v2 Apr 9, 2026
28 of 29 checks passed
@pingsutw pingsutw deleted the rename branch April 9, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants