# 面向飞腾的优先级和资源超分调度器 **Repository Path**: vmchina/aladdin ## Basic Information - **Project Name**: 面向飞腾的优先级和资源超分调度器 - **Description**: No description available - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-21 - **Last Updated**: 2022-05-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 1.aladdin a flow-based scheduling algorithm, we will share our flow-based algorithm later. Note that this project is a prototype. Now it supports: - priority - overprovisioning # 2.usage ## 2.1 apply a algorithm ``` kubectl apply -f queue-scheduler-cm.yaml ``` ## 2.2 start aladdin set the following environment variables ``` kubeUrl: https://master-ip:6443 token: see https://github.com/kubesys/client-java schedulerName: aladdin schedulerType: queue ``` ## 2.3 run an example ``` { "apiVersion": "v1", "kind": "Pod", "metadata": { "name": "busybox", "namespace": "default" }, "spec": { "schedulerName": "aladdin", "containers": [ { "image": "busybox", "command": [ "sleep", "3600" ], "imagePullPolicy": "IfNotPresent", "name": "busybox" } ], "restartPolicy": "Always" } } ```