File tree 3 files changed +14
-5
lines changed
3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1
- FROM alpine:3.7
2
-
1
+ FROM alpine:3.8
3
2
4
3
ENV GLIBC_VERSION "2.28-r0"
5
4
Original file line number Diff line number Diff line change 18
18
prometheus.io/port : ' 8080'
19
19
spec :
20
20
containers :
21
- - image : " gcr.io/dashpole-kubernetes-test /gpu-monitor:v2 "
21
+ - image : " gcr.io/dashpole-gke-dev /gpu-monitor:v0 "
22
22
name : gpu-monitor
23
- args : ["--socket=/ podresources/kubelet.sock", "--v=10"]
23
+ args : ["--socket=unix:/// podresources/pod-resources /kubelet.sock", "--v=10"]
24
24
volumeMounts :
25
25
- name : kubelet-podresources
26
26
mountPath : /podresources
37
37
env :
38
38
- name : LD_LIBRARY_PATH
39
39
value : " /home/kubernetes/bin/nvidia/lib64/"
40
+ nodeSelector :
41
+ cloud.google.com/gke-accelerator : nvidia-tesla-k80
42
+ tolerations :
43
+ - key : " nvidia.com/gpu"
44
+ value : " present"
45
+ effect : " NoSchedule"
40
46
volumes :
41
47
- name : kubelet-podresources
42
48
hostPath :
Original file line number Diff line number Diff line change 1
- apiVersion : extensions/v1beta1
1
+ apiVersion : apps/v1
2
2
kind : Deployment
3
3
metadata :
4
4
name : prometheus-core
@@ -8,6 +8,10 @@ metadata:
8
8
component : core
9
9
spec :
10
10
replicas : 1
11
+ selector :
12
+ matchLabels :
13
+ app : prometheus
14
+ component : core
11
15
template :
12
16
metadata :
13
17
name : prometheus-main
You can’t perform that action at this time.
0 commit comments