-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnimble-csp.yaml
58 lines (52 loc) · 1.13 KB
/
nimble-csp.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Configuration to deploy the HPE Nimble Storage CSP service for Velero
#
# example usage: kubectl create -f <this_file>
---
#######################################
############ CSP Service ############
#######################################
kind: Service
apiVersion: v1
metadata:
name: nimble-csp-svc
namespace: velero
labels:
app: nimble-csp-svc
spec:
ports:
- port: 8080
protocol: TCP
selector:
app: nimble-csp
---
##########################################
############ CSP Deployment ############
##########################################
kind: Deployment
apiVersion: apps/v1
metadata:
name: csp-service
namespace: velero
spec:
selector:
matchLabels:
app: nimble-csp
replicas: 1
template:
metadata:
labels:
app: nimble-csp
spec:
containers:
- name: nimble-csp
image: hpestorage/nimble-csp:v1.0.0
imagePullPolicy: Always
ports:
- containerPort: 8080
volumeMounts:
- name: log-dir
mountPath: /var/log
volumes:
- name: log-dir
hostPath:
path: /var/log