Skip to content

Commit

Permalink
feat: updated deployment for oracle legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Aug 19, 2024
1 parent 43b994f commit 595d46b
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions database/openshift.legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ parameters:
- name: PROMOTE
description: Image (namespace/name:tag) to promote/import
required: true
- name: CPU_REQUEST
value: 500m
- name: CPU_LIMIT
value: "1"
- name: MEMORY_REQUEST
value: 2Gi
- name: MEMORY_LIMIT
value: 2Gi
objects:
- kind: ImageStream
apiVersion: v1
Expand Down Expand Up @@ -77,6 +85,13 @@ objects:
containers:
- name: ${NAME}
image: ${NAME}-${ZONE}-${COMPONENT}:${IMAGE_TAG}
resources:
limits:
cpu: ${CPU_LIMIT}
memory: ${MEMORY_LIMIT}
requests:
cpu: ${CPU_REQUEST}
memory: ${MEMORY_REQUEST}
ports:
- containerPort: 1521
protocol: TCP
Expand Down Expand Up @@ -119,8 +134,8 @@ objects:
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
schedulerName: default-scheduler
- apiVersion: v1
kind: Service
- kind: Service
apiVersion: v1
metadata:
labels:
app: ${NAME}-${ZONE}
Expand Down

0 comments on commit 595d46b

Please sign in to comment.