gist |
---|
View prometheusRule.yaml
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: monitoring.coreos.com/v1 | |
kind: PrometheusRule | |
metadata: | |
namespace: pulsar | |
creationTimestamp: null | |
labels: | |
app: kube-prometheus-stack | |
release: prometheus-operator | |
name: pleaseignore | |
spec: |
View Token Utilities
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
Token Utilities |
View doit2it.sh
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 | |
# Set source and destination folders | |
SOURCE_FOLDER="/efs-new/aws-backup-restore_2023-03-27T00-28-30-414788Z/csi/" | |
DESTINATION_FOLDER="/efs-new/csi/" | |
DRY_RUN=false | |
if [ "$1" == "--dry-run" ]; then | |
DRY_RUN=true |
View heavy_work.sh
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 | |
source progressbar.sh | |
# bar customization | |
bar_size=70 | |
bar_char_done="|" | |
bar_char_todo=" " | |
bar_percentage_scale=4 |