Skip to content
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

Adding labels in the presence of operator #180

Open
nagasp opened this issue Apr 23, 2020 · 0 comments
Open

Adding labels in the presence of operator #180

nagasp opened this issue Apr 23, 2020 · 0 comments

Comments

@nagasp
Copy link

nagasp commented Apr 23, 2020

I tried kubemonkey on a deployment.

Applied the following to deployment, made sure even the pods under the deployment gets
propagated to the pods as well and kubemonkey picked up the pods.

metadata:
name: mydeploy
spec:
template:
metadata:
labels:
kube-monkey/enabled: enabled
kube-monkey/identifier: mydeploy
kube-monkey/mtbf: '2'
kube-monkey/kill-mode: "fixed"
kube-monkey/kill-value: '1'

Now the env im working on has an "operator"
So when I apply the above yaml to the deployment, the operator does the reconciliation.
and gets the labels back to old state. In summary the new labels wont take effect
and kube monkey wont pick up the pods.

Wanted another way of applying labels or if we can make kubemonkey pickup existing labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant