Skip to content

[action-runners] Add k8s action runner with KVM support#1108

Merged
aimichelle merged 1 commit intopixie-io:mainfrom
JamesMBartlett:k8s_action_runner
Mar 28, 2023
Merged

[action-runners] Add k8s action runner with KVM support#1108
aimichelle merged 1 commit intopixie-io:mainfrom
JamesMBartlett:k8s_action_runner

Conversation

@JamesMBartlett
Copy link
Copy Markdown
Member

@JamesMBartlett JamesMBartlett commented Mar 28, 2023

Summary: Adds a new k8s github action runner with KVM support. Also adds autoscalers for the runners. The current autoscaler is poll-based, if this becomes an issue we can switch to a push based autoscaler with webhooks, but its significantly more effort.

Type of change: /kind test-infra

Test Plan: Tested that qemu based BPF tests can run on the new kvm runners. Also tested that the autoscaler works in a reasonable time frame.

@JamesMBartlett JamesMBartlett requested a review from a team as a code owner March 28, 2023 20:20
Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
@aimichelle aimichelle merged commit 7c362a5 into pixie-io:main Mar 28, 2023
aimichelle pushed a commit that referenced this pull request Mar 29, 2023
Summary: We don't want to use buildbuddy from github actions directly
because of potential egress/ingress costs from github actions to gcloud.
Instead once #1108 lands, self-hosted runners will have access to
buildbuddy. This PR replaces adding the buildbuddy api key with adding
github specific bazelrc options.

Type of change: /kind test-infra

Test Plan: Tested that these configs work in #1054

Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
ddelnano pushed a commit to ddelnano/pixie that referenced this pull request May 1, 2023
Summary: We don't want to use buildbuddy from github actions directly
because of potential egress/ingress costs from github actions to gcloud.
Instead once pixie-io#1108 lands, self-hosted runners will have access to
buildbuddy. This PR replaces adding the buildbuddy api key with adding
github specific bazelrc options.

Type of change: /kind test-infra

Test Plan: Tested that these configs work in pixie-io#1054

Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
ddelnano pushed a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
Summary: Adds a new k8s github action runner with KVM support. Also adds
autoscalers for the runners. The current autoscaler is poll-based, if
this becomes an issue we can switch to a push based autoscaler with
webhooks, but its significantly more effort.

Type of change: /kind test-infra

Test Plan: Tested that `qemu` based BPF tests can run on the new kvm
runners. Also tested that the autoscaler works in a reasonable time
frame.

Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
ddelnano pushed a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
Summary: We don't want to use buildbuddy from github actions directly
because of potential egress/ingress costs from github actions to gcloud.
Instead once pixie-io#1108 lands, self-hosted runners will have access to
buildbuddy. This PR replaces adding the buildbuddy api key with adding
github specific bazelrc options.

Type of change: /kind test-infra

Test Plan: Tested that these configs work in pixie-io#1054

Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
ddelnano pushed a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
Summary: Adds a new k8s github action runner with KVM support. Also adds
autoscalers for the runners. The current autoscaler is poll-based, if
this becomes an issue we can switch to a push based autoscaler with
webhooks, but its significantly more effort.

Type of change: /kind test-infra

Test Plan: Tested that `qemu` based BPF tests can run on the new kvm
runners. Also tested that the autoscaler works in a reasonable time
frame.

Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
ddelnano pushed a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
Summary: We don't want to use buildbuddy from github actions directly
because of potential egress/ingress costs from github actions to gcloud.
Instead once pixie-io#1108 lands, self-hosted runners will have access to
buildbuddy. This PR replaces adding the buildbuddy api key with adding
github specific bazelrc options.

Type of change: /kind test-infra

Test Plan: Tested that these configs work in pixie-io#1054

Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
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