diff --git a/docs/orchestration/kubernetes/minio-distributed-statefulset.yaml b/docs/orchestration/kubernetes/minio-distributed-statefulset.yaml index 5fcfc3192..94786c0d7 100644 --- a/docs/orchestration/kubernetes/minio-distributed-statefulset.yaml +++ b/docs/orchestration/kubernetes/minio-distributed-statefulset.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: StatefulSet metadata: # This name uniquely identifies the StatefulSet diff --git a/docs/orchestration/kubernetes/minio-gcs-gateway-deployment.yaml b/docs/orchestration/kubernetes/minio-gcs-gateway-deployment.yaml index 19e24c3d5..b81d935d3 100644 --- a/docs/orchestration/kubernetes/minio-gcs-gateway-deployment.yaml +++ b/docs/orchestration/kubernetes/minio-gcs-gateway-deployment.yaml @@ -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: diff --git a/docs/orchestration/kubernetes/minio-standalone-deployment.yaml b/docs/orchestration/kubernetes/minio-standalone-deployment.yaml index a4e012baf..4bd655109 100644 --- a/docs/orchestration/kubernetes/minio-standalone-deployment.yaml +++ b/docs/orchestration/kubernetes/minio-standalone-deployment.yaml @@ -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