forked from IBM/elasticsearch-chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy-web.yml
36 lines (36 loc) · 801 Bytes
/
deploy-web.yml
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
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: elasticsearch-chatbot-web
spec:
replicas: 1
template:
metadata:
labels:
name: elasticsearch-chatbot-web-deployment
version: v1
spec:
containers:
- name: elasticsearch-chatbot-web
image: maxshapiro32/elasticsearch-chatbot-web
imagePullPolicy: Always
ports:
- containerPort: 3000
env:
- name: REACT_APP_API_BASE_URL
value: <SCHEME>://<IP_OR_SUBDOMAIN>
---
apiVersion: v1
kind: Service
metadata:
name: elasticsearch-chatbot-web-service
spec:
ports:
- port: 3000
targetPort: 3000
nodePort: 32000
name: http
type: NodePort
selector:
name: elasticsearch-chatbot-web-deployment