Socket
Book a DemoInstallSign in
Socket

github.com/Tyrame/chainr/work

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/Tyrame/chainr/work

v0.0.0-20200521182021-628eae6e8770
Source
Go
Version published
Created
Source

Worker

The worker processes pending jobs, manages dependencies, runs jobs on Kubernetes and update status and events.

Environment variables

The configuration is read through the environment. The following variables can be overridden:

  • REDIS_ADDR: The redis address, in the format hostname or hostname:port. Default: chainr-redis:6379.
  • REDIS_ADDRS: The redis address list, used when failover is setup in redis, in the format hostname1 hostname2 hostnameN or hostname1:port hostname2:port hostnameN:port. Default: value of REDIS_ADDR.
  • REDIS_MASTER: The name of the master when failover is setup in redis.
  • REDIS_PASSWORD: The redis password. Default: "" (no password).
  • REDIS_DB: The redis database. Default: 0 (default db).
  • KUBECONFIG: The kubeconfig file path. If not set , use the in-cluster configuration. Default: "".

Behaviour

Pending jobs are read from redis, and matched with the corresponding redis key. For more information on the format stored in redis, see the redis documentation.

FAQs

Package last updated on 21 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.