deploying applications to kubernetes the proper way