forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backport metrics grabbing through port-forwarding
This is necessary because the current approach, directly connecting to the insecure port, no longer works with Kubernetes 1.22 because the insecure port is disabled in Kubernetes 1.22. In the upgrade tests the e2e.test binary from Kubernetes 1.21 is run against Kubernetes 1.22. This commit contains almost all changes related to metrics grabbing: 34f4959 replace e2e WaitForPodsReady by WaitTimeoutForPodReadyInNamespace 9103b71 Fetch metrics from controller manager & scheduler no run once f298a65 e2e metrics: remove redundant checks around metrics tests a4c7e91 e2e metrics: skip tests when metrics grabbing is disabled 1d3420c e2e metrics: check whether debug handlers are available 5e9076d e2e: grab controller and scheduler metrics via port forwarding c496b1d e2e: waiting for scheduler pod to expose metrics once c4c2574 refactor(e2e): grab metrics from controller-manager via nginx Excluded was one commit which added a new test: 564e531 Add Snapshot Controller e2e metric tests Because of the large number of commits and the conflicts caused by that undesired commit, "git cherry-pick" was not used. Instead, "git diff" and "git log -p" for relevant files were used to generate patches that applied a bit more cleanly. Fixes: kubernetes#103822
- Loading branch information
Showing
18 changed files
with
407 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.