From 66a1e29307119ccc89af87b01875cd633a09e0c2 Mon Sep 17 00:00:00 2001 From: Sally O'Malley Date: Thu, 16 Jun 2022 16:39:13 -0400 Subject: [PATCH] update KEP testing plan, milestone --- .../2831-kubelet-tracing/README.md | 80 ++++++++++++++++++- .../2831-kubelet-tracing/kep.yaml | 8 +- 2 files changed, 82 insertions(+), 6 deletions(-) diff --git a/keps/sig-instrumentation/2831-kubelet-tracing/README.md b/keps/sig-instrumentation/2831-kubelet-tracing/README.md index fbca45b3e15..00062c14a29 100644 --- a/keps/sig-instrumentation/2831-kubelet-tracing/README.md +++ b/keps/sig-instrumentation/2831-kubelet-tracing/README.md @@ -16,6 +16,10 @@ - [Kubelet Configuration](#kubelet-configuration) - [Design Details](#design-details) - [Test Plan](#test-plan) + - [Prerequisite testing updates](#prerequisite-testing-updates) + - [Unit tests](#unit-tests) + - [Integration tests](#integration-tests) + - [e2e tests](#e2e-tests) - [Graduation Requirements](#graduation-requirements) - [Production Readiness Review Questionnaire](#production-readiness-review-questionnaire) - [Feature Enablement and Rollback](#feature-enablement-and-rollback) @@ -183,11 +187,78 @@ type TracingConfiguration struct { ### Test Plan -We will test tracing added by this feature with an integration test. The -integration test will verify that spans exported by the kubelet match what is + + +[x] I/we understand the owners of the involved components may require updates to +existing tests to make this code solid enough prior to committing the changes necessary +to implement this enhancement. + +##### Prerequisite testing updates + + + +An integration test will verify that spans exported by the kubelet match what is expected from the request. We will also add an integration test that verifies spans propagated from kubelet to API server match what is expected from the request. +##### Unit tests + + + + + +- `k8s.io/component-base/traces`: no test grid results - k8s.io/component-base/traces/config_test.go + +##### Integration tests + + + +An integration test will verify that spans exported by the kubelet match what is +expected from the request. We will also add an integration test that verifies +spans propagated from kubelet to API server match what is expected from the request. + +##### e2e tests + + + +- A test with kubelet-tracing & apiserver-tracing enabled to ensure no issues are introduced, regardless +of whether a tracing backend is configured. + ### Graduation Requirements Alpha @@ -367,6 +438,11 @@ _This section must be completed when targeting beta graduation to a release._ ## Implementation History +- 2021-07-20: KEP opened +- 2022-07-22: KEP merged, targeted at Alpha in 1.24 +- 2022-03-29: KEP deemed not ready for Alpha in 1.24 +- 2022-06-09: KEP targeted at Alpha in 1.25 + ## Drawbacks Small overhead of increased kubelet request latency, will be monitored during experimental phase. diff --git a/keps/sig-instrumentation/2831-kubelet-tracing/kep.yaml b/keps/sig-instrumentation/2831-kubelet-tracing/kep.yaml index 03dc12e92e1..13854503fb2 100644 --- a/keps/sig-instrumentation/2831-kubelet-tracing/kep.yaml +++ b/keps/sig-instrumentation/2831-kubelet-tracing/kep.yaml @@ -19,11 +19,11 @@ see-also: - "https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/647-apiserver-tracing" replaces: stage: alpha -latest-milestone: "v1.24" +latest-milestone: "v1.25" milestone: - alpha: "v1.24" - beta: "v1.25" - stable: "v1.26" + alpha: "v1.25" + beta: "v1.26" + stable: "v1.27" feature-gates: - name: KubeletTracing components: