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
| #!/usr/bin/env bash | |
| ##################################################################### | |
| # This script dumps all resources in a cluster to yaml files | |
| # Usage: ./dump-cluster-as-yaml.sh KUBE-CONTEXT | |
| # Example: ./dump-cluster-as-yaml.sh $(kubectl config current-context) | |
| ##################################################################### | |
| set -e | |
| CONTEXT="$1" |
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 | |
| ######################################################################### | |
| # Usage: suspend-cronjobs.sh <namespace> | |
| # Suspends cronjobs in a namespace | |
| ######################################################################### | |
| if ! command -v kubectl &> /dev/null | |
| then | |
| echo "kubectl must be present in order to run this script" | |
| exit 1 |
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 | |
| ######################################################################### | |
| # Usage: unsuspend-cronjobs.sh <namespace> | |
| # Unsuspends cronjobs in a namespace | |
| ######################################################################### | |
| if ! command -v kubectl &> /dev/null | |
| then | |
| echo "kubectl must be present in order to run this script" | |
| exit 1 |
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
| [general] | |
| working_directory = "/Users/jam" | |
| [font] | |
| normal = { family = "JetBrainsMono Nerd Font", style = "Regular" } | |
| size = 14 | |
| [window] | |
| padding = { x = 5, y = 10 } | |
| opacity = 0.75 | |
| startup_mode = "FullScreen" | |
| [cursor] |
OlderNewer