HashiCorp Consul + Kubernetes深度融合

SEP 05 2018 MITCHELL HASHIMOTO

We're excited to announce multiple features that deeply integrate HashiCorp Consul with Kubernetes. This post will share the initial set of features that will be released in the coming weeks.

The features include an official Helm Chart for installing Consul on Kubernetes, automatic syncing of Kubernetes services with Consul (and vice versa), auto-join for external Consul agents to join a cluster in Kubernetes, injectors so pods are automatically secured with Connect, and support for Envoy.

In addition to natively integrating with Kubernetes, these features help solve important cross-cluster challenges between multiple Kubernetes clusters as well as non-Kubernetes services interacting with Kubernetes services. We're excited to share this work with you.

Features

The following is the list of features that will be announced and released in the coming weeks. Follow-on announcement blog posts will cover each in detail, and each item will be updated to link to that announcement post.

  • Helm Chart. An official Helm chart for installing, configuring, and upgrading Consul on Kubernetes. This Helm chart will also support automatic installation and configuration of the other features for Kubernetes such as catalog syncing.

  • Auto-join for Kubernetes. Consul's cloud auto-join feature will be updated to support discovering and joining Kubernetes-based agents. This will enable external Consul agents to join a Consul cluster running in Kubernetes.

  • Service Catalog Sync: K8S to Consul. Appropriate Kubernetes services will be automatically synced to the Consul catalog, enabling non-Kubernetes services to discover and connect to services running within Kubernetes.

  • Service Catalog Sync: Consul to K8S. Consul services will be synced to Kubernetes services so that applications can use Kubernetes-native service discovery to discover and connect to services running outside of Kubernetes.

  • Connect Auto-Inject. Pods deployed in Kubernetes can be configured to automatically use Connect to securely communicate via mutual TLS.

  • Envoy Proxy Support. Pods configured to use Connect Auto-Inject can use the Envoy Proxy for layer 4 communication, secured via Connect. Envoy will also be available for non-Kubernetes Connect deployments.

Integrating with Kubernetes

We're currently integrating closely with Kubernetes across multiple products. We see opportunities to solve challenges for pure Kubernetes users by making our products easier to run as well as integrating with and enhancing Kubernetes features.

A core tenet of this integration is to enhance existing features rather than replace. Features such as Services, ConfigMaps, Secrets, and more are part of the core Kubernetes workflow. Higher level tools and extensions leverage these core primitives. Therefore, we're also integrating with and enhancing these core primitives. For example, the Consul catalog sync converts external services in Consul's catalog into first-class Kubernetes Service resources. Applications running in Kubernetes can then discover and connect to non-Kubernetes services natively.

In addition to making our products easier and more natural to use within Kubernetes, these integrations allow users to better work in environments shared with non-Kubernetes workloads. While it is easy for new users to start in pure-Kubernetes environments, most deployments have to interact with external services running in cloud computing environments, on-prem datacenters, and more. HashiCorp products such as Consul are designed for these heterogeneous environments. By enabling a more natural Kubernetes experience, it becomes equally natural for non-Kubernetes applications to interact with Kubernetes applications.

Next

We're excited to announce the first set of HashiCorp Consul and Kubernetes features. These features make it much easier to run Consul on Kubernetes, interact with non-Kubernetes services, securely communicate within and beyond Kubernetes, and more. Each of these features will be fully announced and released over the coming weeks, beginning with the Helm Chart next week.

Terraform and Vault are also being closely integrated with Kubernetes. The Terraform Kubernetes provider now has a dedicated engineer and should improve rapidly over the coming months. Vault has new integrations under development and will also be announced soon.

If you're passionate about Kubernetes, our tools, and improving those integrations, please join us! We have a few roles open for ecosystem engineers to work on Kubernetes integrations.

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末弧满,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子狮暑,更是在濱河造成了極大的恐慌,老刑警劉巖辉饱,帶你破解...
    沈念sama閱讀 221,695評(píng)論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件搬男,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡彭沼,警方通過查閱死者的電腦和手機(jī)缔逛,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,569評(píng)論 3 399
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來姓惑,“玉大人褐奴,你說我怎么就攤上這事∮诒校” “怎么了敦冬?”我有些...
    開封第一講書人閱讀 168,130評(píng)論 0 360
  • 文/不壞的土叔 我叫張陵,是天一觀的道長唯沮。 經(jīng)常有香客問我脖旱,道長,這世上最難降的妖魔是什么烂翰? 我笑而不...
    開封第一講書人閱讀 59,648評(píng)論 1 297
  • 正文 為了忘掉前任夯缺,我火速辦了婚禮,結(jié)果婚禮上甘耿,老公的妹妹穿的比我還像新娘踊兜。我一直安慰自己,他們只是感情好佳恬,可當(dāng)我...
    茶點(diǎn)故事閱讀 68,655評(píng)論 6 397
  • 文/花漫 我一把揭開白布捏境。 她就那樣靜靜地躺著,像睡著了一般毁葱。 火紅的嫁衣襯著肌膚如雪垫言。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 52,268評(píng)論 1 309
  • 那天倾剿,我揣著相機(jī)與錄音筷频,去河邊找鬼蚌成。 笑死,一個(gè)胖子當(dāng)著我的面吹牛凛捏,可吹牛的內(nèi)容都是我干的担忧。 我是一名探鬼主播,決...
    沈念sama閱讀 40,835評(píng)論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼坯癣,長吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼瓶盛!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起示罗,我...
    開封第一講書人閱讀 39,740評(píng)論 0 276
  • 序言:老撾萬榮一對(duì)情侶失蹤惩猫,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后蚜点,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體轧房,經(jīng)...
    沈念sama閱讀 46,286評(píng)論 1 318
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 38,375評(píng)論 3 340
  • 正文 我和宋清朗相戀三年绍绘,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了锯厢。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 40,505評(píng)論 1 352
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡脯倒,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出捺氢,到底是詐尸還是另有隱情藻丢,我是刑警寧澤,帶...
    沈念sama閱讀 36,185評(píng)論 5 350
  • 正文 年R本政府宣布摄乒,位于F島的核電站悠反,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏馍佑。R本人自食惡果不足惜斋否,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,873評(píng)論 3 333
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望拭荤。 院中可真熱鬧茵臭,春花似錦、人聲如沸舅世。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,357評(píng)論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽雏亚。三九已至缨硝,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間罢低,已是汗流浹背查辩。 一陣腳步聲響...
    開封第一講書人閱讀 33,466評(píng)論 1 272
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人宜岛。 一個(gè)月前我還...
    沈念sama閱讀 48,921評(píng)論 3 376
  • 正文 我出身青樓长踊,卻偏偏與公主長得像,于是被迫代替她去往敵國和親谬返。 傳聞我的和親對(duì)象是個(gè)殘疾皇子之斯,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,515評(píng)論 2 359

推薦閱讀更多精彩內(nèi)容