Skip to content

Commit d9d1ac0

Browse files
committed
Fix canary YAML descriptor file
Previously it didn't include amd64 suffix and was named improperly. Now it is suffixed with -canary.
1 parent e0e812a commit d9d1ac0

File tree

2 files changed

+46
-40
lines changed

2 files changed

+46
-40
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
apiVersion: v1
2+
kind: ReplicationController
3+
metadata:
4+
labels:
5+
app: kubernetes-dashboard-canary
6+
version: canary
7+
name: kubernetes-dashboard-canary
8+
namespace: kube-system
9+
spec:
10+
replicas: 1
11+
selector:
12+
app: kubernetes-dashboard-canary
13+
version: canary
14+
template:
15+
metadata:
16+
labels:
17+
app: kubernetes-dashboard-canary
18+
version: canary
19+
spec:
20+
containers:
21+
- name: kubernetes-dashboard-canary
22+
image: gcr.io/google_containers/kubernetes-dashboard-amd64:canary
23+
imagePullPolicy: Always
24+
ports:
25+
- containerPort: 9090
26+
protocol: TCP
27+
livenessProbe:
28+
httpGet:
29+
path: /
30+
port: 9090
31+
initialDelaySeconds: 30
32+
timeoutSeconds: 30
33+
---
34+
apiVersion: v1
35+
kind: Service
36+
metadata:
37+
labels:
38+
app: kubernetes-dashboard-canary
39+
name: dashboard-canary
40+
namespace: kube-system
41+
spec:
42+
ports:
43+
- port: 80
44+
targetPort: 9090
45+
selector:
46+
app: kubernetes-dashboard-canary

src/deploy/kubernetes-dashboard.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)