Skip to content

Commit

Permalink
chore: enabled rabbitmq pv,pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
amber committed Oct 23, 2024
1 parent 92cc048 commit a005d4e
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 41 deletions.
4 changes: 2 additions & 2 deletions helm/nshm/templates/account/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ spec:
name: account-secret
livenessProbe:
httpGet:
path: /healthz
path: /actuator/health/liveness
port: 8081
initialDelaySeconds: 30
periodSeconds: 30
failureThreshold: 3

readinessProbe:
httpGet:
path: /ready
path: /actuator/health/readiness
port: 8081
initialDelaySeconds: 30
periodSeconds: 30
Expand Down
4 changes: 2 additions & 2 deletions helm/nshm/templates/wishlist/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ spec:
name: wishlist-secret
livenessProbe:
httpGet:
path: /healthz
path: /actuator/health/liveness
port: 8083
initialDelaySeconds: 30
periodSeconds: 30
failureThreshold: 3

readinessProbe:
httpGet:
path: /ready
path: /actuator/health/readiness
port: 8083
initialDelaySeconds: 30
periodSeconds: 30
Expand Down
5 changes: 5 additions & 0 deletions helm/rabbitmq-cluster-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
persistence:
enabled: true
storageClassName: "gp2" # This should match the StorageClass created in step 1
accessMode: ReadWriteOnce
size: 8Gi # Size of the Persistent Volume
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0

Expand Down
8 changes: 7 additions & 1 deletion locust/locust-master-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
- "--host=http://www.nshm.store"
ports:
- containerPort: 8089
- containerPort: 5557
volumeMounts:
- name: locust
mountPath: /mnt/locust
Expand All @@ -41,6 +42,11 @@ spec:
selector:
app: locust-master
ports:
- protocol: TCP
- name: web-ui
protocol: TCP
port: 8089
targetPort: 8089
- name: master-port
protocol: TCP
port: 5557
targetPort: 5557

This file was deleted.

14 changes: 14 additions & 0 deletions services/account/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,17 @@ logging:
level:
org.springframework.jdbc.core: DEBUG
org.hibernate.SQL: DEBUG


management:
health:
probes:
enabled: true
group:
liveness:
include: livenessState
readiness:
include: readinessState
endpoint:
health:
show-details: always

This file was deleted.

0 comments on commit a005d4e

Please sign in to comment.