mirror of
https://github.com/Azure-Samples/graphrag-accelerator.git
synced 2025-12-28 07:34:14 +00:00
38 lines
936 B
YAML
38 lines
936 B
YAML
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT License.
|
|
|
|
# NOTE: the location of this file is important as it gets referenced by the manage-indexing-jobs.py script
|
|
# and depends on the relative path to this file when uvicorn is run
|
|
|
|
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: PLACEHOLDER
|
|
spec:
|
|
ttlSecondsAfterFinished: 30
|
|
backoffLimit: 3
|
|
template:
|
|
metadata:
|
|
labels:
|
|
azure.workload.identity/use: "true"
|
|
spec:
|
|
serviceAccountName: PLACEHOLDER
|
|
restartPolicy: OnFailure
|
|
nodeSelector:
|
|
workload: graphrag-indexing
|
|
containers:
|
|
- name: graphrag
|
|
image: PLACEHOLDER
|
|
imagePullPolicy: Always
|
|
resources:
|
|
requests:
|
|
cpu: "6"
|
|
memory: "56Gi"
|
|
limits:
|
|
cpu: "8"
|
|
memory: "64Gi"
|
|
envFrom:
|
|
- configMapRef:
|
|
name: graphrag
|
|
command: [PLACEHOLDER]
|