44 lines
941 B
YAML
44 lines
941 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
generateName: run-performance-harness
|
|
labels:
|
|
app: performance-harness
|
|
spec:
|
|
containers:
|
|
- name: main
|
|
image: airbyte/$HARNESS:dev
|
|
args:
|
|
[
|
|
"$CONNECTOR_IMAGE_NAME",
|
|
"$DATASET",
|
|
"$STREAM_NUMBER",
|
|
"$SYNC_MODE",
|
|
"$REPORT_TO_DATADOG",
|
|
]
|
|
volumeMounts:
|
|
- name: secrets-volume
|
|
mountPath: /airbyte/secrets
|
|
resources:
|
|
limits:
|
|
cpu: "2.5"
|
|
memory: "2Gi"
|
|
requests:
|
|
cpu: "2.5"
|
|
memory: "2Gi"
|
|
env:
|
|
- name: DD_API_KEY
|
|
value: $DD_API_KEY
|
|
- name: DD_SITE
|
|
value: "datadoghq.com"
|
|
- name: USE_STREAM_CAPABLE_STATE
|
|
value: "true"
|
|
volumes:
|
|
- name: secrets-volume
|
|
hostPath:
|
|
path: /secrets
|
|
type: Directory
|
|
imagePullSecrets:
|
|
- name: regcred
|
|
restartPolicy: Never
|