Skip to content

Commit

Permalink
probers: log to file
Browse files Browse the repository at this point in the history
  • Loading branch information
oxddr committed Jan 14, 2020
1 parent b000148 commit 6e20c01
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
Expand Up @@ -25,10 +25,19 @@ spec:
# TODO(oxddr): according to @wojtek-t there are differences between fully and not fully qualified domain names
# Investigate it and potentially measure latency for both
- --dns-probe-url=ping-server.probes
- --logtostderr=false
- --log_file=/var/log/dns-lookup.log
resources:
limits:
cpu: 100m
memory: 100Mi
ports:
- containerPort: 8080
name: metrics
volumeMounts:
- name: logs-volume
mountPath: /var/log
volumes:
- name: logs-volume
hostPath:
path: /var/log
Expand Up @@ -22,10 +22,19 @@ spec:
- --metric-bind-address=0.0.0.0:8080
- --mode=ping-client
- --ping-server-address=ping-server:8081
- --logtostderr=false
- --log_file=/var/log/ping-client.log
resources:
limits:
cpu: 100m
memory: 100Mi
ports:
- containerPort: 8080
name: metrics
volumeMounts:
- name: logs-volume
mountPath: /var/log
volumes:
- name: logs-volume
hostPath:
path: /var/log
Expand Up @@ -22,6 +22,8 @@ spec:
- --metric-bind-address=0.0.0.0:8080
- --mode=ping-server
- --ping-server-bind-address=0.0.0.0:8081
- --logtostderr=false
- --log_file=/var/log/ping-server.log
resources:
limits:
cpu: 100m
Expand All @@ -31,3 +33,10 @@ spec:
name: metrics
- containerPort: 8081
name: http
volumeMounts:
- name: logs-volume
mountPath: /var/log
volumes:
- name: logs-volume
hostPath:
path: /var/log

0 comments on commit 6e20c01

Please sign in to comment.