Skip to content

Instantly share code, notes, and snippets.

@syzmekk
Created September 30, 2019 07:53
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 syzmekk/198c3ae291da022ec5106d6e08b4c833 to your computer and use it in GitHub Desktop.
Save syzmekk/198c3ae291da022ec5106d6e08b4c833 to your computer and use it in GitHub Desktop.
apiVersion: v1
items:
- apiVersion: v1
kind: Pod
metadata:
annotations:
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: app-db
openshift.io/deployment.name: app-db-1
openshift.io/generated-by: OpenShiftNewApp
openshift.io/scc: scc-uid-500
creationTimestamp: 2019-09-30T06:07:02Z
generateName: app-db-1-
labels:
app: project-hcp-deploy-dc-db-template
application: app
deployment: app-db-1
deploymentConfig: app-db
deploymentconfig: app-db
name: app-db-1-hlwxt
namespace: szymon-sandbox
ownerReferences:
- apiVersion: v1
blockOwnerDeletion: true
controller: true
kind: ReplicationController
name: app-db-1
uid: 807b2ec7-e348-11e9-9663-f2a8f0e0006e
resourceVersion: "51354069"
selfLink: /api/v1/namespaces/szymon-sandbox/pods/app-db-1-hlwxt
uid: 85716dfd-e348-11e9-9663-f2a8f0e0006e
spec:
containers:
- env:
- name: APP_DB_BACKUP
value: "N"
- name: xNEXUS_DATABASE_VERSION
value: 2017.08.7-FAST-DB-SNAPSHOT
- name: DATABASE_SYS_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-db-syspassword
- name: DATABASE_APP_USER
valueFrom:
secretKeyRef:
key: username
name: app-db-appuser
- name: DATABASE_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-db-appuser
image: docker-registry.default.svc:5000/szymon-sandbox/app-db@sha256:239340d234f51b0ad6b17333e957cb6370df61b7e97cba0ff388d09a25acf2cc
imagePullPolicy: Always
lifecycle:
preStop:
exec:
command:
- /bin/bash
- -c
- /opt/oracle/oradata/dbprestop.sh
livenessProbe:
exec:
command:
- /bin/bash
- -c
- /opt/oracle/oradata/dbprobe.sh
failureThreshold: 3
initialDelaySeconds: 120
periodSeconds: 3600
successThreshold: 1
timeoutSeconds: 10
name: app-db
ports:
- containerPort: 1521
protocol: TCP
- containerPort: 5500
protocol: TCP
readinessProbe:
exec:
command:
- /bin/bash
- -c
- /opt/oracle/oradata/dbprobe.sh
failureThreshold: 3
initialDelaySeconds: 30
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 10
resources:
limits:
cpu: 999m
memory: 6Gi
requests:
cpu: 300m
memory: 4Gi
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/oracle/oradata
name: app-db
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: sa-uid500-token-9qm4w
readOnly: true
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: sa-uid500-dockercfg-v5qbv
nodeName: node
nodeSelector:
node-role.kubernetes.io/compute: "true"
type: internal
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 500
runAsUser: 500
seLinuxOptions:
level: s0:c37,c9
serviceAccount: sa-uid500
serviceAccountName: sa-uid500
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoSchedule
key: node.kubernetes.io/memory-pressure
operator: Exists
volumes:
- name: app-db
persistentVolumeClaim:
claimName: app-db
- name: sa-uid500-token-9qm4w
secret:
defaultMode: 420
secretName: sa-uid500-token-9qm4w
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:07:02Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:21:57Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: null
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:07:02Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://11279aef056bff41f38b30caa63cb802daec61a7178f446cb6a10b42effdd87b
image: docker-registry.default.svc:5000/project-bigbang-r10/app-db@sha256:239340d234f51b0ad6b17333e957cb6370df61b7e97cba0ff388d09a25acf2cc
imageID: docker-pullable://docker-registry.default.svc:5000/project-bigbang-r10/app-db@sha256:239340d234f51b0ad6b17333e957cb6370df61b7e97cba0ff388d09a25acf2cc
lastState: {}
name: app-db
ready: true
restartCount: 0
state:
running:
startedAt: 2019-09-30T06:07:11Z
hostIP: 10.96.45.25
phase: Running
podIP: 192.168.4.159
qosClass: Burstable
startTime: 2019-09-30T06:07:02Z
- apiVersion: v1
kind: Pod
metadata:
annotations:
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: app-company-etcd
openshift.io/deployment.name: app-company-etcd-1
openshift.io/generated-by: OpenShiftNewApp
openshift.io/scc: restricted
creationTimestamp: 2019-09-30T06:06:58Z
generateName: app-company-etcd-1-
labels:
app: project-hcp-deploy-dc-etcd-template
application: app
deployment: app-company-etcd-1
deploymentConfig: app-company-etcd
deploymentconfig: app-company-etcd
name: app-company-etcd-1-r4vdw
namespace: szymon-sandbox
ownerReferences:
- apiVersion: v1
blockOwnerDeletion: true
controller: true
kind: ReplicationController
name: app-company-etcd-1
uid: 7d825f4e-e348-11e9-9663-f2a8f0e0006e
resourceVersion: "51350725"
selfLink: /api/v1/namespaces/szymon-sandbox/pods/app-company-etcd-1-r4vdw
uid: 830717cf-e348-11e9-9663-f2a8f0e0006e
spec:
containers:
- image: node2/docker-local/project-images/etcd:v3.0.6
imagePullPolicy: Always
name: app-company-etcd
ports:
- containerPort: 2379
protocol: TCP
- containerPort: 2380
protocol: TCP
readinessProbe:
exec:
command:
- /bin/bash
- -c
- /bin/true
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 100m
memory: 100Mi
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
runAsUser: 1001350000
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/lib/etcd
name: company-etcd-volume-1
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-wvqmr
readOnly: true
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: default-dockercfg-qxlnp
nodeName: ap-ocp11d.oneadr.net
nodeSelector:
node-role.kubernetes.io/compute: "true"
type: internal
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 1001350000
seLinuxOptions:
level: s0:c37,c9
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoSchedule
key: node.kubernetes.io/memory-pressure
operator: Exists
volumes:
- emptyDir: {}
name: company-etcd-volume-1
- name: default-token-wvqmr
secret:
defaultMode: 420
secretName: default-token-wvqmr
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:06:58Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:07:26Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: null
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:06:58Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://f721849cd66ba8542ccb3efceefc7726dd3704c57b56075a0a91f0e77316aa63
image: node2/docker-local/project-images/etcd:v3.0.6
imageID: docker-pullable://node2/docker-local/project-images/etcd@sha256:7044f19068035ddd401de9bb1dbedcd7ddd3ef6ebbab1d8378da8e18ef328dd6
lastState: {}
name: app-company-etcd
ready: true
restartCount: 0
state:
running:
startedAt: 2019-09-30T06:07:13Z
hostIP: 10.96.41.26
phase: Running
podIP: 192.168.17.213
qosClass: Guaranteed
startTime: 2019-09-30T06:06:58Z
- apiVersion: v1
kind: Pod
metadata:
annotations:
openshift.io/deployment-config.name: app-wls
openshift.io/deployment.name: app-wls-1
openshift.io/scc: restricted
creationTimestamp: 2019-09-30T06:06:55Z
labels:
openshift.io/deployer-pod-for.name: app-wls-1
name: app-wls-1-deploy
namespace: szymon-sandbox
ownerReferences:
- apiVersion: v1
kind: ReplicationController
name: app-wls-1
uid: 80fa7af4-e348-11e9-9663-f2a8f0e0006e
resourceVersion: "51350577"
selfLink: /api/v1/namespaces/szymon-sandbox/pods/app-wls-1-deploy
uid: 80fc4592-e348-11e9-9663-f2a8f0e0006e
spec:
activeDeadlineSeconds: 21600
containers:
- env:
- name: OPENSHIFT_DEPLOYMENT_NAME
value: app-wls-1
- name: OPENSHIFT_DEPLOYMENT_NAMESPACE
value: szymon-sandbox
image: artifactory.hcp.preprod.oneadr.net/redhat-registry/openshift3/ose-deployer:v3.11.69
imagePullPolicy: Always
name: deployment
resources:
limits:
cpu: 100m
memory: 500Mi
requests:
cpu: 100m
memory: 500Mi
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
runAsUser: 1001350000
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: deployer-token-qmg7r
readOnly: true
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: deployer-dockercfg-zt22t
nodeName: node
nodeSelector:
node-role.kubernetes.io/compute: "true"
type: internal
priority: 0
restartPolicy: Never
schedulerName: default-scheduler
securityContext:
fsGroup: 1001350000
seLinuxOptions:
level: s0:c37,c9
serviceAccount: deployer
serviceAccountName: deployer
terminationGracePeriodSeconds: 10
tolerations:
- effect: NoSchedule
key: node.kubernetes.io/memory-pressure
operator: Exists
volumes:
- name: deployer-token-qmg7r
secret:
defaultMode: 420
secretName: deployer-token-qmg7r
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:06:55Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:07:00Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: null
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:06:55Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://c1ee50d0c0bfcc48ac172bceadbad36ed4a37ffe7bd0fe213e285635f6a8ac29
image: artifactory.hcp.preprod.oneadr.net/redhat-registry/openshift3/ose-deployer:v3.11.69
imageID: docker-pullable://artifactory.hcp.preprod.oneadr.net/redhat-registry/openshift3/ose-deployer@sha256:9ca0c99e7a08b9f24e70b736a0acb17111ed6fdaf2723306879053268c8db374
lastState: {}
name: deployment
ready: true
restartCount: 0
state:
running:
startedAt: 2019-09-30T06:07:00Z
hostIP: 10.96.45.25
phase: Running
podIP: 192.168.4.158
qosClass: Guaranteed
startTime: 2019-09-30T06:06:55Z
- apiVersion: v1
kind: Pod
metadata:
annotations:
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: app-wls
openshift.io/deployment.name: app-wls-1
openshift.io/generated-by: OpenShiftNewApp
openshift.io/scc: scc-uid-1000
creationTimestamp: 2019-09-30T06:07:03Z
generateName: app-wls-1-
labels:
app: project-hcp-deploy-dc-wls-template
application: app
deployment: app-wls-1
deploymentConfig: app-wls
deploymentconfig: app-wls
name: app-wls-1-sb8zg
namespace: szymon-sandbox
ownerReferences:
- apiVersion: v1
blockOwnerDeletion: true
controller: true
kind: ReplicationController
name: app-wls-1
uid: 80fa7af4-e348-11e9-9663-f2a8f0e0006e
resourceVersion: "51350677"
selfLink: /api/v1/namespaces/szymon-sandbox/pods/app-wls-1-sb8zg
uid: 8620ad1a-e348-11e9-9663-f2a8f0e0006e
spec:
containers:
- env:
- name: DATABASE_HOSTNAME
value: app-db
- name: DATABASE_SERVICE_NAME
value: orcl
- name: DATABASE_SERVICE_PORT
value: "1521"
- name: DATABASE_APP_USER
valueFrom:
secretKeyRef:
key: username
name: app-db-appuser
- name: DATABASE_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-db-appuser
- name: ADMIN_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-wls-admin-password
- name: AUTHOR_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-wls-admin-password
- name: DEPLOY_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-wls-deploy-password
- name: ONLINE_PROFILE
value: "TRUE"
- name: INSTALLER_PROFILE
value: "TRUE"
- name: BATCH_PROFILE
value: "TRUE"
image: docker-registry.default.svc:5000/szymon-sandbox/app-wls@sha256:f33c0ddf9c8628c3e2517ed216db9664495fda6b4877779da2f874634f102424
imagePullPolicy: Always
livenessProbe:
failureThreshold: 4
httpGet:
path: /Browser
port: 8001
scheme: HTTP
initialDelaySeconds: 10800
periodSeconds: 200
successThreshold: 1
timeoutSeconds: 10
name: app-wls
ports:
- containerPort: 7001
protocol: TCP
- containerPort: 8001
protocol: TCP
readinessProbe:
failureThreshold: 6
httpGet:
path: /Browser
port: 8001
scheme: HTTP
initialDelaySeconds: 120
periodSeconds: 120
successThreshold: 1
timeoutSeconds: 10
resources:
limits:
cpu: 1499m
memory: 16G
requests:
cpu: 300m
memory: 8G
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /u01/logs
name: app-wls
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: sa-uid1000-token-jkbzh
readOnly: true
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: sa-uid1000-dockercfg-jl5l9
nodeName: node
nodeSelector:
node-role.kubernetes.io/compute: "true"
type: internal
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 1000
runAsUser: 1000
seLinuxOptions:
level: s0:c37,c9
serviceAccount: sa-uid1000
serviceAccountName: sa-uid1000
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoSchedule
key: node.kubernetes.io/memory-pressure
operator: Exists
volumes:
- name: app-wls
persistentVolumeClaim:
claimName: app-wls
- name: sa-uid1000-token-jkbzh
secret:
defaultMode: 420
secretName: sa-uid1000-token-jkbzh
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:07:03Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:07:03Z
message: 'containers with unready status: [app-wls]'
reason: ContainersNotReady
status: "False"
type: Ready
- lastProbeTime: null
lastTransitionTime: null
message: 'containers with unready status: [app-wls]'
reason: ContainersNotReady
status: "False"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: 2019-09-30T06:07:03Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://4ea37271ae86920ae2a6d94ad00cfd4ad2910c42a43e384165fb906bf5f60767
image: docker-registry.default.svc:5000/project-bigbang-r10/app-wls@sha256:f33c0ddf9c8628c3e2517ed216db9664495fda6b4877779da2f874634f102424
imageID: docker-pullable://docker-registry.default.svc:5000/project-bigbang-r10/app-wls@sha256:f33c0ddf9c8628c3e2517ed216db9664495fda6b4877779da2f874634f102424
lastState: {}
name: app-wls
ready: false
restartCount: 0
state:
running:
startedAt: 2019-09-30T06:07:13Z
hostIP: 10.96.45.25
phase: Running
podIP: 192.168.4.160
qosClass: Burstable
startTime: 2019-09-30T06:07:03Z
- apiVersion: v1
kind: ReplicationController
metadata:
annotations:
openshift.io/deployer-pod.completed-at: 2019-09-30 06:21:57 +0000 UTC
openshift.io/deployer-pod.created-at: 2019-09-30 06:06:54 +0000 UTC
openshift.io/deployer-pod.name: app-db-1-deploy
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: app-db
openshift.io/deployment.phase: Complete
openshift.io/deployment.replicas: "1"
openshift.io/deployment.status-reason: config change
openshift.io/encoded-deployment-config: |
{"kind":"DeploymentConfig","apiVersion":"apps.openshift.io/v1","metadata":{"name":"app-db","namespace":"szymon-sandbox","selfLink":"/apis/apps.openshift.io/v1/namespaces/szymon-sandbox/deploymentconfigs/app-db","uid":"7f83320f-e348-11e9-bcd8-b28517a00018","resourceVersion":"51350439","generation":4,"creationTimestamp":"2019-09-30T06:06:52Z","labels":{"app":"project-hcp-deploy-dc-db-template","application":"app","template":"project-hcp-deploy-dc-db-template"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"strategy":{"type":"Recreate","recreateParams":{"timeoutSeconds":10800},"resources":{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"100m","memory":"500Mi"}},"activeDeadlineSeconds":21600},"triggers":[{"type":"ConfigChange"},{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["app-db"],"from":{"kind":"ImageStreamTag","namespace":"szymon-sandbox","name":"app-db:szymon-sandbox"},"lastTriggeredImage":"docker-registry.default.svc:5000/szymon-sandbox/app-db@sha256:239340d234f51b0ad6b17333e957cb6370df61b7e97cba0ff388d09a25acf2cc"}}],"replicas":1,"revisionHistoryLimit":10,"test":false,"selector":{"deploymentConfig":"app-db"},"template":{"metadata":{"name":"app-db","creationTimestamp":null,"labels":{"app":"project-hcp-deploy-dc-db-template","application":"app","deploymentConfig":"app-db"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"volumes":[{"name":"app-db","persistentVolumeClaim":{"claimName":"app-db"}}],"containers":[{"name":"app-db","image":"docker-registry.default.svc:5000/szymon-sandbox/app-db@sha256:239340d234f51b0ad6b17333e957cb6370df61b7e97cba0ff388d09a25acf2cc","ports":[{"containerPort":1521,"protocol":"TCP"},{"containerPort":5500,"protocol":"TCP"}],"env":[{"name":"APP_DB_BACKUP","value":"N"},{"name":"xNEXUS_DATABASE_VERSION","value":"2017.08.7-FAST-DB-SNAPSHOT"},{"name":"DATABASE_SYS_PASSWORD","valueFrom":{"secretKeyRef":{"name":"app-db-syspassword","key":"password"}}},{"name":"DATABASE_APP_USER","valueFrom":{"secretKeyRef":{"name":"app-db-appuser","key":"username"}}},{"name":"DATABASE_APP_PASSWORD","valueFrom":{"secretKeyRef":{"name":"app-db-appuser","key":"password"}}}],"resources":{"limits":{"cpu":"999m","memory":"6Gi"},"requests":{"cpu":"300m","memory":"4Gi"}},"volumeMounts":[{"name":"app-db","mountPath":"/opt/oracle/oradata"}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/oracle/oradata/dbprobe.sh"]},"initialDelaySeconds":120,"timeoutSeconds":10,"periodSeconds":3600,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/oracle/oradata/dbprobe.sh"]},"initialDelaySeconds":30,"timeoutSeconds":10,"periodSeconds":30,"successThreshold":1,"failureThreshold":3},"lifecycle":{"preStop":{"exec":{"command":["/bin/bash","-c","/opt/oracle/oradata/dbprestop.sh"]}}},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"sa-uid500","serviceAccount":"sa-uid500","securityContext":{"runAsUser":500},"schedulerName":"default-scheduler"}}},"status":{"latestVersion":1,"observedGeneration":3,"replicas":0,"updatedReplicas":0,"availableReplicas":0,"unavailableReplicas":0,"details":{"message":"config change","causes":[{"type":"ConfigChange"}]},"conditions":[{"type":"Available","status":"False","lastUpdateTime":"2019-09-30T06:06:52Z","lastTransitionTime":"2019-09-30T06:06:52Z","message":"Deployment config does not have minimum availability."}]}}
creationTimestamp: 2019-09-30T06:06:54Z
generation: 2
labels:
app: project-hcp-deploy-dc-db-template
application: app
openshift.io/deployment-config.name: app-db
template: project-hcp-deploy-dc-db-template
name: app-db-1
namespace: szymon-sandbox
ownerReferences:
- apiVersion: apps.openshift.io/v1
blockOwnerDeletion: true
controller: true
kind: DeploymentConfig
name: app-db
uid: 7f83320f-e348-11e9-bcd8-b28517a00018
resourceVersion: "51354077"
selfLink: /api/v1/namespaces/szymon-sandbox/replicationcontrollers/app-db-1
uid: 807b2ec7-e348-11e9-9663-f2a8f0e0006e
spec:
replicas: 1
selector:
deployment: app-db-1
deploymentConfig: app-db
deploymentconfig: app-db
template:
metadata:
annotations:
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: app-db
openshift.io/deployment.name: app-db-1
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: project-hcp-deploy-dc-db-template
application: app
deployment: app-db-1
deploymentConfig: app-db
deploymentconfig: app-db
spec:
containers:
- env:
- name: APP_DB_BACKUP
value: "N"
- name: xNEXUS_DATABASE_VERSION
value: 2017.08.7-FAST-DB-SNAPSHOT
- name: DATABASE_SYS_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-db-syspassword
- name: DATABASE_APP_USER
valueFrom:
secretKeyRef:
key: username
name: app-db-appuser
- name: DATABASE_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-db-appuser
image: docker-registry.default.svc:5000/szymon-sandbox/app-db@sha256:239340d234f51b0ad6b17333e957cb6370df61b7e97cba0ff388d09a25acf2cc
imagePullPolicy: Always
lifecycle:
preStop:
exec:
command:
- /bin/bash
- -c
- /opt/oracle/oradata/dbprestop.sh
livenessProbe:
exec:
command:
- /bin/bash
- -c
- /opt/oracle/oradata/dbprobe.sh
failureThreshold: 3
initialDelaySeconds: 120
periodSeconds: 3600
successThreshold: 1
timeoutSeconds: 10
name: app-db
ports:
- containerPort: 1521
protocol: TCP
- containerPort: 5500
protocol: TCP
readinessProbe:
exec:
command:
- /bin/bash
- -c
- /opt/oracle/oradata/dbprobe.sh
failureThreshold: 3
initialDelaySeconds: 30
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 10
resources:
limits:
cpu: 999m
memory: 6Gi
requests:
cpu: 300m
memory: 4Gi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/oracle/oradata
name: app-db
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
runAsUser: 500
serviceAccount: sa-uid500
serviceAccountName: sa-uid500
terminationGracePeriodSeconds: 30
volumes:
- name: app-db
persistentVolumeClaim:
claimName: app-db
status:
availableReplicas: 1
fullyLabeledReplicas: 1
observedGeneration: 2
readyReplicas: 1
replicas: 1
- apiVersion: v1
kind: ReplicationController
metadata:
annotations:
openshift.io/deployer-pod.completed-at: 2019-09-30 06:07:27 +0000 UTC
openshift.io/deployer-pod.created-at: 2019-09-30 06:06:49 +0000 UTC
openshift.io/deployer-pod.name: app-company-etcd-1-deploy
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: app-company-etcd
openshift.io/deployment.phase: Complete
openshift.io/deployment.replicas: "1"
openshift.io/deployment.status-reason: config change
openshift.io/encoded-deployment-config: |
{"kind":"DeploymentConfig","apiVersion":"apps.openshift.io/v1","metadata":{"name":"app-company-etcd","namespace":"szymon-sandbox","selfLink":"/apis/apps.openshift.io/v1/namespaces/szymon-sandbox/deploymentconfigs/app-company-etcd","uid":"7d55d6fd-e348-11e9-bcd8-b28517a00018","resourceVersion":"51350357","generation":2,"creationTimestamp":"2019-09-30T06:06:49Z","labels":{"app":"project-hcp-deploy-dc-etcd-template","application":"app","template":"project-hcp-deploy-dc-etcd-template"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"strategy":{"type":"Recreate","recreateParams":{"timeoutSeconds":600},"resources":{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"100m","memory":"500Mi"}},"activeDeadlineSeconds":21600},"triggers":[{"type":"ConfigChange"}],"replicas":1,"revisionHistoryLimit":10,"test":false,"selector":{"deploymentConfig":"app-company-etcd"},"template":{"metadata":{"name":"app-company-etcd","creationTimestamp":null,"labels":{"app":"project-hcp-deploy-dc-etcd-template","application":"app","deploymentConfig":"app-company-etcd"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"volumes":[{"name":"company-etcd-volume-1","emptyDir":{}}],"containers":[{"name":"app-company-etcd","image":"node2/docker-local/project-images/etcd:v3.0.6","ports":[{"containerPort":2379,"protocol":"TCP"},{"containerPort":2380,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"100Mi"},"requests":{"cpu":"100m","memory":"100Mi"}},"volumeMounts":[{"name":"company-etcd-volume-1","mountPath":"/var/lib/etcd"}],"readinessProbe":{"exec":{"command":["/bin/bash","-c","/bin/true"]},"initialDelaySeconds":5,"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}}},"status":{"latestVersion":1,"observedGeneration":1,"replicas":0,"updatedReplicas":0,"availableReplicas":0,"unavailableReplicas":0,"details":{"message":"config change","causes":[{"type":"ConfigChange"}]},"conditions":[{"type":"Available","status":"False","lastUpdateTime":"2019-09-30T06:06:49Z","lastTransitionTime":"2019-09-30T06:06:49Z","message":"Deployment config does not have minimum availability."}]}}
creationTimestamp: 2019-09-30T06:06:49Z
generation: 2
labels:
app: project-hcp-deploy-dc-etcd-template
application: app
openshift.io/deployment-config.name: app-company-etcd
template: project-hcp-deploy-dc-etcd-template
name: app-company-etcd-1
namespace: szymon-sandbox
ownerReferences:
- apiVersion: apps.openshift.io/v1
blockOwnerDeletion: true
controller: true
kind: DeploymentConfig
name: app-company-etcd
uid: 7d55d6fd-e348-11e9-bcd8-b28517a00018
resourceVersion: "51350747"
selfLink: /api/v1/namespaces/szymon-sandbox/replicationcontrollers/app-company-etcd-1
uid: 7d825f4e-e348-11e9-9663-f2a8f0e0006e
spec:
replicas: 1
selector:
deployment: app-company-etcd-1
deploymentConfig: app-company-etcd
deploymentconfig: app-company-etcd
template:
metadata:
annotations:
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: app-company-etcd
openshift.io/deployment.name: app-company-etcd-1
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: project-hcp-deploy-dc-etcd-template
application: app
deployment: app-company-etcd-1
deploymentConfig: app-company-etcd
deploymentconfig: app-company-etcd
spec:
containers:
- image: node2/docker-local/project-images/etcd:v3.0.6
imagePullPolicy: Always
name: app-company-etcd
ports:
- containerPort: 2379
protocol: TCP
- containerPort: 2380
protocol: TCP
readinessProbe:
exec:
command:
- /bin/bash
- -c
- /bin/true
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 100m
memory: 100Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/lib/etcd
name: company-etcd-volume-1
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- emptyDir: {}
name: company-etcd-volume-1
status:
availableReplicas: 1
fullyLabeledReplicas: 1
observedGeneration: 2
readyReplicas: 1
replicas: 1
- apiVersion: v1
kind: ReplicationController
metadata:
annotations:
kubectl.kubernetes.io/desired-replicas: "1"
openshift.io/deployer-pod.created-at: 2019-09-30 06:06:55 +0000 UTC
openshift.io/deployer-pod.name: app-wls-1-deploy
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: app-wls
openshift.io/deployment.phase: Running
openshift.io/deployment.replicas: "0"
openshift.io/deployment.status-reason: config change
openshift.io/encoded-deployment-config: |
{"kind":"DeploymentConfig","apiVersion":"apps.openshift.io/v1","metadata":{"name":"app-wls","namespace":"szymon-sandbox","selfLink":"/apis/apps.openshift.io/v1/namespaces/szymon-sandbox/deploymentconfigs/app-wls","uid":"809b235e-e348-11e9-ba57-f2a8f0e0006a","resourceVersion":"51350480","generation":4,"creationTimestamp":"2019-09-30T06:06:54Z","labels":{"app":"project-hcp-deploy-dc-wls-template","application":"app","template":"project-hcp-deploy-dc-wls-template"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"strategy":{"type":"Rolling","rollingParams":{"updatePeriodSeconds":1,"intervalSeconds":1,"timeoutSeconds":10800,"maxUnavailable":"25%","maxSurge":"25%"},"resources":{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"100m","memory":"500Mi"}},"activeDeadlineSeconds":21600},"triggers":[{"type":"ConfigChange"},{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["app-wls"],"from":{"kind":"ImageStreamTag","namespace":"szymon-sandbox","name":"app-wls:szymon-sandbox"},"lastTriggeredImage":"docker-registry.default.svc:5000/szymon-sandbox/app-wls@sha256:f33c0ddf9c8628c3e2517ed216db9664495fda6b4877779da2f874634f102424"}}],"replicas":1,"revisionHistoryLimit":10,"test":false,"selector":{"deploymentConfig":"app-wls"},"template":{"metadata":{"name":"app-wls","creationTimestamp":null,"labels":{"app":"project-hcp-deploy-dc-wls-template","application":"app","deploymentConfig":"app-wls"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"volumes":[{"name":"app-wls","persistentVolumeClaim":{"claimName":"app-wls"}}],"containers":[{"name":"app-wls","image":"docker-registry.default.svc:5000/szymon-sandbox/app-wls@sha256:f33c0ddf9c8628c3e2517ed216db9664495fda6b4877779da2f874634f102424","ports":[{"containerPort":7001,"protocol":"TCP"},{"containerPort":8001,"protocol":"TCP"}],"env":[{"name":"DATABASE_HOSTNAME","value":"app-db"},{"name":"DATABASE_SERVICE_NAME","value":"orcl"},{"name":"DATABASE_SERVICE_PORT","value":"1521"},{"name":"DATABASE_APP_USER","valueFrom":{"secretKeyRef":{"name":"app-db-appuser","key":"username"}}},{"name":"DATABASE_APP_PASSWORD","valueFrom":{"secretKeyRef":{"name":"app-db-appuser","key":"password"}}},{"name":"ADMIN_APP_PASSWORD","valueFrom":{"secretKeyRef":{"name":"app-wls-admin-password","key":"password"}}},{"name":"AUTHOR_APP_PASSWORD","valueFrom":{"secretKeyRef":{"name":"app-wls-admin-password","key":"password"}}},{"name":"DEPLOY_APP_PASSWORD","valueFrom":{"secretKeyRef":{"name":"app-wls-deploy-password","key":"password"}}},{"name":"ONLINE_PROFILE","value":"TRUE"},{"name":"INSTALLER_PROFILE","value":"TRUE"},{"name":"BATCH_PROFILE","value":"TRUE"}],"resources":{"limits":{"cpu":"1499m","memory":"16G"},"requests":{"cpu":"300m","memory":"8G"}},"volumeMounts":[{"name":"app-wls","mountPath":"/u01/logs"}],"livenessProbe":{"httpGet":{"path":"/Browser","port":8001,"scheme":"HTTP"},"initialDelaySeconds":10800,"timeoutSeconds":10,"periodSeconds":200,"successThreshold":1,"failureThreshold":4},"readinessProbe":{"httpGet":{"path":"/Browser","port":8001,"scheme":"HTTP"},"initialDelaySeconds":120,"timeoutSeconds":10,"periodSeconds":120,"successThreshold":1,"failureThreshold":6},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"sa-uid1000","serviceAccount":"sa-uid1000","securityContext":{"runAsUser":1000},"schedulerName":"default-scheduler"}}},"status":{"latestVersion":1,"observedGeneration":2,"replicas":0,"updatedReplicas":0,"availableReplicas":0,"unavailableReplicas":0,"details":{"message":"config change","causes":[{"type":"ConfigChange"}]},"conditions":[{"type":"Available","status":"False","lastUpdateTime":"2019-09-30T06:06:54Z","lastTransitionTime":"2019-09-30T06:06:54Z","message":"Deployment config does not have minimum availability."}]}}
creationTimestamp: 2019-09-30T06:06:55Z
generation: 2
labels:
app: project-hcp-deploy-dc-wls-template
application: app
openshift.io/deployment-config.name: app-wls
template: project-hcp-deploy-dc-wls-template
name: app-wls-1
namespace: szymon-sandbox
ownerReferences:
- apiVersion: apps.openshift.io/v1
blockOwnerDeletion: true
controller: true
kind: DeploymentConfig
name: app-wls
uid: 809b235e-e348-11e9-ba57-f2a8f0e0006a
resourceVersion: "51350611"
selfLink: /api/v1/namespaces/szymon-sandbox/replicationcontrollers/app-wls-1
uid: 80fa7af4-e348-11e9-9663-f2a8f0e0006e
spec:
replicas: 1
selector:
deployment: app-wls-1
deploymentConfig: app-wls
deploymentconfig: app-wls
template:
metadata:
annotations:
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: app-wls
openshift.io/deployment.name: app-wls-1
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: project-hcp-deploy-dc-wls-template
application: app
deployment: app-wls-1
deploymentConfig: app-wls
deploymentconfig: app-wls
spec:
containers:
- env:
- name: DATABASE_HOSTNAME
value: app-db
- name: DATABASE_SERVICE_NAME
value: orcl
- name: DATABASE_SERVICE_PORT
value: "1521"
- name: DATABASE_APP_USER
valueFrom:
secretKeyRef:
key: username
name: app-db-appuser
- name: DATABASE_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-db-appuser
- name: ADMIN_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-wls-admin-password
- name: AUTHOR_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-wls-admin-password
- name: DEPLOY_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-wls-deploy-password
- name: ONLINE_PROFILE
value: "TRUE"
- name: INSTALLER_PROFILE
value: "TRUE"
- name: BATCH_PROFILE
value: "TRUE"
image: docker-registry.default.svc:5000/szymon-sandbox/app-wls@sha256:f33c0ddf9c8628c3e2517ed216db9664495fda6b4877779da2f874634f102424
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 4
httpGet:
path: /Browser
port: 8001
scheme: HTTP
initialDelaySeconds: 10800
periodSeconds: 200
successThreshold: 1
timeoutSeconds: 10
name: app-wls
ports:
- containerPort: 7001
protocol: TCP
- containerPort: 8001
protocol: TCP
readinessProbe:
failureThreshold: 6
httpGet:
path: /Browser
port: 8001
scheme: HTTP
initialDelaySeconds: 120
periodSeconds: 120
successThreshold: 1
timeoutSeconds: 10
resources:
limits:
cpu: 1499m
memory: 16G
requests:
cpu: 300m
memory: 8G
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /u01/logs
name: app-wls
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
runAsUser: 1000
serviceAccount: sa-uid1000
serviceAccountName: sa-uid1000
terminationGracePeriodSeconds: 30
volumes:
- name: app-wls
persistentVolumeClaim:
claimName: app-wls
status:
fullyLabeledReplicas: 1
observedGeneration: 2
replicas: 1
- apiVersion: v1
kind: Service
metadata:
annotations:
description: Oracle Database port
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2019-09-30T06:06:52Z
labels:
app: project-hcp-deploy-dc-db-template
application: app
template: project-hcp-deploy-dc-db-template
name: app-db
namespace: szymon-sandbox
resourceVersion: "51350413"
selfLink: /api/v1/namespaces/szymon-sandbox/services/app-db
uid: 7f75510f-e348-11e9-bcd8-b28517a00018
spec:
clusterIP: 172.30.253.101
externalTrafficPolicy: Cluster
ports:
- nodePort: 30923
port: 1521
protocol: TCP
targetPort: 1521
selector:
deploymentConfig: app-db
sessionAffinity: None
type: NodePort
status:
loadBalancer: {}
- apiVersion: v1
kind: Service
metadata:
annotations:
description: Oracle Database Admin Server port
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2019-09-30T06:06:52Z
labels:
app: project-hcp-deploy-dc-db-template
application: app
template: project-hcp-deploy-dc-db-template
name: app-db-adm
namespace: szymon-sandbox
resourceVersion: "51350417"
selfLink: /api/v1/namespaces/szymon-sandbox/services/app-db-adm
uid: 7f7875ee-e348-11e9-bcd8-b28517a00018
spec:
clusterIP: 172.30.2.150
ports:
- port: 5500
protocol: TCP
targetPort: 5500
selector:
deploymentConfig: app-db
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
- apiVersion: v1
kind: Service
metadata:
annotations:
description: company-etcd
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2019-09-30T06:06:49Z
labels:
app: project-hcp-deploy-dc-etcd-template
application: app
template: project-hcp-deploy-dc-etcd-template
name: app-company-etcd
namespace: szymon-sandbox
resourceVersion: "51350351"
selfLink: /api/v1/namespaces/szymon-sandbox/services/app-company-etcd
uid: 7d52f66e-e348-11e9-bcd8-b28517a00018
spec:
clusterIP: 172.30.153.56
ports:
- name: port-2379
port: 2379
protocol: TCP
targetPort: 2379
- name: port-2380
port: 2380
protocol: TCP
targetPort: 2380
selector:
deploymentConfig: app-company-etcd
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
- apiVersion: v1
kind: Service
metadata:
annotations:
description: Weblogic Managed Server port
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2019-09-30T06:06:54Z
labels:
app: project-hcp-deploy-dc-wls-template
application: app
template: project-hcp-deploy-dc-wls-template
name: app-wls
namespace: szymon-sandbox
resourceVersion: "51350458"
selfLink: /api/v1/namespaces/szymon-sandbox/services/app-wls
uid: 80917e4b-e348-11e9-ba57-f2a8f0e0006a
spec:
clusterIP: 172.30.48.253
ports:
- port: 8001
protocol: TCP
targetPort: 8001
selector:
deploymentConfig: app-wls
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
- apiVersion: v1
kind: Service
metadata:
annotations:
description: Weblogic Admin Console port
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2019-09-30T06:06:54Z
labels:
app: project-hcp-deploy-dc-wls-template
application: app
template: project-hcp-deploy-dc-wls-template
name: app-wls-adm
namespace: szymon-sandbox
resourceVersion: "51350462"
selfLink: /api/v1/namespaces/szymon-sandbox/services/app-wls-adm
uid: 8094e198-e348-11e9-ba57-f2a8f0e0006a
spec:
clusterIP: 172.30.154.12
ports:
- port: 7001
protocol: TCP
targetPort: 7001
selector:
deploymentConfig: app-wls
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
- apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2019-09-30T06:06:52Z
generation: 4
labels:
app: project-hcp-deploy-dc-db-template
application: app
template: project-hcp-deploy-dc-db-template
name: app-db
namespace: szymon-sandbox
resourceVersion: "51354080"
selfLink: /apis/apps.openshift.io/v1/namespaces/szymon-sandbox/deploymentconfigs/app-db
uid: 7f83320f-e348-11e9-bcd8-b28517a00018
spec:
replicas: 1
revisionHistoryLimit: 10
selector:
deploymentConfig: app-db
strategy:
activeDeadlineSeconds: 21600
recreateParams:
timeoutSeconds: 10800
resources:
limits:
cpu: 100m
memory: 500Mi
requests:
cpu: 100m
memory: 500Mi
type: Recreate
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: project-hcp-deploy-dc-db-template
application: app
deploymentConfig: app-db
name: app-db
spec:
containers:
- env:
- name: APP_DB_BACKUP
value: "N"
- name: xNEXUS_DATABASE_VERSION
value: 2017.08.7-FAST-DB-SNAPSHOT
- name: DATABASE_SYS_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-db-syspassword
- name: DATABASE_APP_USER
valueFrom:
secretKeyRef:
key: username
name: app-db-appuser
- name: DATABASE_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-db-appuser
image: docker-registry.default.svc:5000/szymon-sandbox/app-db@sha256:239340d234f51b0ad6b17333e957cb6370df61b7e97cba0ff388d09a25acf2cc
imagePullPolicy: Always
lifecycle:
preStop:
exec:
command:
- /bin/bash
- -c
- /opt/oracle/oradata/dbprestop.sh
livenessProbe:
exec:
command:
- /bin/bash
- -c
- /opt/oracle/oradata/dbprobe.sh
failureThreshold: 3
initialDelaySeconds: 120
periodSeconds: 3600
successThreshold: 1
timeoutSeconds: 10
name: app-db
ports:
- containerPort: 1521
protocol: TCP
- containerPort: 5500
protocol: TCP
readinessProbe:
exec:
command:
- /bin/bash
- -c
- /opt/oracle/oradata/dbprobe.sh
failureThreshold: 3
initialDelaySeconds: 30
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 10
resources:
limits:
cpu: 999m
memory: 6Gi
requests:
cpu: 300m
memory: 4Gi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/oracle/oradata
name: app-db
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
runAsUser: 500
serviceAccount: sa-uid500
serviceAccountName: sa-uid500
terminationGracePeriodSeconds: 30
volumes:
- name: app-db
persistentVolumeClaim:
claimName: app-db
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- app-db
from:
kind: ImageStreamTag
name: app-db:szymon-sandbox
namespace: szymon-sandbox
lastTriggeredImage: docker-registry.default.svc:5000/szymon-sandbox/app-db@sha256:239340d234f51b0ad6b17333e957cb6370df61b7e97cba0ff388d09a25acf2cc
type: ImageChange
status:
availableReplicas: 1
conditions:
- lastTransitionTime: 2019-09-30T06:21:57Z
lastUpdateTime: 2019-09-30T06:21:57Z
message: Deployment config has minimum availability.
status: "True"
type: Available
- lastTransitionTime: 2019-09-30T06:07:02Z
lastUpdateTime: 2019-09-30T06:21:57Z
message: replication controller "app-db-1" successfully rolled out
reason: NewReplicationControllerAvailable
status: "True"
type: Progressing
details:
causes:
- type: ConfigChange
message: config change
latestVersion: 1
observedGeneration: 4
readyReplicas: 1
replicas: 1
unavailableReplicas: 0
updatedReplicas: 1
- apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2019-09-30T06:06:49Z
generation: 2
labels:
app: project-hcp-deploy-dc-etcd-template
application: app
template: project-hcp-deploy-dc-etcd-template
name: app-company-etcd
namespace: szymon-sandbox
resourceVersion: "51350749"
selfLink: /apis/apps.openshift.io/v1/namespaces/szymon-sandbox/deploymentconfigs/app-company-etcd
uid: 7d55d6fd-e348-11e9-bcd8-b28517a00018
spec:
replicas: 1
revisionHistoryLimit: 10
selector:
deploymentConfig: app-company-etcd
strategy:
activeDeadlineSeconds: 21600
recreateParams:
timeoutSeconds: 600
resources:
limits:
cpu: 100m
memory: 500Mi
requests:
cpu: 100m
memory: 500Mi
type: Recreate
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: project-hcp-deploy-dc-etcd-template
application: app
deploymentConfig: app-company-etcd
name: app-company-etcd
spec:
containers:
- image: node2/docker-local/project-images/etcd:v3.0.6
imagePullPolicy: Always
name: app-company-etcd
ports:
- containerPort: 2379
protocol: TCP
- containerPort: 2380
protocol: TCP
readinessProbe:
exec:
command:
- /bin/bash
- -c
- /bin/true
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 100m
memory: 100Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/lib/etcd
name: company-etcd-volume-1
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- emptyDir: {}
name: company-etcd-volume-1
test: false
triggers:
- type: ConfigChange
status:
availableReplicas: 1
conditions:
- lastTransitionTime: 2019-09-30T06:07:26Z
lastUpdateTime: 2019-09-30T06:07:26Z
message: Deployment config has minimum availability.
status: "True"
type: Available
- lastTransitionTime: 2019-09-30T06:06:58Z
lastUpdateTime: 2019-09-30T06:07:28Z
message: replication controller "app-company-etcd-1" successfully rolled out
reason: NewReplicationControllerAvailable
status: "True"
type: Progressing
details:
causes:
- type: ConfigChange
message: config change
latestVersion: 1
observedGeneration: 2
readyReplicas: 1
replicas: 1
unavailableReplicas: 0
updatedReplicas: 1
- apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2019-09-30T06:06:54Z
generation: 4
labels:
app: project-hcp-deploy-dc-wls-template
application: app
template: project-hcp-deploy-dc-wls-template
name: app-wls
namespace: szymon-sandbox
resourceVersion: "51350614"
selfLink: /apis/apps.openshift.io/v1/namespaces/szymon-sandbox/deploymentconfigs/app-wls
uid: 809b235e-e348-11e9-ba57-f2a8f0e0006a
spec:
replicas: 1
revisionHistoryLimit: 10
selector:
deploymentConfig: app-wls
strategy:
activeDeadlineSeconds: 21600
resources:
limits:
cpu: 100m
memory: 500Mi
requests:
cpu: 100m
memory: 500Mi
rollingParams:
intervalSeconds: 1
maxSurge: 25%
maxUnavailable: 25%
timeoutSeconds: 10800
updatePeriodSeconds: 1
type: Rolling
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: project-hcp-deploy-dc-wls-template
application: app
deploymentConfig: app-wls
name: app-wls
spec:
containers:
- env:
- name: DATABASE_HOSTNAME
value: app-db
- name: DATABASE_SERVICE_NAME
value: orcl
- name: DATABASE_SERVICE_PORT
value: "1521"
- name: DATABASE_APP_USER
valueFrom:
secretKeyRef:
key: username
name: app-db-appuser
- name: DATABASE_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-db-appuser
- name: ADMIN_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-wls-admin-password
- name: AUTHOR_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-wls-admin-password
- name: DEPLOY_APP_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: app-wls-deploy-password
- name: ONLINE_PROFILE
value: "TRUE"
- name: INSTALLER_PROFILE
value: "TRUE"
- name: BATCH_PROFILE
value: "TRUE"
image: docker-registry.default.svc:5000/szymon-sandbox/app-wls@sha256:f33c0ddf9c8628c3e2517ed216db9664495fda6b4877779da2f874634f102424
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 4
httpGet:
path: /Browser
port: 8001
scheme: HTTP
initialDelaySeconds: 10800
periodSeconds: 200
successThreshold: 1
timeoutSeconds: 10
name: app-wls
ports:
- containerPort: 7001
protocol: TCP
- containerPort: 8001
protocol: TCP
readinessProbe:
failureThreshold: 6
httpGet:
path: /Browser
port: 8001
scheme: HTTP
initialDelaySeconds: 120
periodSeconds: 120
successThreshold: 1
timeoutSeconds: 10
resources:
limits:
cpu: 1499m
memory: 16G
requests:
cpu: 300m
memory: 8G
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /u01/logs
name: app-wls
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
runAsUser: 1000
serviceAccount: sa-uid1000
serviceAccountName: sa-uid1000
terminationGracePeriodSeconds: 30
volumes:
- name: app-wls
persistentVolumeClaim:
claimName: app-wls
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- app-wls
from:
kind: ImageStreamTag
name: app-wls:szymon-sandbox
namespace: szymon-sandbox
lastTriggeredImage: docker-registry.default.svc:5000/szymon-sandbox/app-wls@sha256:f33c0ddf9c8628c3e2517ed216db9664495fda6b4877779da2f874634f102424
type: ImageChange
status:
availableReplicas: 0
conditions:
- lastTransitionTime: 2019-09-30T06:06:54Z
lastUpdateTime: 2019-09-30T06:06:54Z
message: Deployment config does not have minimum availability.
status: "False"
type: Available
- lastTransitionTime: 2019-09-30T06:07:03Z
lastUpdateTime: 2019-09-30T06:07:03Z
message: replication controller "app-wls-1" is progressing
reason: ReplicationControllerUpdated
status: "True"
type: Progressing
details:
causes:
- type: ConfigChange
message: config change
latestVersion: 1
observedGeneration: 4
replicas: 1
unavailableReplicas: 1
updatedReplicas: 1
- apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
creationTimestamp: 2019-09-30T06:06:52Z
generation: 1
name: app-db
namespace: szymon-sandbox
resourceVersion: "51350407"
selfLink: /apis/image.openshift.io/v1/namespaces/szymon-sandbox/imagestreams/app-db
uid: 7f4358e3-e348-11e9-bcd8-b28517a00018
spec:
lookupPolicy:
local: false
tags:
- annotations: null
from:
kind: ImageStreamImage
name: app-db@sha256:239340d234f51b0ad6b17333e957cb6370df61b7e97cba0ff388d09a25acf2cc
namespace: imagebuilder
generation: 1
importPolicy: {}
name: szymon-sandbox
referencePolicy:
type: Source
status:
dockerImageRepository: docker-registry.default.svc:5000/szymon-sandbox/app-db
tags:
- items:
- created: 2019-09-30T06:06:52Z
dockerImageReference: docker-registry.default.svc:5000/szymon-sandbox/app-db@sha256:239340d234f51b0ad6b17333e957cb6370df61b7e97cba0ff388d09a25acf2cc
generation: 1
image: sha256:239340d234f51b0ad6b17333e957cb6370df61b7e97cba0ff388d09a25acf2cc
tag: szymon-sandbox
- apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
creationTimestamp: 2019-09-30T06:06:54Z
generation: 1
name: app-wls
namespace: szymon-sandbox
resourceVersion: "51350437"
selfLink: /apis/image.openshift.io/v1/namespaces/szymon-sandbox/imagestreams/app-wls
uid: 8062c2bf-e348-11e9-ba57-f2a8f0e0006a
spec:
lookupPolicy:
local: false
tags:
- annotations: null
from:
kind: ImageStreamImage
name: app-wls@sha256:f33c0ddf9c8628c3e2517ed216db9664495fda6b4877779da2f874634f102424
namespace: imagebuilder
generation: 1
importPolicy: {}
name: szymon-sandbox
referencePolicy:
type: Source
status:
dockerImageRepository: docker-registry.default.svc:5000/szymon-sandbox/app-wls
tags:
- items:
- created: 2019-09-30T06:06:54Z
dockerImageReference: docker-registry.default.svc:5000/szymon-sandbox/app-wls@sha256:f33c0ddf9c8628c3e2517ed216db9664495fda6b4877779da2f874634f102424
generation: 1
image: sha256:f33c0ddf9c8628c3e2517ed216db9664495fda6b4877779da2f874634f102424
tag: szymon-sandbox
- apiVersion: route.openshift.io/v1
kind: Route
metadata:
annotations:
description: Route for Oracle DB Admin Server
openshift.io/generated-by: OpenShiftNewApp
openshift.io/host.generated: "true"
creationTimestamp: 2019-09-30T06:06:52Z
labels:
app: project-hcp-deploy-dc-db-template
application: app
template: project-hcp-deploy-dc-db-template
name: db
namespace: szymon-sandbox
resourceVersion: "51350420"
selfLink: /apis/route.openshift.io/v1/namespaces/szymon-sandbox/routes/db
uid: 7f8075a4-e348-11e9-bcd8-b28517a00018
spec:
host: db-szymon-sandbox.ocp-staging.qaoneadr.local
tls:
termination: passthrough
to:
kind: Service
name: app-db-adm
weight: 100
wildcardPolicy: None
status:
ingress:
- conditions:
- lastTransitionTime: 2019-09-30T06:06:52Z
status: "True"
type: Admitted
host: db-szymon-sandbox.ocp-staging.qaoneadr.local
routerName: router
wildcardPolicy: None
- apiVersion: route.openshift.io/v1
kind: Route
metadata:
annotations:
description: Route for Weblogic Managed Server
haproxy.router.openshift.io/timeout: 2m
openshift.io/generated-by: OpenShiftNewApp
openshift.io/host.generated: "true"
creationTimestamp: 2019-09-30T06:06:54Z
labels:
app: project-hcp-deploy-dc-wls-template
application: app
template: project-hcp-deploy-dc-wls-template
name: app
namespace: szymon-sandbox
resourceVersion: "51350465"
selfLink: /apis/route.openshift.io/v1/namespaces/szymon-sandbox/routes/app
uid: 80978dd7-e348-11e9-ba57-f2a8f0e0006a
spec:
host: app-szymon-sandbox.ocp-staging.qaoneadr.local
path: /
tls:
insecureEdgeTerminationPolicy: Allow
termination: edge
to:
kind: Service
name: app-wls
weight: 100
wildcardPolicy: None
status:
ingress:
- conditions:
- lastTransitionTime: 2019-09-30T06:06:54Z
status: "True"
type: Admitted
host: app-szymon-sandbox.ocp-staging.qaoneadr.local
routerName: router
wildcardPolicy: None
- apiVersion: route.openshift.io/v1
kind: Route
metadata:
annotations:
description: Route for Weblogic Admin Server
openshift.io/generated-by: OpenShiftNewApp
openshift.io/host.generated: "true"
creationTimestamp: 2019-09-30T06:06:54Z
labels:
app: project-hcp-deploy-dc-wls-template
application: app
template: project-hcp-deploy-dc-wls-template
name: wls
namespace: szymon-sandbox
resourceVersion: "51350467"
selfLink: /apis/route.openshift.io/v1/namespaces/szymon-sandbox/routes/wls
uid: 80991975-e348-11e9-ba57-f2a8f0e0006a
spec:
host: wls-szymon-sandbox.ocp-staging.qaoneadr.local
path: /
to:
kind: Service
name: app-wls-adm
weight: 100
wildcardPolicy: None
status:
ingress:
- conditions:
- lastTransitionTime: 2019-09-30T06:06:54Z
status: "True"
type: Admitted
host: wls-szymon-sandbox.ocp-staging.qaoneadr.local
routerName: router
wildcardPolicy: None
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment