File tree Expand file tree Collapse file tree 4 files changed +106
-0
lines changed Expand file tree Collapse file tree 4 files changed +106
-0
lines changed Original file line number Diff line number Diff line change @@ -13,5 +13,6 @@ resources:
1313 - repo-updater
1414 - searcher
1515 - symbols
16+ - syntactic-code-intel
1617 - syntect-server
1718 - worker
Original file line number Diff line number Diff line change 1+ apiVersion : kustomize.config.k8s.io/v1beta1
2+ kind : Kustomization
3+ resources :
4+ - worker.Deployment.yaml
5+ - worker.Service.yaml
Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : Deployment
3+ metadata :
4+ annotations :
5+ description : High level syntax analysis
6+ labels :
7+ deploy : sourcegraph
8+ sourcegraph-resource-requires : no-cluster-admin
9+ app.kubernetes.io/component : syntactic-code-intel
10+ name : syntactic-code-intel
11+ spec :
12+ minReadySeconds : 10
13+ replicas : 2
14+ revisionHistoryLimit : 10
15+ selector :
16+ matchLabels :
17+ app : syntactic-code-intel
18+ strategy :
19+ rollingUpdate :
20+ maxSurge : 1
21+ maxUnavailable : 1
22+ type : RollingUpdate
23+ template :
24+ metadata :
25+ labels :
26+ deploy : sourcegraph
27+ app : syntactic-code-intel
28+ spec :
29+ containers :
30+ - name : syntactic-code-intel
31+ env :
32+ - name : PRECISE_CODE_INTEL_UPLOAD_BACKEND
33+ value : blobstore
34+ - name : PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT
35+ value : http://blobstore:9000
36+ - name : SYNTACTIC_CODE_INTEL_WORKER_ADDR
37+ value : " :3188"
38+ - name : POD_NAME
39+ valueFrom :
40+ fieldRef :
41+ fieldPath : metadata.name
42+ image : index.docker.io/sourcegraph/syntactic-code-intel-worker:6.0.0@sha256:50bdeb38b196f0fc21404969016bf8263f78144292e905867e93480f66c8251c
43+ terminationMessagePath : FallbackToLogsOnError
44+ livenessProbe :
45+ httpGet :
46+ path : /healthz
47+ port : debug
48+ scheme : HTTP
49+ initialDelaySeconds : 60
50+ timeoutSeconds : 5
51+ readinessProbe :
52+ httpGet :
53+ path : /ready
54+ port : debug
55+ scheme : HTTP
56+ periodSeconds : 5
57+ timeoutSeconds : 5
58+ ports :
59+ - containerPort : 3188
60+ name : http
61+ - containerPort : 6060
62+ name : debug
63+ resources :
64+ limits :
65+ cpu : " 2"
66+ memory : 4G
67+ requests :
68+ cpu : 500m
69+ memory : 2G
70+ securityContext :
71+ allowPrivilegeEscalation : false
72+ runAsGroup : 101
73+ runAsUser : 100
74+ securityContext :
75+ fsGroup : 101
76+ runAsUser : 100
77+ fsGroupChangePolicy : OnRootMismatch
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ annotations :
5+ prometheus.io/port : " 6060"
6+ sourcegraph.prometheus/scrape : " true"
7+ labels :
8+ app : syntactic-code-intel
9+ app.kubernetes.io/component : syntactic-code-intel
10+ deploy : sourcegraph
11+ sourcegraph-resource-requires : no-cluster-admin
12+ name : syntactic-code-intel
13+ spec :
14+ ports :
15+ - name : http
16+ port : 3188
17+ targetPort : http
18+ - name : debug
19+ port : 6060
20+ targetPort : debug
21+ selector :
22+ app : syntactic-code-intel
23+ type : ClusterIP
You can’t perform that action at this time.
0 commit comments