Skip to content

Commit

Permalink
add cloud provider attribute tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hisarbalik committed Jan 27, 2025
1 parent 388ba5e commit 455ee73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/make/provision.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##@ k3d
.PHONY: provision-k3d
provision-k3d: $(K3D)
$(K3D) cluster create --image rancher/k3s:v$(strip $(K3S_K8S_VERSION))-k3s1 --config .k3d-kyma.yaml
$(K3D) cluster create --image rancher/k3s:v$(strip $(K3S_K8S_VERSION))-k3s1 --config .k3d-kyma.yaml --k3s-node-label "topology.kubernetes.io/region=testregion@server:0" --k3s-node-label "topology.kubernetes.io/zone=testzone@server:0" --k3s-node-label "node.kubernetes.io/instance-type=testmach@server:0" --k3s-node-label "kubernetes.io/arch=testarch@server:0"
kubectl create ns kyma-system

.PHONY: provision-k3d-istio
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/metrics_runtime_input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"github.com/kyma-project/telemetry-manager/test/testkit/suite"
)

var _ = Describe(suite.ID(), Label(suite.LabelMetrics), Label(suite.LabelSetA), Ordered, func() {
var _ = Describe(suite.ID(), Label(suite.LabelMetrics), Label("ttt"), Ordered, func() {
Context("When metric pipelines with runtime resources metrics enabled exist", Ordered, func() {
var (
mockNs = suite.ID()
Expand Down
4 changes: 4 additions & 0 deletions test/testkit/metrics/runtime/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ var (
"k8s.pod.name",
"k8s.pod.uid",
"service.name",
"cloud.region",
"cloud.availability_zone",
"host.type",
"host.arch",
}

PodMetricsAttributes = map[string][]string{
Expand Down

0 comments on commit 455ee73

Please sign in to comment.