mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
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
31 lines
913 B
Python
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",
|
|
],
|
|
)
|