-
Notifications
You must be signed in to change notification settings - Fork 8
Update connect agent docs #1167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -81,14 +81,63 @@ In the same cluster where you installed the Spaces software, install the Upbound | |
| ```bash | ||
| helm -n upbound-system upgrade --install agent \ | ||
| oci://xpkg.upbound.io/spaces-artifacts/agent \ | ||
| --version "0.0.0-441.g68777b9" \ | ||
| --version "0.0.0-1116.g14cbfe6" \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pinning the version in docs is a bummer, but I guess it frees us up to make breaking changes without unintended disruption.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah agreed overall |
||
| --set "global.space=${UPBOUND_SPACE_NAME}" \ | ||
| --set "global.organization=${UPBOUND_ORG_NAME}" \ | ||
| --set "global.tokenSecret=connect-token" \ | ||
| --set "image.repository=xpkg.upbound.io/spaces-artifacts/agent" \ | ||
| --set "registration.image.repository=xpkg.upbound.io/spaces-artifacts/register-init" \ | ||
| --set "registration.enabled=true" \ | ||
| --set "imagePullSecrets[0].name=upbound-pull-secret" \ | ||
| --set "billing.enabled=false" \ | ||
| --wait | ||
| ``` | ||
|
|
||
| #### Use an HTTP proxy | ||
|
|
||
| The Connect agent respects `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` for outbound traffic to Upbound. Set them on the agent with `extraEnv` and on the registration init container with `registration.extraEnv`. If you use Zscaler or a similar corporate forward proxy, use the same pattern for both as shown below. | ||
|
|
||
| | Variable | Description | | ||
| | --- | --- | | ||
| | `HTTP_PROXY` | HTTP proxy URL | | ||
| | `HTTPS_PROXY` | HTTPS proxy URL | | ||
| | `NO_PROXY` | Comma-separated hosts that bypass the proxy | | ||
|
|
||
| Example `agent-proxy-values.yaml`: | ||
|
|
||
| ```yaml | ||
| extraEnv: | ||
| - name: HTTP_PROXY | ||
| value: "http://proxy.example.com:8080" | ||
| - name: HTTPS_PROXY | ||
| value: "http://proxy.example.com:8080" | ||
| - name: NO_PROXY | ||
| value: "10.0.0.0/8,.svc.cluster.local,localhost,127.0.0.1" | ||
| registration: | ||
| extraEnv: | ||
| - name: HTTP_PROXY | ||
| value: "http://proxy.example.com:8080" | ||
| - name: HTTPS_PROXY | ||
| value: "http://proxy.example.com:8080" | ||
| - name: NO_PROXY | ||
| value: "10.0.0.0/8,.svc.cluster.local,localhost,127.0.0.1" | ||
| ``` | ||
|
|
||
| Install or upgrade using that file: | ||
|
|
||
| ```bash | ||
| helm -n upbound-system upgrade --install agent \ | ||
| oci://xpkg.upbound.io/spaces-artifacts/agent \ | ||
| --version "0.0.0-1116.g14cbfe6" \ | ||
| --set "global.space=${UPBOUND_SPACE_NAME}" \ | ||
| --set "global.organization=${UPBOUND_ORG_NAME}" \ | ||
| --set "global.tokenSecret=connect-token" \ | ||
| --set "image.repository=xpkg.upbound.io/spaces-artifacts/agent" \ | ||
| --set "registration.image.repository=xpkg.upbound.io/spaces-artifacts/register-init" \ | ||
| --set "registration.enabled=true" \ | ||
| --set "space=${UPBOUND_SPACE_NAME}" \ | ||
| --set "organization=${UPBOUND_ORG_NAME}" \ | ||
| --set "tokenSecret=connect-token" \ | ||
| --set "imagePullSecrets[0].name=upbound-pull-secret" \ | ||
| --set "billing.enabled=false" \ | ||
| -f agent-proxy-values.yaml \ | ||
| --wait | ||
| ``` | ||
|
|
||
|
|
@@ -173,7 +222,7 @@ Users interact with the Upbound Console to generate request queries to the Upbou | |
|
|
||
| :::important | ||
| This data only concerns resource configuration. The data _inside_ the managed | ||
| resource in your Space isn't visible at any point. | ||
| resource in your Space isn't visible at any point. | ||
| ::: | ||
|
|
||
| **Upbound can't see your data.** Upbound doesn't have access to session-based data rendered for your users in the Upbound Console. Upbound has no information about your self-hosted Space, other than that you've connected a self-hosted Space. | ||
|
|
||
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tr0njavolta with the new versioning scheme, what do these files do? 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll update the docs README for this but the mirroring in this PR is good now.