You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/samples/MicroserviceDemo/k8s/internal-gateway-deployment...

45 lines
1.6 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
name: internal-gateway
spec:
selector:
matchLabels:
app: internal-gateway
replicas: 1
template:
metadata:
labels:
app: internal-gateway
spec:
containers:
- name: internal-gateway
image: "volosoft/microservice-demo-internal-gateway"
env:
- name: ASPNETCORE_ENVIRONMENT
value: Development
- name: ASPNETCORE_URLS
value: http://0.0.0.0:80
- name: AuthServer__Authority
value: http://auth-server:51511
- name: ConnectionStrings__Default
value: Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
- name: GlobalConfiguration__BaseUrl
value: http://internal-gateway
- name: ReRoutes__0__DownstreamHostAndPorts__0__Host
value: identity-service
- name: ReRoutes__0__DownstreamHostAndPorts__0__Port
value: "80"
- name: ReRoutes__1__DownstreamHostAndPorts__0__Host
value: product-service
- name: ReRoutes__1__DownstreamHostAndPorts__0__Port
value: "80"
- name: ReRoutes__2__DownstreamHostAndPorts__0__Host
value: blogging-service
- name: ReRoutes__2__DownstreamHostAndPorts__0__Port
value: "80"
- name: Redis__Configuration
value: redis
ports:
- name: http
containerPort: 80