Files
kubernetes/cluster/addons/volumesnapshots/volume-snapshot-controller/volume-snapshot-controller-deployment.yaml
Grant Griffiths 564e531aa7 Add Snapshot Controller e2e metric tests
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com>
2021-05-20 23:29:23 -07:00

30 lines
753 B
YAML

# This YAML file shows how to deploy the volume snapshot controller
---
kind: StatefulSet
apiVersion: apps/v1
metadata:
name: volume-snapshot-controller
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: Reconcile
spec:
serviceName: "volume-snapshot-controller"
replicas: 1
selector:
matchLabels:
app: volume-snapshot-controller
template:
metadata:
labels:
app: volume-snapshot-controller
spec:
serviceAccount: volume-snapshot-controller
containers:
- name: volume-snapshot-controller
image: k8s.gcr.io/sig-storage/snapshot-controller:v4.0.0
args:
- "--v=5"
- "--metrics-path=/metrics"
- "--http-endpoint=:9102"