Skip to content

Commit

Permalink
Merge pull request #412 from bryk/yaml-file-fix-really
Browse files Browse the repository at this point in the history
Fix canary YAML descriptor file
  • Loading branch information
bryk committed Feb 23, 2016
2 parents a85d13f + d9d1ac0 commit e22812c
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 40 deletions.
46 changes: 46 additions & 0 deletions src/deploy/kubernetes-dashboard-canary.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: v1
kind: ReplicationController
metadata:
labels:
app: kubernetes-dashboard-canary
version: canary
name: kubernetes-dashboard-canary
namespace: kube-system
spec:
replicas: 1
selector:
app: kubernetes-dashboard-canary
version: canary
template:
metadata:
labels:
app: kubernetes-dashboard-canary
version: canary
spec:
containers:
- name: kubernetes-dashboard-canary
image: gcr.io/google_containers/kubernetes-dashboard-amd64:canary
imagePullPolicy: Always
ports:
- containerPort: 9090
protocol: TCP
livenessProbe:
httpGet:
path: /
port: 9090
initialDelaySeconds: 30
timeoutSeconds: 30
---
apiVersion: v1
kind: Service
metadata:
labels:
app: kubernetes-dashboard-canary
name: dashboard-canary
namespace: kube-system
spec:
ports:
- port: 80
targetPort: 9090
selector:
app: kubernetes-dashboard-canary
40 changes: 0 additions & 40 deletions src/deploy/kubernetes-dashboard.yaml

This file was deleted.

0 comments on commit e22812c

Please sign in to comment.