Skip to content

Instantly share code, notes, and snippets.

@akram
Created March 17, 2016 09:07
Show Gist options
  • Save akram/a2c9f633dd56e20c002e to your computer and use it in GitHub Desktop.
Save akram/a2c9f633dd56e20c002e to your computer and use it in GitHub Desktop.
apiVersion: v1
items:
- apiVersion: v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
openshift.io/scc: restricted
creationTimestamp: null
labels:
app: manageiq
name: manageiq
spec:
replicas: 1
selector:
app: manageiq
deploymentconfig: manageiq
strategy:
resources: {}
rollingParams:
intervalSeconds: 1
maxSurge: 25%
maxUnavailable: 25%
timeoutSeconds: 600
updatePeriodSeconds: 1
type: Rolling
template:
metadata:
annotations:
openshift.io/container.manageiq.image.entrypoint: '["/usr/sbin/init"]'
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: manageiq
deploymentconfig: manageiq
spec:
containers:
- image: jetski/manageiq@sha256:2d9ea96737b9d293d57d6964a0dffe7165167220392e16bb371c62515f4cba6a
imagePullPolicy: Always
name: manageiq
ports:
- containerPort: 3000
protocol: TCP
- containerPort: 4000
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /sys/fs/cgroup
name: manageiq-volume-1
dnsPolicy: ClusterFirst
restartPolicy: Always
securityContext:
privileged: true
seLinuxOptions: {}
serviceAccount: router
serviceAccountName: router
terminationGracePeriodSeconds: 30
volumes:
- hostPath:
path: /sys/fs/cgroup
name: manageiq-volume-1
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- manageiq
from:
kind: ImageStreamTag
name: manageiq:latest
type: ImageChange
status: {}
kind: List
metadata: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment