rootfs / node-fencing

Apache License 2.0
5 stars 6 forks source link

add custom agent scripts support #54

Closed ksimon1 closed 6 years ago

ksimon1 commented 6 years ago

Add support for custom scripts. @bronhaim, @emesika please can you add your opinion?

bronhaim commented 6 years ago

@jfriesse didn't you start to work on custom agent for kubectl actions?

jfriesse commented 6 years ago

@bronhaim Yep, I did, but never completed it :( Actually, when idea to move to ansible script appeared it didn't make too much sense (IMHO) to have agent which just calls kubectl cordon|ncordon (same result can be achieved in the Ansible script more easily).

bronhaim commented 6 years ago

mm.. we can. I just wondered if the work for kubectl agent was done or not, I think this approach is also fine but it requires verification, not sure the privileges you set are enough