File tree Expand file tree Collapse file tree 1 file changed +73
-0
lines changed Expand file tree Collapse file tree 1 file changed +73
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : troubleshoot.replicated.com/v1beta1
2+ kind : Collector
3+ metadata :
4+ name : collector-sample
5+ spec :
6+ - clusterInfo : {}
7+ - clusterResources : {}
8+ - secret :
9+ name : illmannered-cricket-mysql
10+ namespace : default
11+ key : mysql-password
12+ - logs :
13+ selector :
14+ - name=nginx-ingress-microk8s
15+ namespace : default
16+ limits :
17+ maxAge : 30d
18+ maxLines : 10000
19+ - run :
20+ collectorName : ping-google
21+ namespace : default
22+ image : flungo/netutils
23+ command : ["ping"]
24+ args : ["www.google.com"]
25+ timeout : 5s
26+ - exec :
27+ collectorName : mysql-vars
28+ selector :
29+ - app=mysql
30+ namespace : default
31+ command : ["mysql"]
32+ args : ["-ureplicated", "-ppassword", "-e", "show processlist"]
33+ timeout : 60m
34+ - exec :
35+ collectorName : hosts
36+ selector :
37+ - app=graphql-api
38+ namespace : default
39+ command : ["cat"]
40+ args : ["/etc/hosts"]
41+ timeout : 60m
42+ - exec :
43+ collectorName : broken
44+ selector :
45+ - app=graphql-api
46+ namespace : default
47+ command : ["cat"]
48+ args : ["/etc/hostdasddsda"]
49+ timeout : 60m
50+ - http :
51+ collectorName : test-get
52+ get :
53+ url : https://api.staging.replicated.com/market/v1/echo/ip
54+ insecureSkipVerify : false
55+ headers : {}
56+ - http :
57+ collectorName : test-post
58+ post :
59+ url : http://httpbin.org/headers
60+ insecureSkipVerify : false
61+ headers :
62+ X-Custom-Header : " post-request"
63+ - http :
64+ collectorName : test-put
65+ put :
66+ url : http://httpbin.org/anything
67+ insecureSkipVerify : false
68+ headers :
69+ X-Custom-Header : " put-request"
70+ - http :
71+ collectorName : test-broken
72+ put :
73+ url : " "
You can’t perform that action at this time.
0 commit comments