[RIC-573] Refactoring automation in order to support K8S environment