kubernetes-retired / poseidon

[EOL] A Firmament-based Kubernetes scheduler
http://www.firmament.io
Apache License 2.0
410 stars 78 forks source link

Poseidon behave like default scheduler #149

Closed shivramsrivastava closed 5 years ago

shivramsrivastava commented 5 years ago

This PR is to make Poseidon behave like default scheduler.

Setting the flag --defaultBehaviour=true will make 'Poseidon' behave like default-scheduler. By default it will be set to false.

Note: This behaviour will not schedule any 'kube-system' pods and it will not process any updates, delete request from 'kube-system' pods.

Scenario: First bring up the cluster using default-scheduler and then remove the default-scheduler before starting 'Poseidon' as default scheduler.

Removing default-scheduler: In the master node, move the file kube-scheduler.manifest from /etc/kubernetes/manifests path. Check if the kube-scheduler is not running, after the above step.

Running Poseidon: As a standalone process it can run with the flag mentioned above. But if you need to run 'Poseidon' as deployment, first bring up the cluster and then bring up the 'Poseidon' and 'Firmament' deployments and then remove the default scheduler. This is once the 'Poseidon' and 'Firmament' is scheduled to run on node by default-scheduler then remove the default-scheduler using the step mentioned above.

k8s-ci-robot commented 5 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: shivramsrivastava

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/poseidon/blob/master/OWNERS)~~ [shivramsrivastava] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
deepak-vij commented 5 years ago

/ok-to-test

deepak-vij commented 5 years ago

/lgtm