Skip to content

Commit

Permalink
Kubernetes deployment adjust for container segregation.
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbres committed Oct 11, 2022
1 parent afeaf77 commit 7fab6b1
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions kubernetes/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,31 @@ spec:
configMap:
name: env-config
containers:
- name: webhookinbox
- name: app
image: zimbres/webhookinbox
resources:
requests:
memory: "100Mi"
cpu: "0.1"
limits:
memory: "500Mi"
cpu: "0.5"
env:
- name: TZ
value: America/Sao_Paulo
volumeMounts:
- name: env-config
mountPath: "/app/.env"
subPath: .env
- name: pushpin
image: zimbres/pushpin
resources:
requests:
memory: "100Mi"
cpu: "0.1"
limits:
memory: "500Mi"
cpu: "0.5"
ports:
- containerPort: 7999
env:
Expand All @@ -30,6 +53,3 @@ spec:
- name: routes-config
mountPath: "/etc/pushpin/routes"
subPath: routes
- name: env-config
mountPath: "/app/.env"
subPath: .env

0 comments on commit 7fab6b1

Please sign in to comment.