Skip to content

Instantly share code, notes, and snippets.

@dengliu
Created February 7, 2023 20:33
Show Gist options
  • Select an option

  • Save dengliu/09b02a83dbd01c422034a3bdf209759b to your computer and use it in GitHub Desktop.

Select an option

Save dengliu/09b02a83dbd01c422034a3bdf209759b to your computer and use it in GitHub Desktop.
not share starrocks storage data dir with
---
apiVersion: "batch/v1"
kind: "Job"
metadata:
labels:
executionId: "placeholder"
teamDomain: "placeholder"
teamId: "placeholder"
jobId: "placeholder"
name: "placeholder"
spec:
backoffLimit: 0
template:
metadata:
annotations:
ad.datadoghq.com/job.logs: "[{\"service\":\"placeholder\"}]"
labels:
executionId: "placeholder"
teamDomain: "placeholder"
teamId: "placeholder"
jobId: "placeholder"
spec:
restartPolicy: "Never"
tolerations:
- effect: "NoSchedule"
key: "type"
operator: "Equal"
value: "duplicate-checking"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "type"
operator: "In"
values:
- "duplicate-checking"
containers:
- name: "job"
image: "duplicate-checking"
imagePullPolicy: "IfNotPresent"
resources:
limits:
cpu: "2"
memory: "4G"
requests:
cpu: "1"
memory: "2G"
- name: "starrocks"
image: "duplicate-checking-celostar"
imagePullPolicy: "IfNotPresent"
env:
- name: "STARTMODE"
value: "auto"
resources:
limits:
cpu: "4"
memory: "20G"
requests:
# cpu: "1"
memory: "16G"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment