Skip to content

Instantly share code, notes, and snippets.

@fridim

fridim/dc.yaml Secret

Created September 28, 2016 10:02
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/aa3491eac28ee0ad7c4fd3b87da10641 to your computer and use it in GitHub Desktop.
Save fridim/aa3491eac28ee0ad7c4fd3b87da10641 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-28T09:47:17Z
generation: 2
labels:
app: ruby-ex
name: ruby-ex
namespace: test-multicontainer
resourceVersion: "1978674"
selfLink: /oapi/v1/namespaces/test-multicontainer/deploymentconfigs/ruby-ex
uid: 8b1f9328-8560-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:9fb754049d4f97df32572baccddcbfa34fecbcc559efa7bf16441e4437acb25a
imagePullPolicy: Always
name: ruby-ex
ports:
- containerPort: 8080
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
- image: ruby-ex:latest
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
- ruby-ex2
from:
kind: ImageStreamTag
name: ruby-ex:latest
namespace: test-multicontainer
lastTriggeredImage: 172.30.87.209:5000/test-multicontainer/ruby-ex@sha256:9fb754049d4f97df32572baccddcbfa34fecbcc559efa7bf16441e4437acb25a
type: ImageChange
status:
details:
causes:
- imageTrigger:
from:
kind: ImageStreamTag
name: ruby-ex:latest
namespace: test-multicontainer
type: ImageChange
message: caused by an image change
latestVersion: 1
observedGeneration: 2
kind: List
metadata: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment