-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog: 1. Build Ubuntu 20.04 images 2. Update dcp-metrics-included.csv to include all profiling fields 3. Update Helm chart - chart now deploys DCP metrics by default and can be configured during Helm install to exclude 4. Reconfigure the default Grafana dashboard Fix indentation typo in dcgm-exporter.yaml
- Loading branch information
1 parent
f7c6397
commit 488614d
Showing
9 changed files
with
82 additions
and
207 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
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,34 @@ | ||
ARG GOLANG_VERSION | ||
FROM golang:$GOLANG_VERSION AS builder | ||
WORKDIR /go/src/github.com/NVIDIA/gpu-monitoring-tools | ||
|
||
COPY . . | ||
|
||
RUN make binary check-format | ||
|
||
FROM nvidia/cuda:11.0-base-ubuntu20.04 | ||
LABEL io.k8s.display-name="NVIDIA DCGM Exporter" | ||
|
||
COPY --from=builder /go/src/github.com/NVIDIA/gpu-monitoring-tools/dcgm-exporter /usr/bin/ | ||
COPY etc/dcgm-exporter /etc/dcgm-exporter | ||
|
||
ARG DCGM_VERSION | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
libcap2-bin \ | ||
libgomp1 \ | ||
wget && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
wget --no-check-certificate https://developer.download.nvidia.com/compute/redist/dcgm/${DCGM_VERSION}/DEBS/datacenter-gpu-manager_${DCGM_VERSION}_amd64.deb && \ | ||
dpkg -i datacenter-gpu-manager_*.deb && \ | ||
rm -f datacenter-gpu-manager_*.deb | ||
|
||
# Required for DCP metrics | ||
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,compat32 | ||
|
||
ENV NVIDIA_VISIBLE_DEVICES=all | ||
|
||
ENV NO_SETCAP= | ||
COPY docker/docker-entrypoint.sh /usr/local/dcgm/docker-entrypoint.sh | ||
RUN chmod +x /usr/local/dcgm/docker-entrypoint.sh | ||
|
||
ENTRYPOINT ["/usr/local/dcgm/docker-entrypoint.sh"] |
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.