feat(nowchess): update API paths for metrics and health checks in ingress and rollouts
This commit is contained in:
Executable → Regular
@@ -14,7 +14,7 @@ spec:
|
|||||||
app: nowchess-account
|
app: nowchess-account
|
||||||
annotations:
|
annotations:
|
||||||
k8s.grafana.com/scrape: "true"
|
k8s.grafana.com/scrape: "true"
|
||||||
k8s.grafana.com/metrics_path: "/api/account/q/metrics"
|
k8s.grafana.com/metrics_path: "/q/metrics"
|
||||||
k8s.grafana.com/metrics_portNumber: "8083"
|
k8s.grafana.com/metrics_portNumber: "8083"
|
||||||
spec:
|
spec:
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
@@ -66,13 +66,13 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/account/q/health/live
|
path: /q/health/live
|
||||||
port: 8083
|
port: 8083
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/account/q/health/ready
|
path: /q/health/ready
|
||||||
port: 8083
|
port: 8083
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
@@ -246,7 +246,7 @@ spec:
|
|||||||
app: nowchess-core
|
app: nowchess-core
|
||||||
annotations:
|
annotations:
|
||||||
k8s.grafana.com/scrape: "true"
|
k8s.grafana.com/scrape: "true"
|
||||||
k8s.grafana.com/metrics_path: "/api/q/metrics"
|
k8s.grafana.com/metrics_path: "q/metrics"
|
||||||
k8s.grafana.com/metrics_portNumber: "8080"
|
k8s.grafana.com/metrics_portNumber: "8080"
|
||||||
spec:
|
spec:
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
@@ -297,13 +297,13 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/q/health/live
|
path: /q/health/live
|
||||||
port: 8080
|
port: 8080
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/q/health/ready
|
path: /q/health/ready
|
||||||
port: 8080
|
port: 8080
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
@@ -525,7 +525,7 @@ spec:
|
|||||||
app: nowchess-store
|
app: nowchess-store
|
||||||
annotations:
|
annotations:
|
||||||
k8s.grafana.com/scrape: "true"
|
k8s.grafana.com/scrape: "true"
|
||||||
k8s.grafana.com/metrics_path: "/api/store/q/metrics"
|
k8s.grafana.com/metrics_path: "store/q/metrics"
|
||||||
k8s.grafana.com/metrics_portNumber: "8085"
|
k8s.grafana.com/metrics_portNumber: "8085"
|
||||||
spec:
|
spec:
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
@@ -567,13 +567,13 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/store/q/health/live
|
path: store/q/health/live
|
||||||
port: 8085
|
port: 8085
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/store/q/health/ready
|
path: store/q/health/ready
|
||||||
port: 8085
|
port: 8085
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
|
|||||||
@@ -20,6 +20,13 @@ spec:
|
|||||||
name: nowchess-account-active
|
name: nowchess-account-active
|
||||||
port:
|
port:
|
||||||
number: 8083
|
number: 8083
|
||||||
|
- path: /api/challenge
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: nowchess-account-active
|
||||||
|
port:
|
||||||
|
number: 8083
|
||||||
- path: /ws
|
- path: /ws
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
|
|||||||
@@ -20,6 +20,13 @@ spec:
|
|||||||
name: nowchess-account-active
|
name: nowchess-account-active
|
||||||
port:
|
port:
|
||||||
number: 8083
|
number: 8083
|
||||||
|
- path: /api/challenge
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: nowchess-account-active
|
||||||
|
port:
|
||||||
|
number: 8083
|
||||||
- path: /ws
|
- path: /ws
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
|
|||||||
Reference in New Issue
Block a user