- Windows host with build version equal o grater than the target os version of the image. (eg: To build a an image for 20H2 version the machine needs to be 20H2)
- Docker for Windows installed
- Clone the Infra Agent repo from github:
git clone [email protected]:newrelic/infrastructure-agent.git
- Get the latest Agent binaries from newrelic and and place them in
infrastructure-agent/target/bin/windows_amd64/
- Compile base docker image:
./build/win_build_container.ps1 -baseImageTag <WINDOWS VERSION TARGET> -agentVersion <AGENT VERSION>
- Clone this repo and checkout latest version.
[email protected]:newrelic/nri-kubernetes.git cd nri-kubernetes git checkout <LATEST RELEASE TAG>
- Build the container
IMAGE_TAG=latest docker build -f Dockerfile.windows
This are the metrics that are not being exposed by the Windows kubelet.
/stats/summary
- memoryRssBytes: zero
- memoryPageFaults: zero
- memoryMajorPageFaultsPerSecond: zero
- net.rxBytesPerSecond
- net.txBytesPerSecond
- net.errorsPerSecond
- fsInodesFree
- fsInodes
- fsInodesUsed
- runtimeInodesFree
- runtimeInodes
- runtimeInodesUsed
/stats/summary
- net.errorsPerSecond
- fsInodesFree
- fsInodes
- fsInodesUsed
- We still need to make a test for the pvc metrics
/stats/summary
- memoryUsedBytes
- fsUsedBytes: zero, so fsUsedPercent is zero
- fsInodesFree
- fsInodes
- fsInodesUsed
/metrics/cadvisor
- containerID
- containerImageID
/stats/summary
- net.errorsPerSecond