2018-07-30 14:04:47 +00:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
2018-11-28 05:27:21 +00:00
|
|
|
name: geth-bootnode-v4
|
|
|
|
namespace: pow
|
2018-07-30 14:04:47 +00:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
2018-11-28 05:27:21 +00:00
|
|
|
component: bootnode-v4
|
2018-07-30 14:04:47 +00:00
|
|
|
universe: geth
|
2019-02-08 20:30:38 +00:00
|
|
|
app: goerli
|
|
|
|
version: v1
|
2018-07-30 14:04:47 +00:00
|
|
|
spec:
|
|
|
|
priorityClassName: production-priority
|
|
|
|
containers:
|
|
|
|
- name: bootnode
|
|
|
|
image: ethereum/client-go:alltools-stable
|
|
|
|
ports:
|
|
|
|
- containerPort: 8545
|
2019-02-08 20:30:38 +00:00
|
|
|
name: http-rpc
|
2018-07-30 14:04:47 +00:00
|
|
|
- containerPort: 30303
|
|
|
|
name: discovery-tcp
|
|
|
|
protocol: TCP
|
|
|
|
- containerPort: 30303
|
|
|
|
name: discovery-udp
|
|
|
|
protocol: UDP
|
|
|
|
- containerPort: 30301
|
|
|
|
name: bootnode-udp
|
|
|
|
protocol: UDP
|
|
|
|
command: ["bootnode"]
|
|
|
|
args:
|
|
|
|
- "--nodekey=/data/private_key"
|
2018-08-14 16:16:21 +00:00
|
|
|
- "--verbosity=4"
|
2018-07-30 14:04:47 +00:00
|
|
|
volumeMounts:
|
|
|
|
- name: secrets
|
|
|
|
mountPath: "/data/"
|
|
|
|
readOnly: true
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: "25Mi"
|
|
|
|
cpu: "25m"
|
|
|
|
limits:
|
|
|
|
memory: "100Mi"
|
|
|
|
cpu: "150m"
|
|
|
|
volumes:
|
|
|
|
- name: secrets
|
|
|
|
secret:
|
2018-11-28 05:27:21 +00:00
|
|
|
secretName: geth-bootnode-secret
|
|
|
|
---
|
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: geth-bootnode-v5
|
|
|
|
namespace: pow
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
component: bootnode-v5
|
|
|
|
universe: geth
|
2019-02-08 20:30:38 +00:00
|
|
|
app: goerli
|
|
|
|
version: v1
|
2018-11-28 05:27:21 +00:00
|
|
|
spec:
|
|
|
|
priorityClassName: production-priority
|
|
|
|
containers:
|
|
|
|
- name: bootnode
|
|
|
|
image: ethereum/client-go:alltools-stable
|
|
|
|
ports:
|
|
|
|
- containerPort: 8545
|
2019-02-08 20:30:38 +00:00
|
|
|
name: http-rpc
|
2018-11-28 05:27:21 +00:00
|
|
|
- containerPort: 30303
|
|
|
|
name: discovery-tcp
|
|
|
|
protocol: TCP
|
|
|
|
- containerPort: 30303
|
|
|
|
name: discovery-udp
|
|
|
|
protocol: UDP
|
|
|
|
- containerPort: 30301
|
|
|
|
name: bootnode-udp
|
|
|
|
protocol: UDP
|
|
|
|
command: ["bootnode"]
|
|
|
|
args:
|
|
|
|
- "--nodekey=/data/private_key"
|
|
|
|
- "--verbosity=4"
|
|
|
|
- "--v5"
|
|
|
|
volumeMounts:
|
|
|
|
- name: secrets
|
|
|
|
mountPath: "/data/"
|
|
|
|
readOnly: true
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: "25Mi"
|
|
|
|
cpu: "25m"
|
|
|
|
limits:
|
|
|
|
memory: "100Mi"
|
|
|
|
cpu: "150m"
|
|
|
|
volumes:
|
|
|
|
- name: secrets
|
|
|
|
secret:
|
|
|
|
secretName: geth-bootnode-secret
|