File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : Deployment
3+ metadata :
4+ name : sentiment-analysis
5+ labels :
6+ app : sentiment-analysis
7+ spec :
8+ replicas : 1
9+ selector :
10+ matchLabels :
11+ app : sentiment-analysis
12+ template :
13+ metadata :
14+ labels :
15+ app : sentiment-analysis
16+ spec :
17+ containers :
18+ - name : sentiment-analysis
19+ image : sameerrrrr/sentimentanalysis-streamlit:latest
20+ imagePullPolicy : Always
21+ ports :
22+ - containerPort : 8501
23+ # env:
24+ # - name:
25+ # value: sentimentanalysis
26+ # volumeMounts:
27+ # - name: workdir
28+ # mountPath: /app
29+ # volumes:
30+ # - name: workdir
31+ # emptyDir: {}
32+ ---
33+ apiVersion : v1
34+ kind : Service
35+ metadata :
36+ name : sentiment-analysis-service
37+ labels :
38+ app : sentiment-analysis
39+ spec :
40+ type : NodePort
41+ selector :
42+ app : sentiment-analysis
43+ ports :
44+ - name : http
45+ port : 8501
46+ targetPort : 8501
47+ nodePort : 30088
You can’t perform that action at this time.
0 commit comments