Skip to content

Commit

Permalink
Fix kubectl command
Browse files Browse the repository at this point in the history
  • Loading branch information
heckelmann authored and chalin committed Jun 12, 2024
1 parent 4b1f5e3 commit 60ba125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/blog/2024/new-otel-features-envoy-istio/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ And finally, we configure the `OTEL_RESOURCE_ATTRIBUTES` environment variable
for the Envoy proxies:

```shell
cat <<EOF | k apply -f -
cat <<EOF | kubectl apply -f -
apiVersion: networking.istio.io/v1beta1
kind: ProxyConfig
metadata:
Expand Down Expand Up @@ -210,7 +210,7 @@ kubectl apply -f bookinfo.yaml
To test your setup, make some requests to one of the services, for example:

```shell
kubectl exec "$(k get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}')" -c ratings -- curl -sS productpage:9080/productpage | grep -o "<title>.*</title>"
kubectl exec "$(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}')" -c ratings -- curl -sS productpage:9080/productpage | grep -o "<title>.*</title>"
```

Then you can check it out on the Jaeger UI -- you should see some traces!
Expand Down

0 comments on commit 60ba125

Please sign in to comment.