Skip to content

K8s scheduler - #271

Open
maccarth32 wants to merge 2 commits into
olcf:develfrom
maccarth32:k8s_scheduler
Open

K8s scheduler#271
maccarth32 wants to merge 2 commits into
olcf:develfrom
maccarth32:k8s_scheduler

Conversation

@maccarth32

Copy link
Copy Markdown

@hagertnl could you kindly take a look and provide some feedback as I work on a direct kubectl version than this current Openshift version

Comment thread configs/frontier_k8s.ini
submit_args =

[SiteCustom]
kafka_uri = kafka.apps.gneiss.ccs.ornl.gov:30200

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we scrub all these variables and move this file to configs/machine_examples? We shouldn't put these in the example ini files.

Comment thread harness/schedulers/k8s.py

from .base_scheduler import BaseScheduler

class K8S(BaseScheduler):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We had initially discussed making an OpenShift-specific scheduler, then adding a generic kubectl/k8s scheduler later. If so, can we change this from "K8S" to "OpenShift"?

Comment thread harness/schedulers/k8s.py

def set_job_id_from_environ(self):
self.__logger.doInfoLogging("Setting job id from environment in k8s class")
jobvar = 'HOSTNAME'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This kinda seems like there's not a job ID construct? Is that something we should try to remove from "requirements" for the scheduler implementation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants