URL-5 Added Kubernetes manifests, services and deployments. Also included Ingress and namespace and service configs.
This commit is contained in:
18
k8s/base/configmaps/service-config.yaml
Normal file
18
k8s/base/configmaps/service-config.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: service-config
|
||||
namespace: urlshortener
|
||||
labels:
|
||||
app: urlshortener
|
||||
data:
|
||||
# Service discovery - internal service URLs
|
||||
shortener.service.url: "http://shortener-service:8083"
|
||||
auth.service.url: "http://auth-service:8080"
|
||||
analytics.service.url: "http://analytics-service:8080"
|
||||
redirect.service.url: "http://redirect-service:8080"
|
||||
|
||||
# External service URLs (if needed)
|
||||
shortener.service.external.url: "https://api.urlshortener.example.com/api/shortener"
|
||||
redirect.service.external.url: "https://short.urlshortener.example.com"
|
||||
|
||||
Reference in New Issue
Block a user