我们正在尝试根据文档为部署在GKE集群中的链连接容器设置外部启动器:https://docs.chain.link/docs/external-initiators-in-nodes/
我登录到pod:
kubectl exec -it -n chainlink chainlink-75dd5b6bdf-b4kwr -- /bin/bash
然后我尝试创建外部启动器:
root@chainlink-75dd5b6bdf-b4kwr:/home/root# chainlink initiators create xxx xxx
No help topic for 'initiators'
我甚至没有在chainlink cli选项中看到启动器:
root@chainlink-75dd5b6bdf-b4kwr:/home/root# chainlink
NAME:
chainlink - CLI for Chainlink
USAGE:
chainlink [global options] command [command options] [arguments...]
VERSION:
0.9.10@7cd042c1a94c57219ed826a6eab46752d63fa67a
COMMANDS:
admin Commands for remotely taking admin related actions
attempts, txas Commands for managing Ethereum Transaction Attempts
bridges Commands for Bridges communicating with External Adapters
config Commands for the node's configuration
job_specs Commands for managing Job Specs (jobs V1)
jobs Commands for managing Jobs (V2)
keys Commands for managing various types of keys used by the Chainlink node
node, local Commands for admin actions that must be run locally
runs Commands for managing Runs
txs Commands for handling Ethereum transactions
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--json, -j json output as opposed to table
--help, -h show help
--version, -v print the version
Chainlink version 0.9.10.
你能解释一下我做错了什么吗?
您需要确保在.env文件中将FEATURE_EXTERNAL_INITIATORS
环境变量设置为true,如下所示:
FEATURE_EXTERNAL_INITIATORS=true
这将打开对Chainlink CLI中的initiators
命令的访问,您可以从那里恢复指令。