-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config whitelist_namespaces required #78
Comments
@Spellchaser Could this be caused because no |
Thanks a lot @asobti |
From beyond the Great Firewall, there is no way to restart easily. There's
an open issue about the viper not following symlinks.
I thought the configs should automatically put in a default whitelist all
if it's not added, but I'd have to check the code.
…On Wed, Jul 4, 2018, 1:58 PM pawarmanoj ***@***.***> wrote:
Thanks a lot @asobti <https://github.com/asobti>
I didn't realize that both the blacklisted_namespaces and
whitelisted_namespaces would need to be specified for proper operation.
And is there a way to quickly refresh kube-monkey to pick up the updated
config map? Currently I am deleting the existing kube-monkey pod, so the
restarted pod picks up the updated config.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#78 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACV_i-SVz7l3aQbWCkFW7OfU8FTwOB6Tks5uDFmZgaJpZM4VBcfl>
.
|
@pawarmanoj Can you try adding |
Regarding hot-reload of configs, as @Spellchaser mentions, its a known bug that requires an upstream fix in vip. See #17 |
Yes, after adding |
@Spellchaser leaving this open for now until you can confirm whether needing to specify |
Definitely not intended behavior, not having it should work. Will check on
Monday.
…On Sat, Jul 7, 2018, 7:02 AM Ayush Sobti ***@***.***> wrote:
@Spellchaser <https://github.com/Spellchaser> leaving this open for now
until you can confirm whether needing to specify whitelisted_namespaces =
[] to disable the whitelist is a bug or intended behavior
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#78 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACV_iwfS3gWxWxnBFzdWWkfnd9Vg0pTIks5uD-xugaJpZM4VBcfl>
.
|
Found the issue: |
Going to close this in favor of #5, opt-in whitelist |
I have configured kube-monkey in the kube-system namespace. The kube-monkey pod, deployment, replica-set and config are all seen in good health on the kubernetes dashboard.
$ sudo nano /etc/kube-monkey/config.toml
[kubemonkey]
dry_run = false
run_hour = 9
start_hour = 10
end_hour = 18
graceperiod_sec = 120
blacklisted_namespaces = ["kube-system","kube-chaos"]
time_zone = "Asia/Kolkata"
[debug]
enabled = true
schedule_delay=300
force_should_kill = true
schedule_immediate_kill = true
My deployment has the necessary labels to mark the pod for termination.
kube-chaos-tomcat-deployment.txt
Yet kube-monkey is unable to find any pods for termination.
Logs show :
Could someone please assist me in debugging what my mistake could be?
Thanks.
The text was updated successfully, but these errors were encountered: