Change YAML files to reference the newer APIs (#8299)

master
Ashish Kumar Sinha 5 years ago committed by Harshavardhana
parent 127641731a
commit 4f981a0b42
  1. 2
      docs/orchestration/kubernetes/minio-distributed-statefulset.yaml
  2. 5
      docs/orchestration/kubernetes/minio-gcs-gateway-deployment.yaml
  3. 5
      docs/orchestration/kubernetes/minio-standalone-deployment.yaml

@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
# This name uniquely identifies the StatefulSet

@ -1,9 +1,12 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
# This name uniquely identifies the Deployment
name: minio-deployment
spec:
selector:
matchLabels:
app: minio # has to match .spec.template.metadata.labels
strategy:
type: Recreate
template:

@ -1,9 +1,12 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
# This name uniquely identifies the Deployment
name: minio
spec:
selector:
matchLabels:
app: minio # has to match .spec.template.metadata.labels
strategy:
# Specifies the strategy used to replace old Pods by new ones
# Refer: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy

Loading…
Cancel
Save