Skip to content

Commit 67dc218

Browse files
authored
fix: indentation
1 parent 1c31291 commit 67dc218

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

src/content/docs/kubernetes-pixie/kubernetes-integration/advanced-configuration/java-extensions-k8s-auto-attach.mdx

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Replace `your-registry/{Your-Image-Name}` with your actual container registry pa
8686
Push the image to your container registry:
8787

8888
```bash
89-
docker push your-registry/{Your-Image-Name}
89+
docker push your-registry/{Your-Image-Name}
9090
```
9191

9292
</Step>
@@ -114,7 +114,6 @@ spec:
114114
agent:
115115
language: java
116116
image: your-registry/{Your-Image-Name}
117-
118117
```
119118
120119
</Step>
@@ -126,7 +125,7 @@ spec:
126125
Apply the updated instrumentation to your cluster:
127126
128127
```bash
129-
kubectl apply -f instrumentation-java.yaml
128+
kubectl apply -f instrumentation-java.yaml
130129
```
131130

132131
</Step>
@@ -140,17 +139,17 @@ Restart your Java applications to pick up the new init container with extensions
140139

141140
* To restart a specific deployment:
142141

143-
```bash
144-
# Restart a specific deployment
145-
kubectl rollout restart deployment/my-java-deployment
146-
```
142+
```bash
143+
# Restart a specific deployment
144+
kubectl rollout restart deployment/my-java-deployment
145+
```
147146

148147
* To restart all deployments in a namespace:
149148

150-
```bash
151-
# Or restart all deployments in a namespace
152-
kubectl rollout restart deployments -n my-namespace
153-
```
149+
```bash
150+
# Or restart all deployments in a namespace
151+
kubectl rollout restart deployments -n my-namespace
152+
```
154153

155154
</Step>
156155

@@ -165,7 +164,7 @@ If extensions aren't loading:
165164
1. Verify the extensions directory exists in your custom image:
166165

167166
```bash
168-
docker run --rm your-registry/{Your-Image-Name} ls -la /extensions
167+
docker run --rm your-registry/{Your-Image-Name} ls -la /extensions
169168
```
170169

171170
2. Check file permissions ensure extension JAR files are readable.
@@ -178,4 +177,4 @@ If extensions aren't loading:
178177
* [Java extension modules documentation](/docs/apm/agents/java-agent/instrumentation/extension-additional-instrumentation-modules/)
179178
* [Kubernetes APM auto-attach](/docs/kubernetes-pixie/kubernetes-integration/installation/k8s-agent-operator/)
180179
* [Java agent configuration](/docs/apm/agents/java-agent/configuration/java-agent-configuration-config-file/)
181-
* [Custom instrumentation for Java](/docs/apm/agents/java-agent/custom-instrumentation/java-custom-instrumentation/)
180+
* [Custom instrumentation for Java](/docs/apm/agents/java-agent/custom-instrumentation/java-custom-instrumentation/)

0 commit comments

Comments
 (0)