Probes
This commit is contained in:
parent
a4856d9619
commit
d2688a6b7b
2 changed files with 18 additions and 1 deletions
|
@ -8,7 +8,8 @@ WORKDIR /app
|
|||
COPY package*.json ./
|
||||
COPY . .
|
||||
|
||||
RUN npm install
|
||||
#RUN npm install
|
||||
RUN npm install -g npm@11.2.0
|
||||
RUN npx tsc # TypeScript Code kompilieren
|
||||
|
||||
# 2. Rust Build-Stage
|
||||
|
|
|
@ -15,3 +15,19 @@ spec:
|
|||
containers:
|
||||
- image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/iching-broker:main
|
||||
name: iching-broker
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8080
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 8080
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 3
|
||||
successThreshold: 2
|
||||
|
|
Loading…
Reference in a new issue