You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Craig Condit (Jira)" <ji...@apache.org> on 2024/01/24 22:08:00 UTC

[jira] [Updated] (YUNIKORN-2336) Add Makefile targets to start / stop dev cluster

     [ https://issues.apache.org/jira/browse/YUNIKORN-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Condit updated YUNIKORN-2336:
-----------------------------------
    Summary: Add Makefile targets to start / stop dev cluster  (was: Add convenience methods to start / stop dev cluster)

> Add Makefile targets 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
>            Priority: Major
>
> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org