Skip to content

Commit

Permalink
Fix kubectl command in examples (#4668)
Browse files Browse the repository at this point in the history
Co-authored-by: Severin Neumann <neumanns@cisco.com>
  • Loading branch information
heckelmann and svrnm committed Jun 13, 2024
1 parent d78e63a commit bb2cd0e
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 bb2cd0e

Please sign in to comment.