This repository was archived by the owner on Jun 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathblobstore.Deployment.yaml
More file actions
63 lines (63 loc) · 1.61 KB
/
blobstore.Deployment.yaml
File metadata and controls
63 lines (63 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
description: generic S3-like blobstore for storing LSIF uploads.
kubectl.kubernetes.io/default-container: blobstore
labels:
deploy: sourcegraph
sourcegraph-resource-requires: no-cluster-admin
app.kubernetes.io/component: blobstore
name: blobstore
spec:
minReadySeconds: 10
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: blobstore
strategy:
type: Recreate
template:
metadata:
labels:
deploy: sourcegraph
app: blobstore
spec:
containers:
- name: blobstore
image: us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal/blobstore:6.2.2553@sha256:56d402fda07ceb27f973f340c8dca2dd728c25749572426f98cb16d3342ae9f9
terminationMessagePolicy: FallbackToLogsOnError
ports:
- containerPort: 9000
name: blobstore
livenessProbe:
httpGet:
path: /
port: blobstore
scheme: HTTP
initialDelaySeconds: 60
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /
port: blobstore
scheme: HTTP
periodSeconds: 5
timeoutSeconds: 5
resources:
limits:
cpu: "1"
memory: 500M
requests:
cpu: "1"
memory: 500M
volumeMounts:
- mountPath: /data
name: blobstore-data
securityContext:
runAsUser: 0
volumes:
- name: blobstore-data
persistentVolumeClaim:
claimName: blobstore