Gatling/Kubernetes

I have some Gatling Load tests and i have a requirement to stop the REST API service that is deployed in Kube via my Gatling simulation(written in scala). Can someone guide me on how this can be done