Skip to content

Commit

Permalink
Merge branch 'main' into location-service-to-db-gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-lam authored Nov 5, 2023
2 parents 56dffaf + a39af69 commit 41caef2
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions k8s_manifest/deploy-location-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: location-service
namespace: dev
spec:
replicas: 1
selector:
matchLabels:
app: location-service
template:
metadata:
labels:
app: location-service
spec:
nodeSelector:
kubernetes.io/os: linux
containers:
- name: location-service
image: uwmidsun.azurecr.io/location-service:2023-11-04
ports:
- containerPort: 80
- containerPort: 5000
resources:
requests:
cpu: "1"
memory: 1G
limits:
cpu: "2"
memory: 2G
---
apiVersion: v1
kind: Service
metadata:
name: location-service
namespace: dev
spec:
type: LoadBalancer
ports:
- targetPort: 80
name: port80
port: 80
protocol: TCP
- targetPort: 5000
name: port5000
port: 5000
protocol: TCP
selector:
app: location-service

0 comments on commit 41caef2

Please sign in to comment.