Skip to content
项目

关于

An open source project that aims to provide better support for service providers and consumers that reside in distinct Kubernetes clusters.

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Logo

GitHub GitHub release (latest SemVer)

kbind

You are invited to contribute!

What is it?

kbind (formerly known as kube-bind) provides better support for service providers and consumers that reside in distinct Kubernetes clusters.

  • A service provider defines its API in terms of CRDs, exports it for use from other clusters, and controls access through Kubernetes RBAC.
  • Service consumers identify the services they want to consume.
  • The service CRDs get installed in the service consumer clusters, with objects of the defined kinds written and read by the service consumers.
  • The service provider indirectly reads and writes those objects as the interface to the service that it provides.
  • The service provider does not inject controllers/operators into the service consumer's cluster.
  • A single vendor-neutral, OpenSource agent per consumer cluster, the konnector, connects it with the requested services.

Try it out

Follow the Quickstart to try v2 with two local Kubernetes clusters. It runs from source without depending on a published v2 release.

With the CLI installed, a provider offering a widgets API, and the v2 konnector installed in your consumer cluster:

kubectl bind login https://bind.example.com
kubectl bind export widgets --kubeconfig=./consumer.kubeconfig --install-konnector=false

Replace the provider URL and consumer kubeconfig with your own. The konnector makes the Widget API available in the consumer cluster, without a Widget-specific controller running there. See the CLI guide for details.

For more information

For more information go to https://kbind.dev or watch the ContainerDays talk or the KubeCon talk.

kbind is following this manifesto from the linked talk:

Let's design a post-operator / post-cluster technology, that allows a service provider persona as a first-class citizen and can securely provide centrally operated kube-native services.

Contributing

We ❤️ our contributors! If you're interested in helping us out, please check out Contributing to kbind and kbind Project Governance.

The developer guide covers the architecture, development environments, builds, tests, and code generation.

Getting in touch

There are several ways to communicate with us:

See the community page for more details.

Technical Overview

Technical overview of kbind connecting consumer and provider clusters

The konnector connects directly to the provider's Kubernetes API. The backend adds a catalog, authentication, and credential issuance, but is not required for synchronization. See the architecture guide for the implementation details.

Usage

To get familiar with setting up the environment, please check out the setup guide and usage guide. For an existing installation, start with Moving from 0.x.

Limitations

Resource scope, namespace, and name are preserved between clusters. Namespace isolation must be arranged by the deployment. See API concepts for schema limitations and Resource Synchronization for isolation and cleanup behavior.

探索相关项目

加载中…