URL-5 Added Kubernetes manifests, services and deployments. Also included Ingress and namespace and service configs.

This commit is contained in:
LenaGmbh
2026-01-07 16:21:29 +01:00
parent 22bb61abac
commit 0d02f3e8aa
14 changed files with 562 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
apiVersion: v1
kind: Service
metadata:
name: analytics-service
namespace: urlshortener
labels:
app: analytics-service
component: backend
spec:
type: ClusterIP
ports:
- port: 8080
targetPort: 8080
protocol: TCP
name: http
selector:
app: analytics-service
sessionAffinity: None

View File

@@ -0,0 +1,19 @@
apiVersion: v1
kind: Service
metadata:
name: auth-service
namespace: urlshortener
labels:
app: auth-service
component: backend
spec:
type: ClusterIP
ports:
- port: 8080
targetPort: 8080
protocol: TCP
name: http
selector:
app: auth-service
sessionAffinity: None

View File

@@ -0,0 +1,19 @@
apiVersion: v1
kind: Service
metadata:
name: redirect-service
namespace: urlshortener
labels:
app: redirect-service
component: backend
spec:
type: ClusterIP
ports:
- port: 8080
targetPort: 8080
protocol: TCP
name: http
selector:
app: redirect-service
sessionAffinity: None

View File

@@ -0,0 +1,19 @@
apiVersion: v1
kind: Service
metadata:
name: shortener-service
namespace: urlshortener
labels:
app: shortener-service
component: backend
spec:
type: ClusterIP
ports:
- port: 8083
targetPort: 8083
protocol: TCP
name: http
selector:
app: shortener-service
sessionAffinity: None