Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

[Rest Server] Change to default k8s scheduler #3599

Merged
merged 8 commits into from
Sep 11, 2019

Conversation

abuccts
Copy link
Member

@abuccts abuccts commented Sep 9, 2019

Change to default k8s scheduler.

Change to default k8s scheduler.
@abuccts abuccts added the PureK8S label Sep 9, 2019
@abuccts abuccts requested a review from yqwang-ms September 9, 2019 10:56
@abuccts abuccts mentioned this pull request Sep 9, 2019
42 tasks
Change vc condition.
Update virtual cluster api for default scheduler.
Update lint.
Update deployment for k8s default scheduler.
@@ -28,10 +28,6 @@ router.route('/')
/** GET /api/v2/virtual-clusters - Return cluster virtual cluster info */
.get(controller.list);

router.route('/nodeResource')
Copy link
Member Author

@abuccts abuccts Sep 10, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also changed api /api/v2/virtual-clusters/nodeResource to /api/v2/virtual-clusters?nodes, in case there's a vc called nodeResource

Rename resource units api.
@yqwang-ms
Copy link
Member

containerId: taskStatus.attemptStatus.podName,

use podUID here, besides, add another field which equals to the backend framework name (for easy debug)?


Refers to: src/rest-server/src/models/v2/job/k8s.js:145 in da3872e. [](commit_id = da3872e, deletion_comment = False)

Update containerId and framework name.
@yqwang-ms
Copy link
Member

yqwang-ms commented Sep 11, 2019

          name: 'main',

Change this to "app" container? align with k8s: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
Also @Binyang2014 to confirm no breaking


Refers to: src/rest-server/src/models/v2/job/k8s.js:294 in bfa3197. [](commit_id = bfa3197, deletion_comment = False)

Change container name.
@abuccts abuccts merged commit 3b2acba into master Sep 11, 2019
@abuccts abuccts deleted the xiongyf/add-default-scheduler branch September 11, 2019 11:30
@hzy46 hzy46 mentioned this pull request Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants