-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16419 FIX Support IPv6/IPv4 Dual Stack
For Kubernetes clusters running a IPv6/IPv4 dual stack, the collectors would display the following error: C+: File "/home/solo/git/checkmk_kube_agent/.venv/lib/python3.10/site-packages/requests/sessions.py", line 794, in get_adapter raise InvalidSchema(f"No connection adapters were found for {url!r}") requests.exceptions.InvalidSchema: No connection adapters were found for '::' C-: This has been fixed. Change-Id: I2e09841bb307393115caa21be7b277c3a392ab22
- Loading branch information
1 parent
4dcdcaa
commit f487942
Showing
3 changed files
with
31 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Title: Support IPv6/IPv4 Dual Stack | ||
Class: fix | ||
Compatible: compat | ||
Component: cluster-collector | ||
Date: 1712156163 | ||
Knowledge: doc | ||
Level: 1 | ||
Version: 2.0.0-alpha.1 | ||
|
||
For Kubernetes clusters running a IPv6/IPv4 dual stack, the node collectors would display the | ||
following error: | ||
|
||
C+: | ||
File "/home/solo/git/checkmk_kube_agent/.venv/lib/python3.10/site-packages/requests/sessions.py", line 794, in get_adapter | ||
raise InvalidSchema(f"No connection adapters were found for {url!r}") | ||
requests.exceptions.InvalidSchema: No connection adapters were found for '::' | ||
C-: | ||
|
||
This has been fixed. | ||
|
||
Moreover, the cluster collector was hardcoded to bind to a socket with address family AF_INET. This | ||
is now configurable with the values.yaml file via the option '.clusterCollector.address'. |
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