Skip to content

Commit

Permalink
Update k8s-agent-operator.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-colucci authored Oct 17, 2024
1 parent 7f302b0 commit 2c1d793
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ A Kubernetes secret will automatically be replicated from the operator's namespa
* [.NET](https://hub.docker.com/repository/docker/newrelic/newrelic-dotnet-init/general)
* [Ruby](https://hub.docker.com/repository/docker/newrelic/newrelic-ruby-init/general)

For .NET
For .NET:

```yaml
apiVersion: newrelic.com/v1alpha2
kind: Instrumentation
Expand All @@ -94,7 +95,7 @@ spec:
image: newrelic/newrelic-dotnet-init:latest
# env: ...
```
For Java
For Java:

```yaml
apiVersion: newrelic.com/v1alpha2
Expand Down Expand Up @@ -124,7 +125,7 @@ spec:
# env: ...
```

For Python
For Python:

```yaml
apiVersion: newrelic.com/v1alpha2
Expand All @@ -139,7 +140,7 @@ spec:
# env: ...
```

For Ruby
For Ruby:

```yaml
apiVersion: newrelic.com/v1alpha2
Expand All @@ -154,7 +155,7 @@ spec:
# env: ...
```

For environment specific configurations
For environment specific configurations:

```yaml
apiVersion: newrelic.com/v1alpha2
Expand All @@ -178,7 +179,7 @@ spec:
value: "$(NEW_RELIC_LABELS)-$(NEW_RELIC_POD_NAME)"
```
Targeting everything in a specific namespace with a label
Targeting everything in a specific namespace with a label:
```yaml
apiVersion: newrelic.com/v1alpha2
Expand All @@ -195,7 +196,7 @@ spec:
values: ["java"]
```
Targeting a pod with a specific label
Targeting a pod with a specific label:
```yaml
apiVersion: newrelic.com/v1alpha2
Expand All @@ -212,7 +213,7 @@ spec:
values: ["dotnet"]
```
Using a secret with a non-default name
Using a secret with a non-default name:
```yaml
apiVersion: newrelic.com/v1alpha2
Expand Down

0 comments on commit 2c1d793

Please sign in to comment.