mirror of
https://github.com/minio/minio.git
synced 2025-01-12 07:23:23 -05:00
Change YAML files to reference the newer APIs (#8299)
This commit is contained in:
parent
127641731a
commit
4f981a0b42
@ -1,4 +1,4 @@
|
|||||||
apiVersion: apps/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
# This name uniquely identifies the StatefulSet
|
# This name uniquely identifies the StatefulSet
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
# This name uniquely identifies the Deployment
|
# This name uniquely identifies the Deployment
|
||||||
name: minio-deployment
|
name: minio-deployment
|
||||||
spec:
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: minio # has to match .spec.template.metadata.labels
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
# This name uniquely identifies the Deployment
|
# This name uniquely identifies the Deployment
|
||||||
name: minio
|
name: minio
|
||||||
spec:
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: minio # has to match .spec.template.metadata.labels
|
||||||
strategy:
|
strategy:
|
||||||
# Specifies the strategy used to replace old Pods by new ones
|
# Specifies the strategy used to replace old Pods by new ones
|
||||||
# Refer: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
|
# Refer: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
|
||||||
|
Loading…
Reference in New Issue
Block a user