-
Notifications
You must be signed in to change notification settings - Fork 1
/
k8s.yaml
41 lines (40 loc) · 850 Bytes
/
k8s.yaml
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: learnmake-ms
spec:
selector:
matchLabels:
app: learnmake-ms
template:
metadata:
labels:
app: learnmake-ms
spec:
containers:
- name: learnmake-ms
image: gcr.io/catpet-205415/learnmake-microservices:1.0.8
ports:
- containerPort: 8080
#resources:
# limits:
# memory: "200Mi"
# requests:
# memory: "100Mi"
livenessProbe:
httpGet:
port: 8080
path: /api/pulse
initialDelaySeconds: 5
periodSeconds: 30
successThreshold: 1
failureThreshold: 2
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: learnmake-ms-ingress
spec:
backend:
serviceName: learnmake-ms
servicePort: 8080