Skip to content

Run calico-manifest-deployment as a periodic job#604

Open
kishen-v wants to merge 1 commit into
ppc64le-cloud:masterfrom
kishen-v:calico
Open

Run calico-manifest-deployment as a periodic job#604
kishen-v wants to merge 1 commit into
ppc64le-cloud:masterfrom
kishen-v:calico

Conversation

@kishen-v

@kishen-v kishen-v commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

/cc @Rajalakshmi-Girish.
Notes: Do we need to run the job less frequently? Maybe once a week?

@ppc64le-cloud-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kishen-v
Once this PR has been reviewed and has the lgtm label, please assign rajalakshmi-girish for approval. For more information see the Kubernetes Code Review Process.

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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ppc64le-cloud-bot ppc64le-cloud-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 6, 2026
@kishen-v
kishen-v force-pushed the calico branch 8 times, most recently from c9f936c to ed1d4ad Compare April 8, 2026 06:08

@mkumatag mkumatag left a comment

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.

how expensive this will be? can we run in the upstream prow itself?

@kishen-v

kishen-v commented Apr 8, 2026

Copy link
Copy Markdown
Contributor Author

Just confirmed from the estimator, it roughly costs $0.15 an hour (no workers deployed as we'd just want to see if the node and the controller pods deploy successfully) , so even if the test runs for 2 hours at the most, we'd be looking at $0.60 a week, and ~$2.40-$3 a month, or the best case scenario is that it completes within 30 minutes, which should cost us $1.2-$1.5 a month.

The estimate is for a 0.25C x 8GB deployment. I'll quickly make changes to set the --powervs-cpu 0.25 , as the default is 0.5C.

/hold

@ppc64le-cloud-bot ppc64le-cloud-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 8, 2026
@mkumatag

mkumatag commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

$0.60 a week, and ~$2.40-$3 a month, or the best case scenario is that it completes within 30 minutes, which should cost us $1.2-$1.5 a month

nice, let us use upstream prow for this then, slowly we can reduce the content running on this and move away one day completely.

@kishen-v

kishen-v commented Apr 8, 2026

Copy link
Copy Markdown
Contributor Author

/unhold
Tested with 0.25C and things are stable.
/cc @Rajalakshmi-Girish

@ppc64le-cloud-bot ppc64le-cloud-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 8, 2026
Comment thread config/jobs/calico/calico-main.yaml Outdated
--build-version $K8S_BUILD_VERSION --release-marker=$K8S_BUILD_VERSION \
--workers-count 0 --auto-approve --cluster-name calico-master-manifest-$TIMESTAMP --playbook install-k8s.yml --up --down --retry-on-tf-failure 3 \
--break-kubetest-on-upfail true --ignore-destroy-errors \
--extra-vars=cni_provider:"calico-master" --extra-vars=directory:"release" --test=exec -- \

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@kishen-v Is passing cni_provider:"calico-master" to avoid Install networking task ininstall-k8s.yml playbook?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You're right.. The CNI installation is something we'd wanted to handle out of scope as the tests surround the same..
I feel cni_provider:"none" will be more appropriate.

@mkumatag

mkumatag commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

/unhold Tested with 0.25C and things are stable. /cc @Rajalakshmi-Girish

if this is not a resource heavy - can we move to upstream k8s prow?

Comment thread config/jobs/calico/calico-main.yaml Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants