Skip to content

Commit

Permalink
Merge pull request #156 from dyn-tracing/master
Browse files Browse the repository at this point in the history
Added ts-avatar to k8s-with-istio yml
  • Loading branch information
kagaya85 authored May 21, 2021
2 parents 56b95d7 + bc1567d commit 813dd01
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 813dd01

Please sign in to comment.