Last active
July 27, 2020 00:27
-
-
Save onefoursix/1bc73678187d441afd49338df4b70cc7 to your computer and use it in GitHub Desktop.
SDC Deployment manifest with ServiceAccount for AWS S3 IAM Role
This file contains hidden or 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: 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