Skip to content

DaemonJob Operator MVP#3

Draft
mbtamuli wants to merge 9 commits into
mainfrom
daemonjob
Draft

DaemonJob Operator MVP#3
mbtamuli wants to merge 9 commits into
mainfrom
daemonjob

Conversation

@mbtamuli
Copy link
Copy Markdown
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 <mbtamuli@gmail.com>
@mbtamuli mbtamuli self-assigned this Jun 29, 2023
mbtamuli added 8 commits June 29, 2023 23:15
Command used: `kubebuilder create api --group batch --version v1 --kind DaemonJob --controller --resource`

Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Using command: `make generate`

Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Using command: `make manifests`

Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
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