Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2336

Add Makefile targets to start / stop dev cluster

    XMLWordPrintableJSON

Details

    Description

      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:

      # 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

       

      Attachments

        Issue Links

          Activity

            People

              ccondit Craig Condit
              ccondit Craig Condit
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: