mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Setup directories for Metrics validation and verification KEP
KEP link: https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/20190605-metrics-validation-and-verification.md
This commit is contained in:
parent
1c63eb1611
commit
0260d4f287
@ -18,6 +18,7 @@ filegroup(
|
||||
"//test/e2e_node:all-srcs",
|
||||
"//test/fixtures:all-srcs",
|
||||
"//test/images:all-srcs",
|
||||
"//test/instrumentation:all-srcs",
|
||||
"//test/integration:all-srcs",
|
||||
"//test/kubemark:all-srcs",
|
||||
"//test/list:all-srcs",
|
||||
|
28
test/instrumentation/BUILD
Normal file
28
test/instrumentation/BUILD
Normal file
@ -0,0 +1,28 @@
|
||||
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = ["main.go"],
|
||||
importpath = "k8s.io/kubernetes/test/instrumentation",
|
||||
visibility = ["//visibility:private"],
|
||||
)
|
||||
|
||||
go_binary(
|
||||
name = "instrumentation",
|
||||
embed = [":go_default_library"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "package-srcs",
|
||||
srcs = glob(["**"]),
|
||||
tags = ["automanaged"],
|
||||
visibility = ["//visibility:private"],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "all-srcs",
|
||||
srcs = [":package-srcs"],
|
||||
tags = ["automanaged"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
12
test/instrumentation/OWNERS
Normal file
12
test/instrumentation/OWNERS
Normal file
@ -0,0 +1,12 @@
|
||||
# See the OWNERS docs at https://go.k8s.io/owners
|
||||
|
||||
approvers:
|
||||
- piosz
|
||||
- brancz
|
||||
- logicalhan
|
||||
reviewers:
|
||||
- piosz
|
||||
- brancz
|
||||
- logicalhan
|
||||
labels:
|
||||
- sig/instrumentation
|
3
test/instrumentation/README.md
Normal file
3
test/instrumentation/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
This is a WIP directory for ensuring stability rules around kubernetes metrics.
|
||||
|
||||
Design [Metrics validation and verification](https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/20190605-metrics-validation-and-verification.md)
|
21
test/instrumentation/main.go
Normal file
21
test/instrumentation/main.go
Normal file
@ -0,0 +1,21 @@
|
||||
/*
|
||||
Copyright 2017 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package main
|
||||
|
||||
func main() {
|
||||
|
||||
}
|
11
test/instrumentation/testdata/OWNERS
vendored
Normal file
11
test/instrumentation/testdata/OWNERS
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# See the OWNERS docs at https://go.k8s.io/owners
|
||||
|
||||
approvers:
|
||||
- piosz
|
||||
- brancz
|
||||
reviewers:
|
||||
- piosz
|
||||
- brancz
|
||||
- logicalhan
|
||||
labels:
|
||||
- sig/instrumentation
|
Loading…
Reference in New Issue
Block a user