feat(ui): add one-click demo workload deploy - #321
Merged
Merged
Conversation
Wires "Try the Demo!" on the Workloads page's TryDemoWorkloadCard to actually deploy a running demo workload (Network + Workload + NetworkService + HTTPProxy) via a confirm dialog, with per-deploy randomized resource names and an app.kubernetes.io/managed-by label so runs never collide and stay identifiable for cleanup. Also adds a project-home card and a top-header hint (behind a new portal.header/project extension) that deep-link into the same dialog via ?tryDemo=1, both gated to projects with an Active Compute entitlement.
The unikernel demo image pulls anonymously, so the demo no longer depends on a dockerhub-pull secret existing in the project.
yahyafakhroji
approved these changes
Sep 18, 2026
mattdjenkinson
approved these changes
Sep 18, 2026
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.
Summary
Adds a one-click demo deploy to the Workloads page: a new card offers to deploy a real, running workload, behind a confirm dialog that explains what will happen. The dialog then tracks the deploy through creation and readiness, letting the user leave and come back at any point rather than blocking on a spinner. Each deploy gets its own randomized name so repeat runs, or a workload deleted outside the portal, never collide with a prior one, and every object it creates carries a label identifying it as demo-origin for cleanup.
A project-home card and a small top-header hint point entitled projects at the same flow from elsewhere in the portal, using a new host extension point (companion PR: datum-cloud/cloud-portal#1560).
Screencast.From.2026-09-17.17-02-36.mp4
Test plan