Skip to content

Instantly share code, notes, and snippets.

View areshand's full-sized avatar

Bo Wu areshand

View GitHub Profile
base:
# Update this value to the location you want the node to store its database
data_dir: "/Users/bowu/tmp/data2/"
role: "full_node"
waypoint:
# Update this value to that which the blockchain publicly provides. Please regard the directions
# below on how to safely manage your genesis_file_location with respect to the waypoint.
from_file: "/opt/aptos/waypoint.txt"
execution:
~/CLionProjects/internal-ops/terraform/public-networks/mainnet/gcp-fullnode-mainnet-backup- (main) $ kb describe pod pfn0-aptos-fullnode-backup-verify-28215360-z69kh
Name: pfn0-aptos-fullnode-backup-verify-28215360-z69kh
Namespace: aptos
Priority: 0
Node: gke-aptos-mainnet-backup-fullnodes-09f9f2f4-4zud/10.128.15.215
Start Time: Thu, 24 Aug 2023 19:49:52 -0700
Labels: app.kubernetes.io/instance=pfn0
app.kubernetes.io/name=backup-verify
app.kubernetes.io/part-of=aptos-fullnode
controller-uid=2a51dd1c-cd6d-4396-b842-e8c786d5c8d8
~/CLionProjects/internal-ops/terraform/fullnode/aws/testnet- (increase_threshold) $ kb describe pods pfn0-aptos-fullnode-backup-0
Name: pfn0-aptos-fullnode-backup-0
Namespace: default
Priority: 0
Node: ip-192-168-143-100.us-west-2.compute.internal/192.168.143.100
Start Time: Thu, 10 Aug 2023 19:39:57 -0700
Labels: app.kubernetes.io/instance=pfn0
app.kubernetes.io/name=backup
app.kubernetes.io/part-of=aptos-fullnode
controller-revision-hash=pfn0-aptos-fullnode-backup-744bf56f77
env_vars:
- key: BUCKET
value: aptos-testnet-backup-b7b1ad7a
- key: SUB_DIR
value: e1
commands:
create_backup: 'echo "$BACKUP_NAME"'
create_for_write: |
FILE_HANDLE="$BACKUP_HANDLE/$FILE_NAME"
echo "$FILE_HANDLE"
env_vars:
- key: BUCKET
value: aptos-testnet-backup-2223d95b
- key: SUB_DIR
value: e1
commands:
create_backup: 'echo "$BACKUP_NAME"'
create_for_write: |
FILE_HANDLE="$BACKUP_HANDLE/$FILE_NAME"
echo "$FILE_HANDLE"