github.com/kotalco/kotal@v0.3.0/config/samples/stacks/stacks_v1alpha1_miner_node.yaml (about)

     1  # WARNING: DON'T use the following secrets in production
     2  apiVersion: v1
     3  kind: Secret
     4  metadata:
     5    name: bitcoin-node-rpc-password
     6  stringData:
     7    password: blockstacksystem
     8  ---
     9  # WARNING: DON'T use the following secrets in production
    10  apiVersion: v1
    11  kind: Secret
    12  metadata:
    13    name: seed-private-key
    14  stringData:
    15    key: 8310d8220c30bbf667e4f09071ae73a8fdff4e3cb508e67b4f9f962f830c130c01
    16  ---
    17  apiVersion: stacks.kotal.io/v1alpha1
    18  kind: Node
    19  metadata:
    20    name: stacks-miner-node
    21  spec:
    22    network: mainnet
    23    p2pPort: 8888
    24    rpcPort: 7777
    25    miner: true
    26    mineMicroblocks: true
    27    seedPrivateKeySecretName: seed-private-key
    28    bitcoinNode:
    29      endpoint: bitcoin.blockstack.com
    30      rpcPort: 8332
    31      p2pPort: 8333
    32      rpcUsername: blockstack
    33      rpcPasswordSecretName: bitcoin-node-rpc-password
    34    resources:
    35      cpu: "2"
    36      cpuLimit: "4"
    37      memory: "2Gi"
    38      memoryLimit: "4Gi"
    39      storage: "10Gi"