File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 9
9
annotations :
10
10
autoscaling.knative.dev/min-scale : " 1"
11
11
autoscaling.knative.dev/max-scale : " 1"
12
+ labels :
13
+ app : typesense
12
14
spec :
13
15
containers :
14
16
- image : typesense/typesense:29.0
@@ -20,13 +22,11 @@ spec:
20
22
cpu : 1000m
21
23
memory : 2048M
22
24
ports :
23
- - containerPort : 80
25
+ - containerPort : 8108
24
26
volumeMounts :
25
27
- mountPath : /typesense-data
26
28
name : typesense-data
27
29
env :
28
- - name : TYPESENSE_API_PORT
29
- value : " 80"
30
30
- name : TYPESENSE_DATA_DIR
31
31
value : " /typesense-data"
32
32
- name : TYPESENSE_ENABLE_CORS
40
40
- name : typesense-data
41
41
persistentVolumeClaim :
42
42
claimName : declaratii-avere-pvc
43
- readOnly : false
43
+ ---
44
+ apiVersion : v1
45
+ kind : Service
46
+ metadata :
47
+ name : typesense-clusterip
48
+ namespace : declaratii-avere
49
+ spec :
50
+ selector :
51
+ app : typesense
52
+ type : ClusterIP
53
+ ports :
54
+ - protocol : TCP
55
+ name : http
56
+ port : 8108
57
+ targetPort : 8108
You can’t perform that action at this time.
0 commit comments