Skip to content

Commit 5dc844d

Browse files
author
wlanboy
committed
Reihenfolge
1 parent 52dea44 commit 5dc844d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,12 @@ curl "http://localhost:8080/api/k8s/tls?url=https://my-service.default.svc.clust
267267
# Install mirrord
268268
curl -fsSL https://raw.githubusercontent.com/metalbear-co/mirrord/main/scripts/install.sh | bash
269269

270+
# Run with Maven (hot reload)
271+
mirrord exec -n clients --target deployment/javahttpclient --fs-mode=local -- mvn spring-boot:run
272+
270273
# Look up the target pod
271274
POD=$(kubectl get pod -n clients -l app=javahttpclient -o jsonpath='{.items[0].metadata.name}')
272275

273-
# Run with Maven (hot reload)
274-
mirrord exec -n clients --target deployment/javahttpclient -- mvn spring-boot:run
275-
276276
# Run the packaged JAR against a specific pod
277277
mirrord exec -n clients --target pod/$POD -- java -jar target/javahttpclient-0.0.1-SNAPSHOT.jar
278278

0 commit comments

Comments
 (0)