statefulset

This commit is contained in:
2025-08-06 00:03:51 +08:00
parent ec3b19d733
commit b8410f6182

View File

@@ -1,12 +1,13 @@
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2
serviceName: "nginx"
replicas: 10
template:
metadata:
labels: