Created
February 21, 2020 00:11
-
-
Save icheko/38ec927bcf16cf002c96556f7b931279 to your computer and use it in GitHub Desktop.
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: v1 | |
kind: ConfigMap | |
metadata: | |
name: kube-monkey-config-map | |
namespace: kube-system | |
data: | |
config.toml: | | |
[debug] | |
enabled = true | |
schedule_immediate_kill = true | |
[kubemonkey] | |
dry_run = false # Terminations are only logged when true | |
run_hour = 8 # Run scheduling at 8am on weekdays | |
start_hour = 10 # Don't schedule any pod deaths before 10am | |
end_hour = 14 # Don't schedule any pod deaths after 4pm | |
time_zone = "America/Los_Angeles" # Set tzdata timezone example. Note the field is time_zone not timezone | |
blacklisted_namespaces = ["kube-system"] # Critical apps live here | |
whitelisted_namespaces = [ "default", "my-namespace"] # Unleash into the following namespaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment