Skip to content

Add RestateCloudEnvironment#40

Merged
jackkleeman merged 4 commits into
mainfrom
rcc
Sep 25, 2025
Merged

Add RestateCloudEnvironment#40
jackkleeman merged 4 commits into
mainfrom
rcc

Conversation

@jackkleeman

@jackkleeman jackkleeman commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

This new CRD gives a way to use RestateDeployment with cloud. It manages tunnel pods inside your cluster so that you can register services running locally in Kubernetes to cloud.

If you want to try it out, an image is published as ghcr.io/restatedev/restate-operator:1.7.6-alpha1 and you can set the rcc tag in the version field of the helm chart values.yaml. Make sure you helm install from this repo or from oci://ghcr.io/restatedev/restate-operator-helm:1.7.6-alpha1:

helm install -f ./charts/restate-operator-helm/values.yaml  restate-operator ./charts/restate-operator-helm -n restate-operator --create-namespace
# or
helm upgrade restate-operator ./charts/restate-operator-helm  -n restate-operator

Then you can create a RestateCloudEnvironment resource - see the README changes in this PR.

Working tunnel deployment

Working with urls instead of headers

srv -> region

rename rcc to rce

Tunnel client image should be configurable

Fix rbac

Improve query

Avoid cartesian product in join

cluster -> environment

Support remote proxy in tunnel client pods

alpha1 version

Bump tunnel client

Add remoteProxy to README

@pcholakov pcholakov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fantastic addition to the operator toolset! Everything I tested worked exactly as expected. 🙌 I left a minor comment about the naming of the tunnel deployments but you'll know better whether this is perhaps a bad idea.

Not part of this PR but it's probably worth documenting how best to roll back and migrate invocations when deploying bugfixes.

Comment thread src/controllers/restatecloudenvironment/reconcilers/tunnel.rs
Comment thread src/resources/restatedeployments.rs Outdated
@jackkleeman
jackkleeman merged commit 3b4610b into main Sep 25, 2025
1 check passed
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 25, 2025
@jackkleeman
jackkleeman deleted the rcc branch September 25, 2025 17:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants