consul-k8s

First-class support for Consul and Kubernetes. Run Consul on Kubernetes, integrate Connect, sync services, and more.

Github星跟蹤圖

Consul + Kubernetes (consul-k8s)

The consul-k8s binary includes first-class integrations between Consul and
Kubernetes. The project encapsulates multiple use cases such as syncing
services, injecting Connect sidecars, and more.
The Kubernetes integrations with Consul are
documented directly on the Consul website.
This README will present a basic overview of each use case, but for full
documentation please reference the Consul website.

This project is versioned separately from Consul. Supported Consul versions
for each feature will be noted below. By versioning this project separately,
we can iterate on Kubernetes integrations more quickly and release new versions
without forcing Consul users to do a full Consul upgrade.

Features

  • Catalog Sync:
    Sync Consul services into first-class Kubernetes services and vice versa.
    This enables Kubernetes to easily access external services and for
    non-Kubernetes nodes to easily discover and access Kubernetes services.
    (Requires Consul 1.1+)

  • Consul Service Mesh (Connect):
    Run Consul Service Mesh (aka Consul Connect) on Kubernetes. This feature
    injects Envoy sidecars and registers your Pods with Consul.
    (Requires Consul 1.3+)

Installation

consul-k8s is distributed in multiple forms:

  • The recommended installation method is the official
    Consul Helm chart. This will
    automatically configure the Consul and Kubernetes integration to run within
    an existing Kubernetes cluster.

  • A Docker image hashicorp/consul-k8s is available. This can be used to manually run consul-k8s within a scheduled environment.

  • Raw binaries are available in the HashiCorp releases directory.
    These can be used to run consul-k8s directly or build custom packages.

主要指標

概覽
名稱與所有者hashicorp/consul-k8s
主編程語言Go
編程語言Shell (語言數: 6)
平台
許可證Mozilla Public License 2.0
所有者活动
創建於2018-07-03 16:43:37
推送於2025-06-13 17:46:50
最后一次提交
發布數157
最新版本名稱v1.7.1 (發布於 )
第一版名稱v0.1.0 (發布於 2018-09-26 11:17:05)
用户参与
星數682
關注者數145
派生數326
提交數3.3k
已啟用問題?
問題數669
打開的問題數166
拉請求數3150
打開的拉請求數88
關閉的拉請求數695
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?