2018-02-01 04:25:21 +00:00
|
|
|
---
|
2018-02-13 01:55:59 +00:00
|
|
|
apiVersion: apps/v1
|
2018-07-01 05:14:07 +00:00
|
|
|
kind: Deployment
|
2018-02-01 04:25:21 +00:00
|
|
|
metadata:
|
2018-08-17 03:12:01 +00:00
|
|
|
name: cephfs-provisioner-{{ cephfs_provisioner_image_tag }}
|
2018-02-01 04:25:21 +00:00
|
|
|
namespace: {{ cephfs_provisioner_namespace }}
|
2018-02-13 01:55:59 +00:00
|
|
|
labels:
|
2018-08-17 03:12:01 +00:00
|
|
|
app: cephfs-provisioner
|
|
|
|
version: {{ cephfs_provisioner_image_tag }}
|
2018-02-01 04:25:21 +00:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
2018-02-13 01:55:59 +00:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
2018-08-17 03:12:01 +00:00
|
|
|
app: cephfs-provisioner
|
|
|
|
version: {{ cephfs_provisioner_image_tag }}
|
2018-02-01 04:25:21 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
2018-08-17 03:12:01 +00:00
|
|
|
app: cephfs-provisioner
|
|
|
|
version: {{ cephfs_provisioner_image_tag }}
|
2018-02-01 04:25:21 +00:00
|
|
|
spec:
|
2018-08-17 03:12:01 +00:00
|
|
|
serviceAccount: cephfs-provisioner
|
2018-02-01 04:25:21 +00:00
|
|
|
containers:
|
|
|
|
- name: cephfs-provisioner
|
|
|
|
image: {{ cephfs_provisioner_image_repo }}:{{ cephfs_provisioner_image_tag }}
|
2018-02-13 01:55:59 +00:00
|
|
|
imagePullPolicy: {{ k8s_image_pull_policy }}
|
2018-02-01 04:25:21 +00:00
|
|
|
env:
|
|
|
|
- name: PROVISIONER_NAME
|
|
|
|
value: ceph.com/cephfs
|
|
|
|
command:
|
|
|
|
- "/usr/local/bin/cephfs-provisioner"
|
|
|
|
args:
|
|
|
|
- "-id=cephfs-provisioner-1"
|