mirror of
https://github.com/hanzoai/bootnode.git
synced 2026-09-30 20:46:32 +00:00
Update kubernetes configuration
This commit is contained in:
@@ -23,7 +23,7 @@ create-disk:
|
||||
|
||||
create-volume:
|
||||
kubectl apply -f $(cfg)/sc.yaml
|
||||
kubectl apply -f $(cfg)/pvc-ssd.yaml
|
||||
kubectl apply -f $(cfg)/pvc.yaml
|
||||
|
||||
create-pod:
|
||||
kubectl apply -f $(cfg)/pod.yaml
|
||||
|
||||
@@ -25,14 +25,9 @@ spec:
|
||||
- --maxpeers=50
|
||||
- --rpccorsdomain="*"
|
||||
volumeMounts:
|
||||
# - mountPath: '/ethereum'
|
||||
# name: geth-mainnet-pv
|
||||
- mountPath: '/data/geth/chaindata'
|
||||
name: geth-mainnet-data-pv
|
||||
name: geth-mainnet-pv
|
||||
volumes:
|
||||
# - name: geth-mainnet-pv
|
||||
# persistentVolumeClaim:
|
||||
# claimName: geth-mainnet-pvc
|
||||
- name: geth-mainnet-data-pv
|
||||
persistentVolumeClaim:
|
||||
claimName: geth-mainnet-data-pvc
|
||||
claimName: geth-mainnet-pvc
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: geth-mainnet-data-pvc
|
||||
spec:
|
||||
storageClassName: ssd-retain-sc
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadOnlyMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 500G
|
||||
@@ -9,4 +9,4 @@ spec:
|
||||
- ReadOnlyMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 1000G
|
||||
storage: 500G
|
||||
|
||||
@@ -30,11 +30,8 @@ spec:
|
||||
- --testnet
|
||||
volumeMounts:
|
||||
- mountPath: '/data/geth/chaindata'
|
||||
name: geth-testnet-data-pv
|
||||
name: geth-testnet-pv
|
||||
volumes:
|
||||
# - name: geth-testnet-pv
|
||||
# persistentVolumeClaim:
|
||||
# claimName: geth-testnet-pvc
|
||||
- name: geth-testnet-data-pv
|
||||
- name: geth-testnet-pv
|
||||
persistentVolumeClaim:
|
||||
claimName: geth-testnet-data-pvc
|
||||
claimName: geth-testnet-pvc
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: geth-testnet-data-pvc
|
||||
spec:
|
||||
storageClassName: ssd-retain-sc
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadOnlyMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 500G
|
||||
@@ -9,4 +9,4 @@ spec:
|
||||
- ReadOnlyMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 1000G
|
||||
storage: 500G
|
||||
|
||||
Reference in New Issue
Block a user