Skip to content

Instantly share code, notes, and snippets.

@fridim

fridim/dc.yaml Secret

Created September 28, 2016 12:17
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 fridim/d3c0caa0b6b8b20dd6029d8d4a3faa5e to your computer and use it in GitHub Desktop.
Save fridim/d3c0caa0b6b8b20dd6029d8d4a3faa5e to your computer and use it in GitHub Desktop.
apiVersion: v1
items:
- apiVersion: v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2016-09-28T10:06:39Z
generation: 3
labels:
app: ruby-ex
name: ruby-ex
namespace: test-multicontainer
resourceVersion: "1989274"
selfLink: /oapi/v1/namespaces/test-multicontainer/deploymentconfigs/ruby-ex
uid: 3f899104-8563-11e6-9e01-ac162d7c2550
spec:
replicas: 1
selector:
app: ruby-ex
deploymentconfig: ruby-ex
strategy:
resources: {}
rollingParams:
intervalSeconds: 1
maxSurge: 25%
maxUnavailable: 25%
timeoutSeconds: 600
updatePeriodSeconds: 1
type: Rolling
template:
metadata:
annotations:
openshift.io/container.ruby-ex.image.entrypoint: '["container-entrypoint","/bin/sh","-c","$STI_SCRIPTS_PATH/usage"]'
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: ruby-ex
deploymentconfig: ruby-ex
spec:
containers:
- image: 172.30.87.209:5000/test-multicontainer/ruby-ex@sha256:e8f8fd10333f8c011a66a6f03bcaf4918e80618672178cc2735f24c839c53a2b
imagePullPolicy: Always
name: ruby-ex
ports:
- containerPort: 8080
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
- image: 172.30.87.209:5000/test-multicontainer/ruby-ex@sha256:e8f8fd10333f8c011a66a6f03bcaf4918e80618672178cc2735f24c839c53a2b
imagePullPolicy: Always
name: ruby-ex2
ports:
- containerPort: 8081
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
dnsPolicy: ClusterFirst
restartPolicy: Always
securityContext: {}
terminationGracePeriodSeconds: 30
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- ruby-ex
from:
kind: ImageStreamTag
name: ruby-ex:latest
namespace: test-multicontainer
lastTriggeredImage: 172.30.87.209:5000/test-multicontainer/ruby-ex@sha256:e8f8fd10333f8c011a66a6f03bcaf4918e80618672178cc2735f24c839c53a2b
type: ImageChange
- imageChangeParams:
automatic: true
containerNames:
- ruby-ex2
from:
kind: ImageStreamTag
name: ruby-ex:latest
namespace: test-multicontainer
lastTriggeredImage: 172.30.87.209:5000/test-multicontainer/ruby-ex@sha256:e8f8fd10333f8c011a66a6f03bcaf4918e80618672178cc2735f24c839c53a2b
type: ImageChange
status:
details:
causes:
- imageTrigger:
from:
kind: ImageStreamTag
name: ruby-ex:latest
namespace: test-multicontainer
type: ImageChange
- imageTrigger:
from:
kind: ImageStreamTag
name: ruby-ex:latest
namespace: test-multicontainer
type: ImageChange
message: caused by an image change
latestVersion: 1
observedGeneration: 3
replicas: 1
unavailableReplicas: 1
updatedReplicas: 1
kind: List
metadata: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment