0% found this document useful (0 votes)
10 views

Docker_ite

The document describes a Kubernetes deployment configuration for an application named 'co-gsig2lite' in the 'tibco-others-uat' namespace, specifying one replica and various security settings. It includes details about the container image, resource limits, environment variables, and ports. Additionally, it defines a corresponding service and route for accessing the application externally.

Uploaded by

babin1005
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Docker_ite

The document describes a Kubernetes deployment configuration for an application named 'co-gsig2lite' in the 'tibco-others-uat' namespace, specifying one replica and various security settings. It includes details about the container image, resource limits, environment variables, and ports. Additionally, it defines a corresponding service and route for accessing the application externally.

Uploaded by

babin1005
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

apiVersion: apps/v1

kind: Deployment
metadata:
name: co-gsig2lite
namespace: tibco-others-uat
spec:
replicas: 1
selector:
matchLabels:
app: co-gsig2lite
template:
metadata:
labels:
app: co-gsig2lite
spec:
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
containers:
- name: co-gsig2lite
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
image: image-registry.openshift-image-registry.svc:5000/tibco-others-sit/
co-gsig2lite:1.0.1
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1Gi
requests:
cpu: 500m
memory: 512Mi
env:
- name: BW_JAVA_OPTS
value: '-Duser.timezone=WIB -Dbw.engine.opentracing.enable=true -
Dbw.application.activity.validateOutput=false -
Dbw.application.activity.validateInput=false'
- name: BW_PROFILE
value: 'SIT'
- name: CUSTOM_LOGBACK
value: 'true'
- name: bs.getsubsinfo.client.clientHttpConnection.hostname
value: 'bs-getsubsinfolite-uat.apps.ocpmwdev.ioh.co.id'
- name: bs.getsubsinfo.client.clientHttpConnection.MaxHttpConn
value: '200'
- name: bs.getsubsinfo.client.clientHttpConnection.MaxHttpConnHost
value: '20'
- name: bs.getsubsinfo.client.clientHttpConnection.port
value: '80'
- name: bs.getsubsinfo.client.clientHttpConnection.timeout
value: '30'
- name: co.gsig2lite.HttpPort
value: '8447'
- name: common.shared.Log.Level
value: 'INFO'
- name: common.shared.Log.LogReferenceEnabled
value: 'true'
- name: common.shared.Log.PayloadEnabled
value: 'true'
ports:
- containerPort: 8447
---
apiVersion: v1
kind: Service
metadata:
name: co-gsig2lite
namespace: tibco-others-uat
labels:
app: co-gsig2lite
spec:
type: NodePort
selector:
app: co-gsig2lite
ports:
- name: co-gsig2lite-8447-tcp
protocol: TCP
port: 8080
targetPort: 8447
---
kind: Route
apiVersion: route.openshift.io/v1
metadata:
name: co-gsig2lite
namespace: tibco-others-uat
labels:
app: co-gsig2lite
spec:
host: co-gsig2lite-uat.apps.ocpmwdev.ioh.co.id
path:
to:
kind: Service
name: co-gsig2lite
weight: 100
port:
targetPort: 8447

You might also like