Skip to content

Commit b549059

Browse files
committed
feat: add cronjob support
Signed-off-by: GoingCharlie <[email protected]>
1 parent 0373adc commit b549059

File tree

73 files changed

+36997
-4118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+36997
-4118
lines changed

.github/workflows/e2e_hypernode.yaml

Lines changed: 0 additions & 51 deletions
This file was deleted.

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ e2e: images
129129
./hack/run-e2e-kind.sh
130130

131131
e2e-test-schedulingbase: images
132-
# volume binding e2e testing has some cases using "kubernetes.io/no-provisioner" as the storage provisioner, so we need to specify an ignored provisioner here.
133-
E2E_TYPE=SCHEDULINGBASE IGNORED_PROVISIONERS="kubernetes.io/no-provisioner" ./hack/run-e2e-kind.sh
132+
E2E_TYPE=SCHEDULINGBASE ./hack/run-e2e-kind.sh
134133

135134
e2e-test-schedulingaction: images
136135
E2E_TYPE=SCHEDULINGACTION ./hack/run-e2e-kind.sh
@@ -146,13 +145,13 @@ e2e-test-vcctl: vcctl images
146145

147146
e2e-test-stress: images
148147
E2E_TYPE=STRESS ./hack/run-e2e-kind.sh
148+
149+
e2e-test-cronjob: images
150+
E2E_TYPE=CRONJOB ./hack/run-e2e-kind.sh
149151

150152
e2e-test-dra: images
151153
E2E_TYPE=DRA FEATURE_GATES="DynamicResourceAllocation=true" ./hack/run-e2e-kind.sh
152154

153-
e2e-test-hypernode: images
154-
E2E_TYPE=HYPERNODE ./hack/run-e2e-kind.sh
155-
156155
generate-yaml: init manifests
157156
./hack/generate-yaml.sh CRD_VERSION=${CRD_VERSION}
158157

cmd/controller-manager/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import (
3232

3333
"volcano.sh/volcano/cmd/controller-manager/app"
3434
"volcano.sh/volcano/cmd/controller-manager/app/options"
35+
_ "volcano.sh/volcano/pkg/controllers/cronjob"
3536
"volcano.sh/volcano/pkg/controllers/framework"
3637
_ "volcano.sh/volcano/pkg/controllers/garbagecollector"
3738
_ "volcano.sh/volcano/pkg/controllers/hypernode"

cmd/webhook-manager/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import (
3131
"volcano.sh/volcano/cmd/webhook-manager/app"
3232
"volcano.sh/volcano/cmd/webhook-manager/app/options"
3333
"volcano.sh/volcano/pkg/version"
34+
_ "volcano.sh/volcano/pkg/webhooks/admission/cronjobs/validate"
3435
_ "volcano.sh/volcano/pkg/webhooks/admission/hypernodes/validate"
3536
_ "volcano.sh/volcano/pkg/webhooks/admission/jobflows/validate"
3637
_ "volcano.sh/volcano/pkg/webhooks/admission/jobs/mutate"

0 commit comments

Comments
 (0)