-
Notifications
You must be signed in to change notification settings - Fork 1.5k
docs: ac mirror after install #23943
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
WriteMayur
merged 6 commits into
newrelic:develop
from
danielorihuela:docs/ac-mirror-after-install
May 8, 2026
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
5902c20
docs: ac mirror after install
danielorihuela 4063d5d
Updated the doc to enhance it linguistically
WriteMayur ed067d7
Merge branch 'newrelic:develop' into docs/ac-mirror-after-install
danielorihuela e2d22dd
fix: steps numbers
danielorihuela ab4c326
docs: make general
danielorihuela e171d5b
linguistic updates
WriteMayur 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
78 changes: 78 additions & 0 deletions
78
src/content/docs/new-relic-control/agent-control/mirror-setup.mdx
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 |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| --- | ||
| title: "Configure an OCI registry mirror for Agent Control" | ||
| metaDescription: "Learn how to configure Agent Control to use an OCI registry mirror." | ||
| freshnessValidatedDate: never | ||
| --- | ||
| <Callout variant="important"> | ||
| Agent Control and New Relic Control are now **generally available** for Kubernetes! Support for Linux hosts and Windows hosts is also in **public preview** program, pursuant to our [pre-release policies](/docs/licenses/license-information/referenced-policies/new-relic-pre-release-policy). | ||
| </Callout> | ||
|
|
||
| Agent Control uses `docker.io` as the default OCI (Open Container Initiative) registry for downloading agent packages. If your environment requires using a different registry, you can configure Agent Control to use a custom OCI registry or mirror. | ||
|
|
||
| ## Before you begin | ||
|
|
||
| Before configuring a custom OCI registry, ensure you have: | ||
|
|
||
| 1. **Installed Agent Control:** Complete the standard [Agent Control installation](/docs/new-relic-control/agent-control/setup) using the New Relic CLI | ||
|
WriteMayur marked this conversation as resolved.
Outdated
|
||
| 2. **Mirror registry available:** Your custom OCI registry should be accessible from the host where Agent Control is installed | ||
|
WriteMayur marked this conversation as resolved.
Outdated
|
||
| 3. **CA certificate installed:** Install the certificate authority certificate on the host machine required to communicate with the mirror | ||
|
|
||
| ## Configure on Linux hosts | ||
|
|
||
| After installing Agent Control on your Linux host, follow these steps to configure a custom OCI registry: | ||
|
|
||
| ### Step 1: Edit the local configuration file | ||
|
|
||
| Edit the Agent Control local configuration file: | ||
|
|
||
| Linux - /etc/newrelic-agent-control/local-data/agent-control/local_config.yaml | ||
| Windows - C:\Program Files\New Relic\newrelic-agent-control\local-data\agent-control\local_config.yaml | ||
|
|
||
| Add the following configuration sections to the file: | ||
|
|
||
| ```yaml | ||
| oci: | ||
| registry: YOUR_REGISTRY_URL | ||
| ``` | ||
|
|
||
| If you need to set up your username and password, use the following snippet: | ||
|
|
||
| ```yaml | ||
| oci: | ||
| registry: YOUR_REGISTRY_URL | ||
| auth: | ||
| basic: | ||
| username: YOUR_USERNAME | ||
| password: YOUR_PASSWORD | ||
| ``` | ||
|
|
||
| Replace the placeholder values: | ||
| - `YOUR_REGISTRY_URL`: The URL of your custom OCI registry (for example, `registry.example.com:5000` or `mirror.internal.company.com`) | ||
| - `YOUR_USERNAME`: Username for registry authentication | ||
| - `YOUR_PASSWORD`: Password for registry authentication | ||
|
|
||
| This assumes the machine has access to the public keys of each agent and that the mirror contains all the signatures up to date. | ||
| If this cannot be met, we can disable signatures verification. We don't suggest it. | ||
|
|
||
| ```yaml | ||
| agent_packages: | ||
| signature_verification_enabled: false | ||
| ``` | ||
|
|
||
| ### Step 3: Restart Agent Control | ||
|
danielorihuela marked this conversation as resolved.
Outdated
|
||
|
|
||
| Restart the Agent Control service to apply the new configuration and verify that the service restarted successfully | ||
|
|
||
| Linux | ||
|
|
||
| ```bash | ||
| sudo systemctl restart newrelic-agent-control | ||
| sudo systemctl status newrelic-agent-control | ||
| ``` | ||
|
|
||
| Windows | ||
|
|
||
| ```powershell | ||
| Restart-Service -Name newrelic-agent-control | ||
| Get-Service -Name newrelic-agent-control | ||
| ``` | ||
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.
Uh oh!
There was an error while loading. Please reload this page.