Created
July 12, 2022 21:07
-
-
Save jruels/d47dd34dff7fcb3328f59a6f802275a2 to your computer and use it in GitHub Desktop.
Helm-microservices-templates nodejs
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-nodejs | |
labels: | |
app: ecsdemo-nodejs | |
namespace: default | |
spec: | |
replicas: {{ .Values.replicas }} | |
selector: | |
matchLabels: | |
app: ecsdemo-nodejs | |
strategy: | |
rollingUpdate: | |
maxSurge: 25% | |
maxUnavailable: 25% | |
type: RollingUpdate | |
template: | |
metadata: | |
labels: | |
app: ecsdemo-nodejs | |
spec: | |
containers: | |
- image: "{{ .Values.nodejs.image }}:{{ .Values.version }}" | |
imagePullPolicy: Always | |
name: ecsdemo-nodejs | |
ports: | |
- containerPort: 3000 | |
protocol: TCP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment