Skip to content

Commit 7ccde5a

Browse files
authored
Update README.md
1 parent 8230bc9 commit 7ccde5a

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

k8s/README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,21 @@ Following format supported:
7777
apiVersion: apps/v1
7878
kind: DaemonSet
7979
metadata:
80-
  name: goreplay-daemon
80+
name: goreplay-daemon
8181
spec:
82-
  template:
83-
    spec:
82+
selector:
83+
matchLabels:
84+
app: goreplay
85+
template:
86+
metadata:
87+
labels:
88+
app: goreplay
89+
spec:
8490
hostNetwork: true
8591
serviceAccountName: goreplay
86-
      containers:
87-
      - name: goreplay
88-
        image: buger/goreplay:2.0.0-rc2
92+
containers:
93+
- name: goreplay
94+
image: buger/goreplay:2.0.0-rc4
8995
command:
9096
- "--input-raw k8s://deployments/nginx:80"
9197
- "--output-stdout"
@@ -140,5 +146,5 @@ spec:
140146
Find url for your service using `kubectl get svc` or `minikube service --url ngnix-service -n http`, and make a call to it.
141147

142148
Get GoReplay logs, and check if it capture traffic of your service.
143-
`kubectl logs -n goreplay -l name=goreplay-daemon --all-containers`
149+
`microk8s kubectl logs -n goreplay -l app=goreplay --all-containers`
144150

0 commit comments

Comments
 (0)