[kubed] implement the provisioning logic