Craig Condit created YUNIKORN-2336:
--------------------------------------

             Summary: Add convenience methods to start / stop dev cluster
                 Key: YUNIKORN-2336
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2336
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: shim - kubernetes
            Reporter: Craig Condit
            Assignee: Craig Condit


Currently, starting a test cluster for development requires calling a complex 
shell script (scripts/run-e2e-tests.sh). This script was originally designed to 
be used internally by GitHub actions for CI purposes, but has grown over time 
and is often used directly by developers. It would be convenient if 
creating/removing a cluster with YK installed could be done via Makefile 
targets:
{code:java}
# launch a cluster, with default K8s version (v1.29.0) and cluster name (yk8s)
$ make start-cluster

# launch a cluster, specifying version and name, in plugin mode
$ make start-cluster K8S_VERSION=v1.28.0 CLUSTER_NAME=dev-1.28.0 PLUGIN=1

# stop a cluster with the default name (yk8s)
$ make stop-cluster

# stop a cluster with a specified name
$ make stop-cluster CLUSTER_NAME=dev-1.28.0{code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to