Skip to content

Instantly share code, notes, and snippets.

@onefoursix
Last active July 27, 2020 00:27
Show Gist options
  • Save onefoursix/1bc73678187d441afd49338df4b70cc7 to your computer and use it in GitHub Desktop.
Save onefoursix/1bc73678187d441afd49338df4b70cc7 to your computer and use it in GitHub Desktop.
SDC Deployment manifest with ServiceAccount for AWS S3 IAM Role
apiVersion: apps/v1
kind: Deployment
metadata:
name: sdc
spec:
selector:
matchLabels:
app: sdc
template:
metadata:
labels:
app: sdc
spec:
serviceAccountName: sdc
containers:
- name: sdc
image: <your own SDC 3.17 image with AWS stage lib>
imagePullPolicy: Always
ports:
- containerPort: 18630
env:
- name: SDC_JAVA_OPTS
value: "-Xmx2g -Xms2g"
securityContext:
fsGroup: 65534
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment