Skip to content

Commit

Permalink
Docs: Use URLs for kubectl apply demo commands instead of relative paths
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Friedrich <[email protected]>
  • Loading branch information
dnsmichi authored and kkourt committed Jun 16, 2022
1 parent 00c16ba commit 2b33137
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ specify additional directories or specific files if needed.
As a first step, let's apply the following `TracingPolicy`:

```bash
kubectl apply -f ./crds/examples/sys_write_follow_fd_prefix.yaml
kubectl apply -f https://raw.githubusercontent.com/cilium/tetragon/main/crds/examples/sys_write_follow_fd_prefix.yaml
```

As a second step, let's start monitoring the events from the `xwing` pod:
Expand Down Expand Up @@ -532,7 +532,7 @@ kubectl delete -f ./crds/examples/sys_write_follow_fd_prefix.yaml
To view TCP connect events apply the example TCP connect `TracingPolicy`:

```bash
kubectl apply -f ./crds/examples/tcp-connect.yaml
kubectl apply -f https://raw.githubusercontent.com/cilium/tetragon/main/crds/examples/tcp-connect.yaml
```

To start monitoring events in the `xwing` pod run the Tetragon CLI:
Expand Down Expand Up @@ -584,7 +584,7 @@ kubectl logs -n kube-system ds/tetragon -c export-stdout -f | tetragon observe -

In another terminal let's apply the privileged PodSpec:
```bash
kubectl apply -f ./testdata/specs/testpod.yaml
kubectl apply -f https://raw.githubusercontent.com/cilium/tetragon/main/testdata/specs/testpod.yaml
```

If you observe the output in the first terminal, you can see the container start with `CAP_SYS_ADMIN`:
Expand Down

0 comments on commit 2b33137

Please sign in to comment.