-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path3-healthnode.yaml
More file actions
43 lines (42 loc) · 807 Bytes
/
3-healthnode.yaml
File metadata and controls
43 lines (42 loc) · 807 Bytes
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
kind: Deployment
apiVersion: apps/v1
metadata:
name: healthnode
namespace: healthnode
spec:
replicas: 1
selector:
matchLabels:
app: healthnode
template:
metadata:
labels:
app: healthnode
spec:
containers:
- name: healthnode
image: codebymini/healthnode
imagePullPolicy: Always
ports:
- name: http
containerPort: 3000
hostPort: 3000
env:
- name: APIKEY
value: "YOUR_API_KEY"
- name: URL
value: "http://healthnode-api-service:3333/getrecords/"
---
apiVersion: v1
kind: Service
metadata:
name: healthnode-app
namespace: healthnode
spec:
type: ClusterIP
ports:
- protocol: TCP
port: 3000
targetPort: 3000
selector:
app: healthnode