mirror of
https://github.com/hanzoai/bootnode.git
synced 2026-09-30 20:46:32 +00:00
Remove outdated config files
This commit is contained in:
@@ -246,43 +246,3 @@ class Bitcoin(Blockchain):
|
||||
resources=None, limits=None):
|
||||
super(Bitcoin, self).__init__(name, 'bitcoin', network, image, command,
|
||||
args, path, resources, limits)
|
||||
|
||||
# apiVersion: v1
|
||||
# kind: Pod
|
||||
# metadata:
|
||||
# name: geth-mainnet-000
|
||||
# network: mainnet
|
||||
# spec:
|
||||
# nodeSelector:
|
||||
# cloud.google.com/gke-nodepool: geth-mainnet
|
||||
# containers:
|
||||
# - name: geth-mainnet-000
|
||||
# image: gcr.io/hanzo-ai/geth:latest
|
||||
# resources:
|
||||
# requests:
|
||||
# cpu: 3
|
||||
# memory: 8Gi
|
||||
# command:
|
||||
# - /bin/geth
|
||||
# args:
|
||||
# - --datadir=/data
|
||||
# - --ethash.dagdir=/data/geth/chaindata/dag
|
||||
# - --cache=4096
|
||||
# - --rpc
|
||||
# - --rpcaddr=0.0.0.0
|
||||
# - --rpcport=8545
|
||||
# - --rpccorsdomain="*"
|
||||
# - --ws
|
||||
# - --wsaddr=0.0.0.0
|
||||
# - --wsport=8546
|
||||
# - --wsorigins="*"
|
||||
# - --syncmode=fast
|
||||
# - --maxpeers=50
|
||||
# volumeMounts:
|
||||
# - mountPath: '/data/geth/chaindata'
|
||||
# name: geth-mainnet-000-pv
|
||||
# volumes:
|
||||
# - name: geth-mainnet-000-pv
|
||||
# gcePersistentDisk:
|
||||
# pdName: geth-mainnet-000-pd
|
||||
# fsType: ext4
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: geth-mainnet-000
|
||||
network: mainnet
|
||||
spec:
|
||||
nodeSelector:
|
||||
cloud.google.com/gke-nodepool: geth-mainnet
|
||||
containers:
|
||||
- name: geth-mainnet-000
|
||||
image: gcr.io/hanzo-ai/geth:latest
|
||||
resources:
|
||||
requests:
|
||||
cpu: 3
|
||||
memory: 8Gi
|
||||
command:
|
||||
- /bin/geth
|
||||
args:
|
||||
- --datadir=/data
|
||||
- --ethash.dagdir=/data/geth/chaindata/dag
|
||||
- --cache=4096
|
||||
- --rpc
|
||||
- --rpcaddr=0.0.0.0
|
||||
- --rpcport=8545
|
||||
- --rpccorsdomain="*"
|
||||
- --ws
|
||||
- --wsaddr=0.0.0.0
|
||||
- --wsport=8546
|
||||
- --wsorigins="*"
|
||||
- --syncmode=fast
|
||||
- --maxpeers=50
|
||||
volumeMounts:
|
||||
- mountPath: '/data/geth/chaindata'
|
||||
name: geth-mainnet-000-pv
|
||||
volumes:
|
||||
- name: geth-mainnet-000-pv
|
||||
gcePersistentDisk:
|
||||
pdName: geth-mainnet-000-pd
|
||||
fsType: ext4
|
||||
@@ -1,12 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: geth-mainnet-pvc
|
||||
spec:
|
||||
storageClassName: gce-ssd-sc
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadOnlyMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 500G
|
||||
@@ -1,13 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: geth
|
||||
labels:
|
||||
app: geth
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
name: web
|
||||
clusterIP: None
|
||||
selector:
|
||||
app: geth
|
||||
@@ -1,41 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: geth-node
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: geth
|
||||
serviceName: "geth"
|
||||
replicas: 10 # by default is 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: geth
|
||||
spec:
|
||||
terminationGracePeriodSeconds: 30
|
||||
containers:
|
||||
- name: geth
|
||||
image: gcr.io/hanzo-ai/geth:latest
|
||||
command:
|
||||
- /go-ethereum/build/bin/geth
|
||||
args:
|
||||
- --datadir=/ethereum
|
||||
- --cache=1024
|
||||
- --rpc
|
||||
- --rpcaddr=0.0.0.0
|
||||
- --rpcport=13264
|
||||
- --syncmode=fast
|
||||
- --rpccorsdomain="*"
|
||||
volumeMounts:
|
||||
- mountPath: '/ethereum'
|
||||
name: geth-mainnet-pv
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: geth-mainnet-storage
|
||||
spec:
|
||||
accessModes: [ "ReadOnlyMany" ]
|
||||
storageClassName: geth-storage
|
||||
resources:
|
||||
requests:
|
||||
storage: 1000Gi
|
||||
@@ -1,38 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: geth-testnet-01
|
||||
spec:
|
||||
nodeSelector:
|
||||
cloud.google.com/gke-nodepool: default-pool
|
||||
containers:
|
||||
- name: geth-testnet-01
|
||||
image: gcr.io/hanzo-ai/geth:latest
|
||||
resources:
|
||||
requests:
|
||||
cpu: 1
|
||||
memory: 4Gi
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 6Gi
|
||||
command:
|
||||
- /bin/geth
|
||||
args:
|
||||
- --datadir=/data
|
||||
- --ethash.dagdir=/data/geth/chaindata/dag
|
||||
- --cache=2048
|
||||
- --rpc
|
||||
- --rpcaddr=0.0.0.0
|
||||
- --rpcport=13264
|
||||
- --syncmode=fast
|
||||
- --maxpeers=25
|
||||
- --rpccorsdomain="*"
|
||||
- --testnet
|
||||
volumeMounts:
|
||||
- mountPath: '/data/geth/chaindata'
|
||||
name: geth-testnet-pv-01
|
||||
volumes:
|
||||
- name: geth-testnet-pv-01
|
||||
gcePersistentDisk:
|
||||
pdName: geth-testnet
|
||||
fsType: ext4
|
||||
@@ -1,43 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: geth-testnet-000
|
||||
network: testnet
|
||||
spec:
|
||||
nodeSelector:
|
||||
cloud.google.com/gke-nodepool: geth-testnet
|
||||
containers:
|
||||
- name: geth-testnet-000
|
||||
image: gcr.io/hanzo-ai/geth:latest
|
||||
resources:
|
||||
requests:
|
||||
cpu: 1
|
||||
memory: 2Gi
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 4Gi
|
||||
command:
|
||||
- /bin/geth
|
||||
args:
|
||||
- --datadir=/data
|
||||
- --ethash.dagdir=/data/geth/chaindata/dag
|
||||
- --cache=1024
|
||||
- --rpc
|
||||
- --rpcaddr=0.0.0.0
|
||||
- --rpcport=8545
|
||||
- --rpccorsdomain="*"
|
||||
- --ws
|
||||
- --wsaddr=0.0.0.0
|
||||
- --wsport=8546
|
||||
- --wsorigins="*"
|
||||
- --syncmode=fast
|
||||
- --maxpeers=25
|
||||
- --testnet
|
||||
volumeMounts:
|
||||
- mountPath: '/data/geth/chaindata'
|
||||
name: geth-testnet-000-pv
|
||||
volumes:
|
||||
- name: geth-testnet-000-pv
|
||||
gcePersistentDisk:
|
||||
pdName: geth-testnet-000-pd
|
||||
fsType: ext4
|
||||
@@ -1,12 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: geth-testnet-pvc
|
||||
spec:
|
||||
storageClassName: gce-ssd-sc
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadOnlyMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 500G
|
||||
@@ -1,13 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: geth
|
||||
labels:
|
||||
app: geth
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
name: web
|
||||
clusterIP: None
|
||||
selector:
|
||||
app: geth
|
||||
@@ -1,41 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: geth-ss
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: geth-testnet
|
||||
serviceName: "geth-testnet"
|
||||
replicas: 10 # by default is 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: geth-testnet
|
||||
spec:
|
||||
terminationGracePeriodSeconds: 30
|
||||
containers:
|
||||
- name: geth-testnet
|
||||
image: gcr.io/hanzo-ai/geth:latest
|
||||
command:
|
||||
- /go-ethereum/build/bin/geth
|
||||
args:
|
||||
- --datadir=/ethereum
|
||||
- --cache=1024
|
||||
- --rpc
|
||||
- --rpcaddr=0.0.0.0
|
||||
- --rpcport=13264
|
||||
- --syncmode=fast
|
||||
- --rpccorsdomain="*"
|
||||
volumeMounts:
|
||||
- mountPath: '/ethereum'
|
||||
name: geth-testnet-pv
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: geth-testnet-storage
|
||||
spec:
|
||||
accessModes: [ "ReadOnlyMany" ]
|
||||
storageClassName: geth-storage
|
||||
resources:
|
||||
requests:
|
||||
storage: 1000Gi
|
||||
Reference in New Issue
Block a user