Add native-Go OHE support to Connect chart and update RBAC#786
Draft
Add native-Go OHE support to Connect chart and update RBAC#786
Conversation
Contributor
|
Hardly the most important thing but I think this rates a minor version bump. |
- Add `kubernetes.enabled` and related values to rstudio-connect for native-Go off-host execution (OHE) support - Update templates and config to support new OHE mode, overlays, and init container - Add validation to prevent both `launcher.enabled` and `kubernetes.enabled` - Update RBAC in rstudio-library to grant endpointslice list/watch permissions - Bump rstudio-connect to 0.8.27 and rstudio-library to 0.1.37 - Update NEWS.md and README.md.gotmpl for both charts
65644c0 to
d16a4a3
Compare
jspiewak
reviewed
Feb 26, 2026
|
|
||
| ## 0.8.27 | ||
|
|
||
| - Adds support for a native-Go implementation of Off-Host Execution (OHE) mode. Set `kubernetes.enabled = true` to switch to the new implementation. See the [migration guide](<todo: insert migration guide docs link>) in the Connect admin documentation for guidance on migrating existing configurations. |
Member
There was a problem hiding this comment.
Will the migration guide be in place before this PR is merged?
Contributor
Author
There was a problem hiding this comment.
Yes, I'm planning to merge this PR shortly after the March release when we can officially announce the feature.
jspiewak
reviewed
Feb 26, 2026
| # -- defaultJobOverlay contains the Kubernetes Job definition which is used as an overlay "base" when launching a content job | ||
| # in Kubernetes. Conceptually this is a similar to a Kustomize base. Connect then applies any required job configuration | ||
| # on-top of the overlay base to produce a final job definition before submitting the Job to Kubernetes. | ||
| # https://docs.posit.co/connect/__unreleased__/admin/appendix/off-host/direct-runner/kubernetes-job-overlays.html |
Member
There was a problem hiding this comment.
This link will need to be updated prior to merging.
jspiewak
reviewed
Feb 26, 2026
| # ([reference](https://docs.posit.co/chronicle/appendix/library/advanced-agent.html#environment)) | ||
| agentEnvironment: "" | ||
|
|
||
| kubernetes: |
Member
There was a problem hiding this comment.
Is everyone happy with a value namespace of "kubernetes"?
jspiewak
reviewed
Feb 26, 2026
| # -- defaultServiceOverlay contains the Kubernetes Service definition which is used as an overlay "base" when creating a content job's | ||
| # Service in Kubernetes. Conceptually this is a similar to a Kustomize base. Connect then applies any required Service configuration | ||
| # on-top of the overlay base to produce a final Service definition. | ||
| # https://docs.posit.co/connect/__unreleased__/admin/appendix/off-host/direct-runner/kubernetes-job-overlays.html |
Member
Strongly agree |
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.
This PR adds experimental support for the new native-Go implementation of OHE. This implementation offers a simplified configuration of Kubernetes Jobs using simple a "overlay base" (similar to a Kustomize overlay base) to define the Job and Service as yaml. This offers an extensible approach for job customization w/o the maintenance burden of go templates.
kubernetes.enabledand related values to rstudio-connect for native-Go off-host execution (OHE) supportlauncher.enabledandkubernetes.enabled