switch nats and clickhouse to statefulset

This commit is contained in:
Florian Herrengt 2024-01-31 16:25:40 +00:00
parent 61e81aca24
commit 6df8706241
2 changed files with 4 additions and 6 deletions

View File

@ -57,14 +57,13 @@ data:
</clickhouse>
---
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: clickhouse
namespace: databases
spec:
serviceName: "clickhouse"
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
ms: clickhouse

View File

@ -41,14 +41,13 @@ data:
}
---
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: nats
namespace: databases
spec:
serviceName: "nats"
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
ms: nats