Skip to content

Instantly share code, notes, and snippets.

@jruels
Created July 12, 2022 21:06
Show Gist options
  • Save jruels/075132edc62e54ad476ce646eded4fcf to your computer and use it in GitHub Desktop.
Save jruels/075132edc62e54ad476ce646eded4fcf to your computer and use it in GitHub Desktop.
Helm-microservices-templates crystal
apiVersion: apps/v1
kind: Deployment
metadata:
name: ecsdemo-crystal
labels:
app: ecsdemo-crystal
namespace: default
spec:
replicas: {{ .Values.replicas }}
selector:
matchLabels:
app: ecsdemo-crystal
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: ecsdemo-crystal
spec:
containers:
- name: ecsdemo-crystal
image: "{{ .Values.crystal.image }}:{{ .Values.version }}"
imagePullPolicy: Always
ports:
- containerPort: 3000
protocol: TCP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment