Files
kubernetes.core/tests/roles/hello-templates/files/deployment.yml
Chris Houseknecht cc7f18bc25 Latest changes
2017-03-23 04:15:26 -04:00

44 lines
927 B
YAML

apiVersion: v1
kind: DeploymentConfig
metadata:
name: hello-depoy
namespace: hello
labels:
app: hello
spec:
strategy:
type: Rolling
rollingParams:
updatePeriodSeconds: 1
intervalSeconds: 1
timeoutSeconds: 600
maxUnavailable: 25%
maxSurge: 25%
resources: {}
triggers:
- type: ConfigChange
replicas: 1
test: false
selector:
app: hello
template:
metadata:
name: hello-pod
labels:
app: hello
spec:
containers:
- name: hello
image: openshift/busybox-http-app
ports:
- name: web-8100-tcp
containerPort: 8080
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
imagePullPolicy: Always
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: {}