mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
Adding Blocksout and infra
This commit is contained in:
parent
4bc1c8502a
commit
5415da880e
87 changed files with 211 additions and 0 deletions
1
blockscout
Submodule
1
blockscout
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit baac235ae056e620111f6f9fd060e22e731eacf3
|
||||||
0
devnet/geth/LOCK
Normal file
0
devnet/geth/LOCK
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_00004096.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_00004096.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_00135168.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_00135168.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_00266240.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_00266240.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_00397312.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_00397312.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_00528384.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_00528384.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_00659456.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_00659456.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_00790528.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_00790528.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_00921600.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_00921600.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_01052672.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_01052672.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_01183744.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_01183744.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_01314816.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_01314816.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_01445888.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_01445888.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_01576960.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_01576960.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_01708032.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_01708032.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_01839104.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_01839104.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_01970176.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_01970176.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_02101248.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_02101248.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/limbo/bkt_02232320.bag
Normal file
BIN
devnet/geth/blobpool/limbo/bkt_02232320.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_00004096.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_00004096.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_00135168.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_00135168.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_00266240.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_00266240.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_00397312.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_00397312.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_00528384.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_00528384.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_00659456.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_00659456.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_00790528.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_00790528.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_00921600.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_00921600.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_01052672.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_01052672.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_01183744.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_01183744.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_01314816.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_01314816.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_01445888.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_01445888.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_01576960.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_01576960.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_01708032.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_01708032.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_01839104.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_01839104.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_01970176.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_01970176.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_02101248.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_02101248.bag
Normal file
Binary file not shown.
BIN
devnet/geth/blobpool/queue/bkt_02232320.bag
Normal file
BIN
devnet/geth/blobpool/queue/bkt_02232320.bag
Normal file
Binary file not shown.
BIN
devnet/geth/chaindata/000018.log
Normal file
BIN
devnet/geth/chaindata/000018.log
Normal file
Binary file not shown.
BIN
devnet/geth/chaindata/000021.sst
Normal file
BIN
devnet/geth/chaindata/000021.sst
Normal file
Binary file not shown.
1
devnet/geth/chaindata/CURRENT
Normal file
1
devnet/geth/chaindata/CURRENT
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
MANIFEST-000019
|
||||||
0
devnet/geth/chaindata/LOCK
Normal file
0
devnet/geth/chaindata/LOCK
Normal file
BIN
devnet/geth/chaindata/MANIFEST-000005
Normal file
BIN
devnet/geth/chaindata/MANIFEST-000005
Normal file
Binary file not shown.
BIN
devnet/geth/chaindata/MANIFEST-000019
Normal file
BIN
devnet/geth/chaindata/MANIFEST-000019
Normal file
Binary file not shown.
108
devnet/geth/chaindata/OPTIONS-000020
Normal file
108
devnet/geth/chaindata/OPTIONS-000020
Normal file
|
|
@ -0,0 +1,108 @@
|
||||||
|
[Version]
|
||||||
|
pebble_version=0.1
|
||||||
|
|
||||||
|
[Options]
|
||||||
|
bytes_per_sync=524288
|
||||||
|
cache_size=536870912
|
||||||
|
cleaner=delete
|
||||||
|
compaction_debt_concurrency=1073741824
|
||||||
|
comparer=leveldb.BytewiseComparator
|
||||||
|
disable_wal=false
|
||||||
|
flush_delay_delete_range=0s
|
||||||
|
flush_delay_range_key=0s
|
||||||
|
flush_split_bytes=4194304
|
||||||
|
format_major_version=1
|
||||||
|
l0_compaction_concurrency=10
|
||||||
|
l0_compaction_file_threshold=500
|
||||||
|
l0_compaction_threshold=4
|
||||||
|
l0_stop_writes_threshold=12
|
||||||
|
lbase_max_bytes=67108864
|
||||||
|
max_concurrent_compactions=8
|
||||||
|
max_manifest_file_size=134217728
|
||||||
|
max_open_files=524288
|
||||||
|
mem_table_size=67108864
|
||||||
|
mem_table_stop_writes_threshold=4
|
||||||
|
min_deletion_rate=0
|
||||||
|
merger=pebble.concatenate
|
||||||
|
read_compaction_rate=16000
|
||||||
|
read_sampling_multiplier=-1
|
||||||
|
strict_wal_tail=true
|
||||||
|
table_cache_shards=8
|
||||||
|
table_property_collectors=[]
|
||||||
|
validate_on_ingest=false
|
||||||
|
wal_dir=
|
||||||
|
wal_bytes_per_sync=512000
|
||||||
|
max_writer_concurrency=0
|
||||||
|
force_writer_parallelism=false
|
||||||
|
secondary_cache_size_bytes=0
|
||||||
|
create_on_shared=0
|
||||||
|
|
||||||
|
[Level "0"]
|
||||||
|
block_restart_interval=16
|
||||||
|
block_size=4096
|
||||||
|
block_size_threshold=90
|
||||||
|
compression=Snappy
|
||||||
|
filter_policy=rocksdb.BuiltinBloomFilter
|
||||||
|
filter_type=table
|
||||||
|
index_block_size=4096
|
||||||
|
target_file_size=2097152
|
||||||
|
|
||||||
|
[Level "1"]
|
||||||
|
block_restart_interval=16
|
||||||
|
block_size=4096
|
||||||
|
block_size_threshold=90
|
||||||
|
compression=Snappy
|
||||||
|
filter_policy=rocksdb.BuiltinBloomFilter
|
||||||
|
filter_type=table
|
||||||
|
index_block_size=4096
|
||||||
|
target_file_size=4194304
|
||||||
|
|
||||||
|
[Level "2"]
|
||||||
|
block_restart_interval=16
|
||||||
|
block_size=4096
|
||||||
|
block_size_threshold=90
|
||||||
|
compression=Snappy
|
||||||
|
filter_policy=rocksdb.BuiltinBloomFilter
|
||||||
|
filter_type=table
|
||||||
|
index_block_size=4096
|
||||||
|
target_file_size=8388608
|
||||||
|
|
||||||
|
[Level "3"]
|
||||||
|
block_restart_interval=16
|
||||||
|
block_size=4096
|
||||||
|
block_size_threshold=90
|
||||||
|
compression=Snappy
|
||||||
|
filter_policy=rocksdb.BuiltinBloomFilter
|
||||||
|
filter_type=table
|
||||||
|
index_block_size=4096
|
||||||
|
target_file_size=16777216
|
||||||
|
|
||||||
|
[Level "4"]
|
||||||
|
block_restart_interval=16
|
||||||
|
block_size=4096
|
||||||
|
block_size_threshold=90
|
||||||
|
compression=Snappy
|
||||||
|
filter_policy=rocksdb.BuiltinBloomFilter
|
||||||
|
filter_type=table
|
||||||
|
index_block_size=4096
|
||||||
|
target_file_size=33554432
|
||||||
|
|
||||||
|
[Level "5"]
|
||||||
|
block_restart_interval=16
|
||||||
|
block_size=4096
|
||||||
|
block_size_threshold=90
|
||||||
|
compression=Snappy
|
||||||
|
filter_policy=rocksdb.BuiltinBloomFilter
|
||||||
|
filter_type=table
|
||||||
|
index_block_size=4096
|
||||||
|
target_file_size=67108864
|
||||||
|
|
||||||
|
[Level "6"]
|
||||||
|
block_restart_interval=16
|
||||||
|
block_size=4096
|
||||||
|
block_size_threshold=90
|
||||||
|
compression=Snappy
|
||||||
|
filter_policy=rocksdb.BuiltinBloomFilter
|
||||||
|
filter_type=table
|
||||||
|
index_block_size=4096
|
||||||
|
target_file_size=134217728
|
||||||
0
devnet/geth/chaindata/ancient/chain/FLOCK
Normal file
0
devnet/geth/chaindata/ancient/chain/FLOCK
Normal file
0
devnet/geth/chaindata/ancient/chain/bodies.0000.cdat
Normal file
0
devnet/geth/chaindata/ancient/chain/bodies.0000.cdat
Normal file
BIN
devnet/geth/chaindata/ancient/chain/bodies.cidx
Normal file
BIN
devnet/geth/chaindata/ancient/chain/bodies.cidx
Normal file
Binary file not shown.
1
devnet/geth/chaindata/ancient/chain/bodies.meta
Normal file
1
devnet/geth/chaindata/ancient/chain/bodies.meta
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<EFBFBD><02>
|
||||||
0
devnet/geth/chaindata/ancient/chain/hashes.0000.rdat
Normal file
0
devnet/geth/chaindata/ancient/chain/hashes.0000.rdat
Normal file
1
devnet/geth/chaindata/ancient/chain/hashes.meta
Normal file
1
devnet/geth/chaindata/ancient/chain/hashes.meta
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<EFBFBD><02>
|
||||||
BIN
devnet/geth/chaindata/ancient/chain/hashes.ridx
Normal file
BIN
devnet/geth/chaindata/ancient/chain/hashes.ridx
Normal file
Binary file not shown.
0
devnet/geth/chaindata/ancient/chain/headers.0000.cdat
Normal file
0
devnet/geth/chaindata/ancient/chain/headers.0000.cdat
Normal file
BIN
devnet/geth/chaindata/ancient/chain/headers.cidx
Normal file
BIN
devnet/geth/chaindata/ancient/chain/headers.cidx
Normal file
Binary file not shown.
1
devnet/geth/chaindata/ancient/chain/headers.meta
Normal file
1
devnet/geth/chaindata/ancient/chain/headers.meta
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<EFBFBD><02>
|
||||||
0
devnet/geth/chaindata/ancient/chain/receipts.0000.cdat
Normal file
0
devnet/geth/chaindata/ancient/chain/receipts.0000.cdat
Normal file
BIN
devnet/geth/chaindata/ancient/chain/receipts.cidx
Normal file
BIN
devnet/geth/chaindata/ancient/chain/receipts.cidx
Normal file
Binary file not shown.
1
devnet/geth/chaindata/ancient/chain/receipts.meta
Normal file
1
devnet/geth/chaindata/ancient/chain/receipts.meta
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<EFBFBD><02>
|
||||||
0
devnet/geth/chaindata/ancient/state/FLOCK
Normal file
0
devnet/geth/chaindata/ancient/state/FLOCK
Normal file
BIN
devnet/geth/chaindata/ancient/state/account.data.0000.cdat
Normal file
BIN
devnet/geth/chaindata/ancient/state/account.data.0000.cdat
Normal file
Binary file not shown.
BIN
devnet/geth/chaindata/ancient/state/account.data.cidx
Normal file
BIN
devnet/geth/chaindata/ancient/state/account.data.cidx
Normal file
Binary file not shown.
1
devnet/geth/chaindata/ancient/state/account.data.meta
Normal file
1
devnet/geth/chaindata/ancient/state/account.data.meta
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<EFBFBD><02>
|
||||||
BIN
devnet/geth/chaindata/ancient/state/account.index.0000.cdat
Normal file
BIN
devnet/geth/chaindata/ancient/state/account.index.0000.cdat
Normal file
Binary file not shown.
BIN
devnet/geth/chaindata/ancient/state/account.index.cidx
Normal file
BIN
devnet/geth/chaindata/ancient/state/account.index.cidx
Normal file
Binary file not shown.
1
devnet/geth/chaindata/ancient/state/account.index.meta
Normal file
1
devnet/geth/chaindata/ancient/state/account.index.meta
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<EFBFBD><02>
|
||||||
BIN
devnet/geth/chaindata/ancient/state/history.meta.0000.rdat
Normal file
BIN
devnet/geth/chaindata/ancient/state/history.meta.0000.rdat
Normal file
Binary file not shown.
1
devnet/geth/chaindata/ancient/state/history.meta.meta
Normal file
1
devnet/geth/chaindata/ancient/state/history.meta.meta
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<EFBFBD><02>
|
||||||
BIN
devnet/geth/chaindata/ancient/state/history.meta.ridx
Normal file
BIN
devnet/geth/chaindata/ancient/state/history.meta.ridx
Normal file
Binary file not shown.
BIN
devnet/geth/chaindata/ancient/state/storage.data.0000.cdat
Normal file
BIN
devnet/geth/chaindata/ancient/state/storage.data.0000.cdat
Normal file
Binary file not shown.
BIN
devnet/geth/chaindata/ancient/state/storage.data.cidx
Normal file
BIN
devnet/geth/chaindata/ancient/state/storage.data.cidx
Normal file
Binary file not shown.
1
devnet/geth/chaindata/ancient/state/storage.data.meta
Normal file
1
devnet/geth/chaindata/ancient/state/storage.data.meta
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<EFBFBD><02>
|
||||||
BIN
devnet/geth/chaindata/ancient/state/storage.index.0000.cdat
Normal file
BIN
devnet/geth/chaindata/ancient/state/storage.index.0000.cdat
Normal file
Binary file not shown.
BIN
devnet/geth/chaindata/ancient/state/storage.index.cidx
Normal file
BIN
devnet/geth/chaindata/ancient/state/storage.index.cidx
Normal file
Binary file not shown.
1
devnet/geth/chaindata/ancient/state/storage.index.meta
Normal file
1
devnet/geth/chaindata/ancient/state/storage.index.meta
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<EFBFBD><02>
|
||||||
1
devnet/geth/nodekey
Normal file
1
devnet/geth/nodekey
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
843de884ab5b03c082939a70aa743e9525178a6dcb78ba6f72b78bfcced78332
|
||||||
BIN
devnet/geth/nodes/000002.ldb
Normal file
BIN
devnet/geth/nodes/000002.ldb
Normal file
Binary file not shown.
BIN
devnet/geth/nodes/000003.log
Normal file
BIN
devnet/geth/nodes/000003.log
Normal file
Binary file not shown.
1
devnet/geth/nodes/CURRENT
Normal file
1
devnet/geth/nodes/CURRENT
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
MANIFEST-000004
|
||||||
1
devnet/geth/nodes/CURRENT.bak
Normal file
1
devnet/geth/nodes/CURRENT.bak
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
MANIFEST-000000
|
||||||
0
devnet/geth/nodes/LOCK
Normal file
0
devnet/geth/nodes/LOCK
Normal file
20
devnet/geth/nodes/LOG
Normal file
20
devnet/geth/nodes/LOG
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
=============== Jun 22, 2025 (UTC) ===============
|
||||||
|
08:59:11.241660 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
|
||||||
|
08:59:11.275695 db@open opening
|
||||||
|
08:59:11.281304 version@stat F·[] S·0B[] Sc·[]
|
||||||
|
08:59:11.283855 db@janitor F·2 G·0
|
||||||
|
08:59:11.284233 db@open done T·8.402417ms
|
||||||
|
09:01:14.540781 db@close closing
|
||||||
|
09:01:14.543913 db@close done T·3.124417ms
|
||||||
|
=============== Jun 22, 2025 (UTC) ===============
|
||||||
|
09:02:05.258216 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
|
||||||
|
09:02:05.268407 version@stat F·[] S·0B[] Sc·[]
|
||||||
|
09:02:05.270868 db@open opening
|
||||||
|
09:02:05.273043 journal@recovery F·1
|
||||||
|
09:02:05.274177 journal@recovery recovering @1
|
||||||
|
09:02:05.282284 memdb@flush created L0@2 N·2 S·181B "loc..seq,v2":"version,v1"
|
||||||
|
09:02:05.292286 version@stat F·[1] S·181B[181B] Sc·[0.25]
|
||||||
|
09:02:05.336903 db@janitor F·3 G·0
|
||||||
|
09:02:05.337095 db@open done T·65.72775ms
|
||||||
|
09:04:15.417215 db@close closing
|
||||||
|
09:04:15.420610 db@close done T·3.374958ms
|
||||||
BIN
devnet/geth/nodes/MANIFEST-000004
Normal file
BIN
devnet/geth/nodes/MANIFEST-000004
Normal file
Binary file not shown.
|
|
@ -0,0 +1 @@
|
||||||
|
{"address":"71562b71999873db5b286df957af199ec94617f7","crypto":{"cipher":"aes-128-ctr","ciphertext":"5aa44919fc162b017cee03b47840bc8181d0cc84ccc971dcc21e4dd0dbb3c4b1","cipherparams":{"iv":"88f40f5391a448b79b77bfe4e33b635c"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"24ddbfe243e59d084ebef5c9dbf281bafd7b933c4a69c6178397872fc8ebc2f3"},"mac":"051e3ba0d42caf00f99b7febff74a3ef6e667bc46aafe053d5719f73e4119bf7"},"id":"3f4bec25-f2fd-4b92-971f-96e639783561","version":3}
|
||||||
22
infra/.terraform.lock.hcl
Normal file
22
infra/.terraform.lock.hcl
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
# This file is maintained automatically by "terraform init".
|
||||||
|
# Manual edits may be lost in future updates.
|
||||||
|
|
||||||
|
provider "registry.terraform.io/hashicorp/google" {
|
||||||
|
version = "6.39.0"
|
||||||
|
constraints = "6.39.0"
|
||||||
|
hashes = [
|
||||||
|
"h1:/yq4IbfFguig3xQ9ep8+a0U4vPCCVoODBtDS8D614BU=",
|
||||||
|
"zh:078a4df8e8ebc71ec3d882e0438b5156dbfb0724a0bbf998b8a2883e304c6d96",
|
||||||
|
"zh:2afeb2f2bb2abfe61cf3e1bad230db5429656ac45fd5c50947c917306b570806",
|
||||||
|
"zh:2de240d0fa1245980fbd116a90f8fc94658a383f39c07539ebb37ab61070daff",
|
||||||
|
"zh:555fd19d439db7a3d2c0c97ccac7be7784b600fee739ddfb6e101b27374bd1a2",
|
||||||
|
"zh:5fc954d08cbd21939c0029a73e611bfc046e4b3e2dc428afea1569047aab7c34",
|
||||||
|
"zh:68d411f55a0a210b074292e96965d41e86fed07c63dec28ac02c5dc130d30026",
|
||||||
|
"zh:90fa0698efeba97e542d4cd0d1c1c8a41b66ebe5ded941aba15707f9a8f8ae3f",
|
||||||
|
"zh:9d8e7f09e50bc27a69cfbfefdd6fc30abd29bb1bad781e00523f715d97334ed2",
|
||||||
|
"zh:a4f2d8772505148cccd175a14577326d4fceca6d32367ca96c061320511959ce",
|
||||||
|
"zh:a7c884990be8ac6b85259a0236ee173b853c0d6fc4d13740363e519625583e72",
|
||||||
|
"zh:dc88506e11d5723aa30a0aeeb782b7086f8b4c569c2ddc62f28449c3dc873c47",
|
||||||
|
"zh:f569b65999264a9416862bca5cd2a6177d94ccb0424f3a4ef424428912b9cb3c",
|
||||||
|
]
|
||||||
|
}
|
||||||
25
infra/kubernetes.tf
Normal file
25
infra/kubernetes.tf
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
resource "google_container_cluster" "lime_primary" {
|
||||||
|
name = "${var.project_id}-cluster"
|
||||||
|
location = var.region
|
||||||
|
deletion_protection = false
|
||||||
|
|
||||||
|
remove_default_node_pool = true
|
||||||
|
initial_node_count = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "google_container_node_pool" "lime_primary_nodes" {
|
||||||
|
name = "${var.project_id}-node-pool"
|
||||||
|
location = var.region
|
||||||
|
cluster = google_container_cluster.lime_primary.name
|
||||||
|
node_count = 1
|
||||||
|
|
||||||
|
node_config {
|
||||||
|
preemptible = true
|
||||||
|
machine_type = "e2-micro"
|
||||||
|
|
||||||
|
service_account = google_service_account.lime_account.email
|
||||||
|
oauth_scopes = [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
14
infra/providers.tf
Normal file
14
infra/providers.tf
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
terraform {
|
||||||
|
required_providers {
|
||||||
|
google = {
|
||||||
|
source = "hashicorp/google"
|
||||||
|
version = "6.39.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "google" {
|
||||||
|
project = var.project_id
|
||||||
|
region = var.region
|
||||||
|
credentials = file("~/terraform-key.json")
|
||||||
|
}
|
||||||
7
infra/variables.tf
Normal file
7
infra/variables.tf
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
variable "project_id" {
|
||||||
|
default = "limetask"
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "region" {
|
||||||
|
default = "europe-southwest1"
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue