Skip to content

Instantly share code, notes, and snippets.

@fortyfivan
Last active June 24, 2016 00:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fortyfivan/4fead12c65ba592bfff44a1babe3fe5b to your computer and use it in GitHub Desktop.
Save fortyfivan/4fead12c65ba592bfff44a1babe3fe5b to your computer and use it in GitHub Desktop.
kind: "DeploymentConfig"
apiVersion: "v1"
metadata:
name: "runner"
spec:
template:
metadata:
labels:
name: "runner"
spec:
containers:
- name: "runner"
image: "iron/runner"
ports:
- containerPort: 8080
protocol: "TCP"
replicas: 3
selector:
name: "runner"
triggers:
- type: "ConfigChange"
- type: "ImageChange"
imageChangeParams:
automatic: true
containerNames:
- "runner"
from:
kind: "ImageStreamTag"
name: "runner:latest"
strategy:
type: "Rolling"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment