-
Notifications
You must be signed in to change notification settings - Fork 0
/
03-busybox.yaml
50 lines (50 loc) · 900 Bytes
/
03-busybox.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
---
apiVersion: v1
kind: Namespace
metadata:
name: busybox
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mydata
namespace: busybox
labels:
app: busybox
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 10Gi
storageClassName: sc-nas-svm2
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: busybox
namespace: busybox
labels:
app: busybox
spec:
replicas: 1
selector:
matchLabels:
app: busybox
template:
metadata:
labels:
app: busybox
spec:
containers:
- name: busybox
image: quay.io/trident-mirror/kcduk/busybox:1.31.1
imagePullPolicy: IfNotPresent
command: ['sleep', '3600']
volumeMounts:
- mountPath: /data
name: volume
volumes:
- name: volume
persistentVolumeClaim:
claimName: mydata