-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-private-registry-proxy.json
46 lines (46 loc) · 1.41 KB
/
docker-private-registry-proxy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"apiVersion": "extensions/v1beta1",
"kind": "DaemonSet",
"metadata": {
"labels": {
"app": "docker-private-registry-proxy"
},
"name": "docker-private-registry-proxy"
},
"spec": {
"template": {
"metadata": {
"labels": {
"app": "docker-private-registry-proxy"
}
},
"spec": {
"containers": [
{
"args": [
"tcp",
"5000",
"docker-private-registry.default.svc.cluster.local"
],
"image": "gcr.io/google_containers/proxy-to-service:v2",
"name": "proxy-tcp",
"ports": [
{
"containerPort": 5000,
"hostPort": 5000,
"name": "tcp",
"protocol": "TCP"
}
],
"resources": {
"limits": {
"cpu": "100m",
"memory": "50Mi"
}
}
}
]
}
}
}
}