PORTWORX_AUTH_SYSTEM_KEY \ --from-literal=stork-secret=$PORTWORX_AUTH_STORK_KEY \ --from-literal=shared-secret shared-secret"' | base64 -d 打开您的YAML文件,找到PortworxDaemonset,可以看args, 在image:portworx/oci-monitor下。 shared-secret"' \ | base64 -d) 接下来,配置Admin Token。首先是SSH,到Portworx节点,这样就可以使用pxctl命令。 bin/pxctl auth token generate \ --auth-config=admin.yaml \ --issuer=example-domain.com \ --shared-secret pxctl auth token generate \ --auth-config=kubernetes.yaml \ --issuer=example-domain.com \ --shared-secret
"max": 1000, "duration": 1000 }, "jwt": { "expire": "14 days", "secret": "shared-secret "max": 1000, "duration": 1000 }, "jwt": { "expire": "14 days", "secret": "shared-secret
ping-timeout max-buffers # max-epoch-size ko-count allow-two-primaries cram-hmac-alg shared-secret 1pri after-sb-2pri data-integrity-alg no-tcp-cork cram-hmac-alg sha1; shared-secret
connect-int ping-int sndbuf-size rcvbuf-size ko-count # allow-two-primaries cram-hmac-alg shared-secret csums-alg verify-alg # use-rle cram-hmac-alg "sha1"; shared-secret
rateLimit": { "max": 1000, "duration": 1000 }, "jwt": { "expire": "14 days", "secret": "shared-secret
common { protocol C; disk { on-io-error detach; fencing resource-only; } net { cram-hmac-alg sha1; shared-secret
rateLimit": { "max": 1000, "duration": 1000 }, "jwt": { "expire": "14 days", "secret": "shared-secret
on-io-error detach; } net { cram-hmac-alg "sha1"; shared-secret
on-io-error detach; fencing resource-only; } net { cram-hmac-alg sha1; shared-secret
{ hooks: { enabled: true, token: "shared-secret", path: "/hooks", defaultSessionKey
trustedProxies: ["10.0.0.1"], }, } Webhooks 集成 基础 Webhook 配置 { hooks: { enabled: true, token: "shared-secret
disk { 14 on-io-error detach; 15 fencing resource-only; 16 17 } 18 net { 19 cram-hmac-alg"sha1"; 20 shared-secret
common { protocol C; disk { on-io-error detach; fencing resource-only; } net { cram-hmac-alg sha1; shared-secret
172.16.1.31 和 172.16.1.32 分别为两台服务器 IP resource r0 { net { protocol C; cram-hmac-alg "sha1"; shared-secret
cram-hmac-alg sha1; shared-secret "FooFunFactory"; } # 每个主机的说明以"on
resource r0 { # 使用协议C.表示收到远程主机的写入确认后,则认为写入完成. protocol C; net { # 设置主备机之间通信使用的信息算法. cram-hmac-alg sha1; shared-secret
smokeping --master-url=http://127.0.0.1:9006/smokeping.fcgi --cache-dir=/usr/local/smokeping/cache/ --shared-secret
Webhooks 外部集成 ========== hooks: { enabled: true, path: "/hooks", token: "shared-secret"
{ on-io-error detach; } net { cram-hmac-alg md5; #DRBD同步时使用的验证方式和密码 shared-secret
{ on-io-error detach; } net { cram-hmac-alg md5; #DRBD同步时使用的验证方式和密码 shared-secret