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

Support validating yunikorn-configs before admitting it

    XMLWordPrintableJSON

Details

    • 0.8

    Description

      Currently queues configuration are managed as ConfigMap, it can be easily updated via kubectl commands but won't be validated for now, thus this configmap may be inconsistent after been updated with invalid content, in this state, configmap is updated successfully while the scheduler is still using the previous configs, and the client doesn't know whether or not this update is succeed. This may leads to many unexpected results, for example, scheduler may not be successfully launched after restart.
      To improve the management for configs, we can add validations for yunikorn configs via admission-controller mechanism in K8S which is already used for mutations on pod's spec/metadata in yunikorn-k8shim.

      Attachments

        Activity

          People

            taoyang Tao Yang
            Tao Yang Tao Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m