Files
Etienne PerotandgVisor bot 269bcbc449 testcluster: Remove all dependencies on cluster spec protobuffer.
Instead, cluster nodepools are reconstructed from Kubernetes client API
data and looking at their labels from that. Then these are used for
configuring pods to schedule on these nodes.

This reduces dependencies on GKE-specific implementation details and
makes benchmarks easier to run outside of GKE.

PiperOrigin-RevId: 700447594
2024-11-26 13:47:15 -08:00

31 lines
913 B
Python

load("//tools:defs.bzl", "go_library")
package(
default_applicable_licenses = ["//:license"],
default_visibility = ["//test/kubernetes:__subpackages__"],
licenses = ["notice"],
)
go_library(
name = "profiling",
testonly = 1,
srcs = ["profiling.go"],
visibility = [
"//test/kubernetes:__subpackages__",
],
deps = [
"//pkg/atomicbitops",
"//runsc/flag",
"//test/kubernetes",
"//test/kubernetes/k8sctx",
"//test/kubernetes/testcluster",
"//test/metricsviz",
"@com_github_google_pprof//profile:go_default_library",
"@io_k8s_api//apps/v1:go_default_library",
"@io_k8s_api//core/v1:go_default_library",
"@io_k8s_apimachinery//pkg/apis/meta/v1:go_default_library",
"@org_golang_google_protobuf//proto:go_default_library",
"@org_golang_x_time//rate:go_default_library",
],
)