-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for windows node metrics (#3569)
* feat: add Prometheus Windows Exporter as optional chart dependency Signed-off-by: Dominik Rosiek <[email protected]> * Update docs/README.md Co-authored-by: Mikołaj Świątek <[email protected]> * docs(windows): add information that windows support is experimental Signed-off-by: Dominik Rosiek <[email protected]> * chore: make format Signed-off-by: Dominik Rosiek <[email protected]> * docs: add info that windows support is experimental Signed-off-by: Dominik Rosiek <[email protected]> --------- Signed-off-by: Dominik Rosiek <[email protected]> Co-authored-by: Mikołaj Świątek <[email protected]>
- Loading branch information
1 parent
8a444b8
commit 8bb842b
Showing
6 changed files
with
81 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
feat: add Prometheus Windows Exporter as optional chart dependency |
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
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,30 @@ | ||
# Windows support | ||
|
||
Windows support is under evaluation and is experimental. This document describes issues which should be resolved before claiming full | ||
support for windows. | ||
|
||
## Running collection on windows nodes | ||
|
||
In order to fully support windows nodes, the following issues should be addressed: | ||
|
||
- Windows nodes do not support linux filesystems | ||
- We should use HostProcess Containers to support log collection | ||
- Lack of windows supported containers | ||
|
||
### Known Issues | ||
|
||
If pod stuck in Container Creating state, and shows the following error: | ||
|
||
```text | ||
Warning FailedCreatePodSandBox 4s (x2 over 18s) kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "6b7584ff75fd07362dd40aa18319998ae6f2b0afb78a391d773c953a17216c55": plugin type="vpc-bridge" name="vpc" failed (add): failed to parse Kubernetes args: failed to get pod IP address collection-sumologic-otelcol-logs-2: error executing k8s connector: error executing connector binary: exit status 1 with execution error: pod collection-sumologic-otelcol-logs-2 does not have label vpc.amazonaws.com/PrivateIPv4Address | ||
``` | ||
|
||
You need to add the following resource configuration: | ||
|
||
```yaml | ||
resources: | ||
limits: | ||
vpc.amazonaws.com/PrivateIPv4Address: 1 | ||
requests: | ||
vpc.amazonaws.com/PrivateIPv4Address: 1 | ||
``` |