Skip to content

Instantly share code, notes, and snippets.

@divolgin
Last active August 7, 2019 22:49
Show Gist options
  • Save divolgin/5ef047bee6fb548b8ed83c74eff90c5b to your computer and use it in GitHub Desktop.
Save divolgin/5ef047bee6fb548b8ed83c74eff90c5b to your computer and use it in GitHub Desktop.
test collector spec
apiVersion: troubleshoot.replicated.com/v1beta1
kind: Collector
metadata:
name: collector-sample
labels:
applicationName: my sample app 1
spec:
- clusterInfo: {}
- clusterResources: {}
- secret:
name: illmannered-cricket-mysql
namespace: default
key: mysql-password
- logs:
selector:
- name=nginx-ingress-microk8s
namespace: default
limits:
maxAge: 30d
maxLines: 10000
- run:
collectorName: ping-google
namespace: default
image: flungo/netutils
command: ["ping"]
args: ["www.google.com"]
timeout: 5s
- http:
collectorName: test-get
get:
url: https://api.staging.replicated.com/market/v1/echo/ip
insecureSkipVerify: false
headers: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment