CLI Commands

Kubetorch offers a rich set of commands to offer you insight into running workloads at the individual and cluster level.

  • kt config - Get or set your username, namespace, and desired Kubetorch installation source URL for services launched with Kubetorch
  • kt list - See live services and resources that have been deployed with Kubetorch
  • kt logs <kt-service-name> – View the logs for a particular service
  • kt teardown <kt-service-name> – Tears down all related resources to a particular service
  • kt ssh <kt-service-name> – Directly work on the remote compute by SSHing in (to the head node if distributed)
  • kt status - Load service status details
  • kt call - Call the endpoint of a deployed service; needs a name and endpoint at minimum

Because all workloads are running as services on Kubernetes, you can also use kubectl if you prefer to interact with your services.