Skip to content

Commit

Permalink
Added ts-avatar to k8s-with-istio yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jessberg committed May 19, 2021
1 parent 56b95d7 commit bc1567d
Showing 1 changed file with 50 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1440,6 +1440,42 @@ spec:
timeoutSeconds: 5
---

apiVersion: apps/v1
kind: Deployment
metadata:
name: ts-avatar-service
spec:
selector:
matchLabels:
app: ts-avatar-service
replicas: 1
template:
metadata:
labels:
app: ts-avatar-service
spec:
containers:
- name: ts-avatar-service
image: codewisdom/ts-avatar-service:0.1.0
imagePullPolicy: Always
ports:
- containerPort: 17001
resources:
requests:
cpu: 50m
memory: 200Mi
limits:
cpu: 200m
memory: 500Mi
readinessProbe:
tcpSocket:
port: 17001
initialDelaySeconds: 160
periodSeconds: 10
timeoutSeconds: 5

---

apiVersion: v1
kind: Service
metadata:
Expand Down Expand Up @@ -1959,4 +1995,17 @@ spec:
- name: http
port: 16101
selector:
app: ts-voucher-service
app: ts-voucher-service

---

apiVersion: v1
kind: Service
metadata:
name: ts-avatar-service
spec:
ports:
- name: http
port: 17001
selector:
app: ts-avatar-service

0 comments on commit bc1567d

Please sign in to comment.