File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -77,15 +77,21 @@ Following format supported:
7777apiVersion: apps/v1
7878kind: DaemonSet
7979metadata:
80- name: goreplay-daemon
80+ name: goreplay-daemon
8181spec:
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:
140146Find url for your service using `kubectl get svc` or `minikube service --url ngnix-service -n http`, and make a call to it.
141147
142148Get 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
You can’t perform that action at this time.
0 commit comments