Migrate to StatefulSet app/v1
Signed-off-by: Ching Yi, Chan <qrtt1@infuseai.io>
This commit is contained in:
parent
6a23dbae72
commit
bafce00b3d
4 changed files with 10 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue