Refactor and added scheduler container in k8s config
This commit is contained in:
@@ -39,9 +39,9 @@ spec:
|
||||
tls:
|
||||
- secretName: api-gateway-cert
|
||||
hosts:
|
||||
- egommerce.io
|
||||
- egommerce.io # CHANGE TO PROD DOMAIN
|
||||
rules:
|
||||
- host: egommerce.io
|
||||
- host: egommerce.io # CHANGE TO PROD DOMAIN
|
||||
http:
|
||||
paths:
|
||||
- path: /api/identity
|
||||
|
||||
@@ -106,6 +106,19 @@ spec:
|
||||
# args:
|
||||
# - --web.listen-address=:9090
|
||||
# - --web.telemetry-path=/metrics
|
||||
- name: identity-chronos # Scheduler Container
|
||||
image: git.ego.freeddns.org/egommerce/identity-svc:dev
|
||||
imagePullPolicy: Always
|
||||
command: [
|
||||
"/usr/local/bin/chronos"
|
||||
]
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 256Mi
|
||||
volumes:
|
||||
- name: catalog-cert
|
||||
hostPath:
|
||||
|
||||
Reference in New Issue
Block a user