Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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