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 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:

View file

@ -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

View file

@ -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: