use statefulSets and readinessProbes instead of initContainers

This commit is contained in:
2025-12-17 20:43:59 +05:30
parent 2bc8629208
commit 357099ae9f
5 changed files with 30 additions and 32 deletions

View File

@@ -12,14 +12,15 @@ spec:
selector:
app: semaphore
ports:
- port: 3002
- name: http
port: 3002
targetPort: 3000
---
apiVersion: v1
kind: Service
metadata:
name: semaphore-db-service
name: semaphore-db
namespace: git-ops
spec:
selector:
@@ -27,3 +28,4 @@ spec:
ports:
- port: 3306
targetPort: 3306
clusterIP: None