Venafi Kubernetes Agent

Jetstack Secure 的开放源码组件。「Open source components of Jetstack Secure」

Github星跟踪图

Venafi Kubernetes Agent

tests
Go Reference
Go Report Card

"The agent" manages your machine identities across Cloud Native Kubernetes and OpenShift environments and builds a detailed view of the enterprise security posture.

Installation

Please review the documentation for the agent.

Detailed installation instructions are available for a variety of methods.

Local Execution

To build and run a version from master:

go run main.go agent --agent-config-file ./path/to/agent/config/file.yaml -p 0h1m0s

You can configure the agent to perform one data gathering loop and output the data to a local file:

go run . agent \
   --agent-config-file examples/one-shot-secret.yaml \
   --one-shot \
   --output-path output.json

Some examples of agent configuration files:

You might also want to run a local echo server to monitor requests sent by the agent:

go run main.go echo

Metrics

The agent exposes its metrics through a Prometheus server, on port 8081.

The Prometheus server is disabled by default but can be enabled by passing the --enable-metrics flag to the agent binary.

If you deploy the agent using the venafi-kubernetes-agent Helm chart, the metrics server will be enabled by default, on port 8081.

If you use the Prometheus Operator, you can use --set metrics.podmonitor.enabled=true to deploy a PodMonitor resource,
which will add the venafi-kubernetes-agent metrics to your Prometheus server.

The following metrics are collected:

  • Go collector: via the default registry in Prometheus client_golang.
  • Process collector: via the default registry in Prometheus client_golang.
  • Agent metrics: data_readings_upload_size: Data readings upload size (in bytes) sent by the in-cluster agent.

End to end testing

An end to end test script is available in the ./hack/e2e/test.sh directory. It is configured to run in CI
in the tests.yaml GitHub Actions workflow. To run the script you will need to add the test-e2e label to the PR.
The script creates a cluster in GKE and cleanups after itself unless the keep-e2e-cluster label is set on the PR. Adding that
label will leave the cluster running for further debugging but it will incur costs so manually delete the cluster when done.

主要指标

概览
名称与所有者jetstack/jetstack-secure
主编程语言Go
编程语言Makefile (语言数: 4)
平台
许可证Apache License 2.0
所有者活动
创建于2019-11-06 11:55:36
推送于2025-10-24 14:20:02
最后一次提交2025-10-23 14:47:10
发布数86
最新版本名称v1.7.0 (发布于 2025-10-23 15:48:31)
第一版名称v0.1.8-alpha.1 (发布于 )
用户参与
星数261
关注者数21
派生数25
提交数1.1k
已启用问题?
问题数78
打开的问题数11
拉请求数455
打开的拉请求数10
关闭的拉请求数191
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?