-
Notifications
You must be signed in to change notification settings - Fork 3
/
bootnode-deployment.yaml
53 lines (53 loc) · 1.3 KB
/
bootnode-deployment.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
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: bootnode
spec:
strategy:
type: Recreate
replicas: 1
template:
metadata:
labels:
role: bootnode
environment: production
spec:
terminationGracePeriodSeconds: 10
containers:
- name: bootnode
image: xinfinorg/quorum:istanbul-tools-k8s
imagePullPolicy: IfNotPresent
args:
- "bootnode"
- "-addr"
- ":30301"
- "-nodekey"
- "/nodekey/bootnode-0"
- "-verbosity"
- "9"
- "-nat"
- "none"
env:
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
ports:
- containerPort: 30301
protocol: TCP
name: geth-tcp
- containerPort: 30301
protocol: UDP
name: geth-udp
volumeMounts:
- mountPath: "/etc/ethereum/shared"
name: gethroot
- mountPath: /nodekey
name: nodekey
volumes:
- name: gethroot
persistentVolumeClaim:
claimName: geth-volume
- name: nodekey
secret:
secretName: minernode-secret