This file contains hidden or 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
kind: ClusterRoleBinding | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: heapster | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: system:heapster | |
subjects: | |
- kind: ServiceAccount |
This file contains hidden or 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
$(document).ready(function() { | |
var testString = '\'"some!@#456":<>?/`~=+String'; | |
$('#before').html(testString); | |
$('#after').html(testString.replace(/[^a-zA-Z0-9]/g,'_')); | |
}); |
This file contains hidden or 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 | |
while test $# -gt 0; do | |
case "$1" in | |
-h|--help) | |
echo "sendMetric.sh - send a single metric to Wavefront proxy" | |
echo " " | |
echo "sendMetric.sh [arguments]" | |
echo " " | |
echo "arguments:" |
This file contains hidden or 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
/* | |
Step 1. Create a folder called "mycollector" inside telegraf/plugins/inputs | |
Step 2. Create a file named "mycollector.go" inside the above folder | |
Step 3. Add an entry for "mycollector" *alphabetically* in plugins/inputs/all/all.go | |
_ "github.com/influxdata/telegraf/plugins/inputs/mycollector" | |
*/ | |
package mycollector |
This file contains hidden or 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: storage.k8s.io/v1 | |
kind: StorageClass | |
metadata: | |
name: local | |
provisioner: kubernetes.io/no-provisioner | |
volumeBindingMode: WaitForFirstConsumer | |
--- | |
apiVersion: v1 | |
kind: PersistentVolume |
OlderNewer