Migrate to StatefulSet app/v1

Signed-off-by: Ching Yi, Chan <qrtt1@infuseai.io>
This commit is contained in:
Ching Yi, Chan 2020-06-03 11:55:31 +08:00
parent 6a23dbae72
commit bafce00b3d
4 changed files with 10 additions and 4 deletions

View file

@ -54,13 +54,16 @@ spec:
port: 12345
---
kind: StatefulSet
apiVersion: apps/v1beta1
apiVersion: apps/v1
metadata:
name: csi-attacher-s3
namespace: kube-system
spec:
serviceName: "csi-attacher-s3"
replicas: 1
selector:
matchLabels:
app: csi-attacher-s3
template:
metadata:
labels:

View file

@ -39,7 +39,7 @@ roleRef:
apiGroup: rbac.authorization.k8s.io
---
kind: DaemonSet
apiVersion: apps/v1beta2
apiVersion: apps/v1
metadata:
name: csi-s3
namespace: kube-system

View file

@ -53,13 +53,16 @@ spec:
port: 12345
---
kind: StatefulSet
apiVersion: apps/v1beta1
apiVersion: apps/v1
metadata:
name: csi-provisioner-s3
namespace: kube-system
spec:
serviceName: "csi-provisioner-s3"
replicas: 1
selector:
matchLabels:
app: csi-provisioner-s3
template:
metadata:
labels:

View file

@ -15,4 +15,4 @@ parameters:
csi.storage.k8s.io/node-stage-secret-name: csi-s3-secret
csi.storage.k8s.io/node-stage-secret-namespace: kube-system
csi.storage.k8s.io/node-publish-secret-name: csi-s3-secret
csi.storage.k8s.io/node-publish-secret-namespace: kube-system
csi.storage.k8s.io/node-publish-secret-namespace: kube-system