1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Dockerfile: set verbosity of gRPC

Makes solving issues easier when gRPC prints out information e.g. about
TLS authentication problems on the server (nfd-master) side, too.
This commit is contained in:
Markus Lehtonen 2019-02-05 21:35:51 +02:00
parent c107284cc5
commit 0a22564b9f

View file

@ -20,5 +20,8 @@ RUN make test
# Create production image for running node feature discovery # Create production image for running node feature discovery
FROM debian:stretch-slim FROM debian:stretch-slim
# Use more verbose logging of gRPC
ENV GRPC_GO_LOG_SEVERITY_LEVEL="INFO"
COPY --from=builder /etc/kubernetes/node-feature-discovery /etc/kubernetes/node-feature-discovery COPY --from=builder /etc/kubernetes/node-feature-discovery /etc/kubernetes/node-feature-discovery
COPY --from=builder /go/bin/nfd-* /usr/bin/ COPY --from=builder /go/bin/nfd-* /usr/bin/