Adding locations micro-service

This commit is contained in:
Zeeshaun Masood
2026-01-20 13:41:38 -06:00
parent a347175e53
commit 196e877711
98 changed files with 4198 additions and 3751 deletions
@@ -0,0 +1,28 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: promiscuity-locations
labels:
app: promiscuity-locations
spec:
replicas: 2
selector:
matchLabels:
app: promiscuity-locations
template:
metadata:
labels:
app: promiscuity-locations
spec:
containers:
- name: promiscuity-locations
image: promiscuity-locations:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 5002
readinessProbe:
httpGet:
path: /healthz
port: 5002
initialDelaySeconds: 5
periodSeconds: 10
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: promiscuity-locations
labels:
app: promiscuity-locations
spec:
selector:
app: promiscuity-locations
type: NodePort
ports:
- name: http
port: 80 # cluster port
targetPort: 5002 # container port
nodePort: 30082 # external port