无法从 chainlink CLI 创建外部启动器

Can't create external initiators from chainlink CLI

我们正在尝试根据文档将外部启动器设置为部署在 GKE 集群中的 Chainlink 容器: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 版本 0.9.10.

你能解释一下我做错了什么吗?

您需要确保在您的 .env 文件中将 FEATURE_EXTERNAL_INITIATORS 环境变量设置为 true:

FEATURE_EXTERNAL_INITIATORS=true

这将在 Chainlink CLI 中打开对 initiators 命令的访问,您可以从那里恢复指令。