Skip to content

Instantly share code, notes, and snippets.

@onefoursix
Created September 5, 2020 05:32
Show Gist options
  • Save onefoursix/762a4858a41546f6ae94fe89b76c5066 to your computer and use it in GitHub Desktop.
Save onefoursix/762a4858a41546f6ae94fe89b76c5066 to your computer and use it in GitHub Desktop.
SDC Deployment Manifest with VolumeMount for sdc-extras
apiVersion: apps/v1
kind: Deployment
metadata:
name: sdc
namespace: ns1
spec:
selector:
matchLabels:
app: sdc
template:
metadata:
labels:
app: sdc
spec:
containers:
- name: sdc
image: <your-image>
imagePullPolicy: Always
env:
- name: SDC_JAVA_OPTS
value: "-Xmx2g -Xms2g"
- name: STREAMSETS_LIBRARIES_EXTRA_DIR
value: /opt/sdc-extras
volumeMounts:
- name: sdc-extras
mountPath: /opt/sdc-extras
volumes:
- name: sdc-extras
azureFile:
secretName: azure-secret
shareName: markaksshare/sdc-extras
readOnly: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment