Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DaemonJob Operator MVP #3

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

DaemonJob Operator MVP #3

wants to merge 9 commits into from

Conversation

mbtamuli
Copy link
Owner

@mbtamuli mbtamuli commented Jun 29, 2023

Project

The goal is to create a Kubernetes Operator that allows creating a custom resource which is a hybrid of Daemonset and Cronjob resources. The custom resource allows you to define a Job specification which will be executed on every node on the Kubernetes cluster.

Goals of this PR

Taking an approach to break down the problem statement, we'll take a stab at making various MVPs. Here are the goals of this PR

  • An operator, which is able to run a pod on each node. (this will handle the Daemonset part of Daemonjob)
  • Adding on to the above step, being able to take the action of running a pod on each node, but every minute. (this will later handle the Cronjob part of the Daemonjob)

Command used: `kubebuilder init --domain mriyam.com --repo github.com/mbtamuli/k8s/daemonjob`

Signed-off-by: Mriyam Tamuli <[email protected]>
@mbtamuli mbtamuli self-assigned this Jun 29, 2023
Command used: `kubebuilder create api --group batch --version v1 --kind DaemonJob --controller --resource`

Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Using command: `make generate`

Signed-off-by: Mriyam Tamuli <[email protected]>
Using command: `make manifests`

Signed-off-by: Mriyam Tamuli <[email protected]>
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.

1 participant