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 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…
Cancel
Save