mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-27 20:07:19 +00:00
43 lines
831 B
YAML
43 lines
831 B
YAML
|
|
apiVersion: apps.kruise.io/v1beta1
|
||
|
|
kind: StatefulSet
|
||
|
|
metadata:
|
||
|
|
name: statefulset-test
|
||
|
|
namespace: kruise
|
||
|
|
generation: 5
|
||
|
|
labels:
|
||
|
|
app: sample
|
||
|
|
spec:
|
||
|
|
replicas: 2
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app: sample
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
app: sample
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: nginx
|
||
|
|
image: nginx:alpine
|
||
|
|
updateStrategy:
|
||
|
|
rollingUpdate:
|
||
|
|
maxUnavailable: 1
|
||
|
|
minReadySeconds: 0
|
||
|
|
paused: false
|
||
|
|
partition: 0
|
||
|
|
podUpdatePolicy: ReCreate
|
||
|
|
type: RollingUpdate
|
||
|
|
|
||
|
|
status:
|
||
|
|
observedGeneration: 5
|
||
|
|
replicas: 2
|
||
|
|
updatedAvailableReplicas: 1
|
||
|
|
updatedReadyReplicas: 1
|
||
|
|
conditions:
|
||
|
|
- lastTransitionTime: "2021-09-21T22:35:31Z"
|
||
|
|
message: Deployment has minimum availability.
|
||
|
|
reason: MinimumReplicasAvailable
|
||
|
|
status: 'True'
|
||
|
|
type: FailedCreatePod
|
||
|
|
|