Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions ai-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,27 @@ spec:
limits:
cpu: 30m
memory: 65Mi
startupProbe:
httpGet:
path: /health
port: 5001
initialDelaySeconds: 60
failureThreshold: 3
periodSeconds: 5
readinessProbe:
httpGet:
path: /health
port: 5001
initialDelaySeconds: 3
failureThreshold: 3
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 5001
initialDelaySeconds: 3
failureThreshold: 5
periodSeconds: 3
---
apiVersion: v1
kind: Service
Expand Down
105 changes: 103 additions & 2 deletions aks-store-all-in-one.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: mongodb
spec:
serviceName: mongodb
replicas: 1
selector:
matchLabels:
Expand All @@ -27,6 +28,14 @@ spec:
limits:
cpu: 25m
memory: 1024Mi
livenessProbe:
exec:
command:
- mongosh
- --eval
- db.runCommand('ping').ok
initialDelaySeconds: 5
periodSeconds: 5
---
apiVersion: v1
kind: Service
Expand All @@ -48,10 +57,11 @@ metadata:
name: rabbitmq-enabled-plugins
---
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: rabbitmq
spec:
serviceName: rabbitmq
replicas: 1
selector:
matchLabels:
Expand Down Expand Up @@ -152,6 +162,27 @@ spec:
limits:
cpu: 75m
memory: 128Mi
startupProbe:
httpGet:
path: /health
port: 3000
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 5
readinessProbe:
httpGet:
path: /health
port: 3000
failureThreshold: 3
initialDelaySeconds: 3
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 3000
failureThreshold: 5
initialDelaySeconds: 3
periodSeconds: 3
initContainers:
- name: wait-for-rabbitmq
image: busybox
Expand Down Expand Up @@ -220,6 +251,20 @@ spec:
limits:
cpu: 5m
memory: 20Mi
readinessProbe:
httpGet:
path: /health
port: 3001
failureThreshold: 3
initialDelaySeconds: 3
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 3001
failureThreshold: 5
initialDelaySeconds: 3
periodSeconds: 3
---
apiVersion: v1
kind: Service
Expand Down Expand Up @@ -262,6 +307,20 @@ spec:
limits:
cpu: 1m
memory: 7Mi
readinessProbe:
httpGet:
path: /health
port: 3002
failureThreshold: 3
initialDelaySeconds: 3
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 3002
failureThreshold: 5
initialDelaySeconds: 3
periodSeconds: 3
---
apiVersion: v1
kind: Service
Expand Down Expand Up @@ -310,6 +369,27 @@ spec:
limits:
cpu: 1000m
memory: 512Mi
startupProbe:
httpGet:
path: /health
port: 8080
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 5
readinessProbe:
httpGet:
path: /health
port: 8080
failureThreshold: 3
initialDelaySeconds: 3
periodSeconds: 3
livenessProbe:
httpGet:
path: /health
port: 8080
failureThreshold: 5
initialDelaySeconds: 3
periodSeconds: 3
---
apiVersion: v1
kind: Service
Expand Down Expand Up @@ -359,6 +439,27 @@ spec:
limits:
cpu: 1000m
memory: 512Mi
startupProbe:
httpGet:
path: /health
port: 8081
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 5
readinessProbe:
httpGet:
path: /health
port: 8081
failureThreshold: 3
initialDelaySeconds: 3
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 8081
failureThreshold: 5
initialDelaySeconds: 3
periodSeconds: 3
---
apiVersion: v1
kind: Service
Expand Down
59 changes: 58 additions & 1 deletion aks-store-quickstart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: rabbitmq
spec:
serviceName: rabbitmq
replicas: 1
selector:
matchLabels:
Expand Down Expand Up @@ -111,6 +112,27 @@ spec:
limits:
cpu: 75m
memory: 128Mi
startupProbe:
httpGet:
path: /health
port: 3000
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 5
readinessProbe:
httpGet:
path: /health
port: 3000
failureThreshold: 3
initialDelaySeconds: 3
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 3000
failureThreshold: 5
initialDelaySeconds: 3
periodSeconds: 3
initContainers:
- name: wait-for-rabbitmq
image: busybox
Expand Down Expand Up @@ -164,6 +186,20 @@ spec:
limits:
cpu: 1m
memory: 7Mi
readinessProbe:
httpGet:
path: /health
port: 3002
failureThreshold: 3
initialDelaySeconds: 3
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 3002
failureThreshold: 5
initialDelaySeconds: 3
periodSeconds: 3
---
apiVersion: v1
kind: Service
Expand Down Expand Up @@ -212,6 +248,27 @@ spec:
limits:
cpu: 1000m
memory: 512Mi
startupProbe:
httpGet:
path: /health
port: 8080
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 5
readinessProbe:
httpGet:
path: /health
port: 8080
failureThreshold: 3
initialDelaySeconds: 3
periodSeconds: 3
livenessProbe:
httpGet:
path: /health
port: 8080
failureThreshold: 5
initialDelaySeconds: 3
periodSeconds: 3
---
apiVersion: v1
kind: Service
Expand Down