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
|
port: 12345
|
||||||
---
|
---
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
apiVersion: apps/v1beta1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: csi-attacher-s3
|
name: csi-attacher-s3
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
serviceName: "csi-attacher-s3"
|
serviceName: "csi-attacher-s3"
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: csi-attacher-s3
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|
|
@ -39,7 +39,7 @@ roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
---
|
---
|
||||||
kind: DaemonSet
|
kind: DaemonSet
|
||||||
apiVersion: apps/v1beta2
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: csi-s3
|
name: csi-s3
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
|
|
|
@ -53,13 +53,16 @@ spec:
|
||||||
port: 12345
|
port: 12345
|
||||||
---
|
---
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
apiVersion: apps/v1beta1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: csi-provisioner-s3
|
name: csi-provisioner-s3
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
serviceName: "csi-provisioner-s3"
|
serviceName: "csi-provisioner-s3"
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: csi-provisioner-s3
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|
Loading…
Reference in a new issue