Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions kubernetes/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ metadata:
name: ironoc-db-app-deployment
namespace: ironoc-db-ns
spec:
replicas: 1
replicas: 2
selector:
matchLabels:
app: ironoc-db-app-deployment
Expand All @@ -113,6 +113,8 @@ spec:
imagePullPolicy: IfNotPresent
name: ironoc-db-app-sha256-1
env:
- name: SPRING_PROFILES_ACTIVE
value: "default"
- name: PROJECT_ID
value: "ironoc-db"
- name: SECRET_ID
Expand Down Expand Up @@ -202,15 +204,15 @@ metadata:
name: ironoc-db-app-deployment-hpa-kbij
namespace: ironoc-db-ns
spec:
maxReplicas: 1
maxReplicas: 4
metrics:
- resource:
name: cpu
target:
averageUtilization: 80
type: Utilization
type: Resource
minReplicas: 1
minReplicas: 2
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
Loading