Last active
July 12, 2022 21:10
-
-
Save jruels/932bf7ba1099c3e728d52871a1e20ff8 to your computer and use it in GitHub Desktop.
Helm-microservice-frontend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: ecsdemo-frontend | |
labels: | |
app: ecsdemo-frontend | |
namespace: default | |
spec: | |
replicas: {{ .Values.replicas }} | |
selector: | |
matchLabels: | |
app: ecsdemo-frontend | |
strategy: | |
rollingUpdate: | |
maxSurge: 25% | |
maxUnavailable: 25% | |
type: RollingUpdate | |
template: | |
metadata: | |
labels: | |
app: ecsdemo-frontend | |
spec: | |
containers: | |
- name: ecsdemo-frontend | |
image: "{{ .Values.frontend.image }}:{{ .Values.version }}" | |
ports: | |
- containerPort: 3000 | |
protocol: TCP | |
env: | |
- name: CRYSTAL_URL | |
value: "http://ecsdemo-crystal.default.svc.cluster.local/crystal" | |
- name: NODEJS_URL | |
value: "http://ecsdemo-nodejs.default.svc.cluster.local/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment