This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eux | |
# brettmilford: added etcd /metrics gathering | |
# This file is based on https://code.launchpad.net/~freyes/+git/experiment | |
# Modified to use xargs instead of parallel | |
# 'etcd.etcdctl' is provided by the etcd snap | |
which etcd.etcdctl | |
PARALLEL_REQS=20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole | |
metadata: | |
name: prometheus | |
rules: | |
- apiGroups: [""] | |
resources: | |
- nodes | |
- nodes/metrics | |
- services |