发布 HashiCorp Consul Helm Chart
SEP 12 2018 MITCHELL HASHIMOTO
We're releasing HashiCorp Consul + Kubernetes features every week. This week we're releasing the official Consul Helm Chart for running and configuring Consul on Kubernetes.
Using the Helm chart, you can start a complete Consul cluster on Kubernetes in minutes. The Helm chart can setup and configure a Consul server cluster, client agents, or both. The Helm chart will also be the primary mechanism for setting up future Consul and Kubernetes features.
Video
To learn more about the Consul Helm chart, watch the video below or scroll down to read more. The video below shows the Helm chart being used to install, reconfigure, and upgrade Consul.
Youtube:https://www.youtube.com/watch?time_continue=2&v=26B5QJyE8uI
Youku:http://v.youku.com/v_show/id_XMzgyMTk5MzQ4MA==.html?spm=a2h3j.8428770.3416059.1
Running a Consul Cluster
The Helm chart can be used to setup Consul on Kubernetes in minutes.
The chart is currently available via the hashicorp/consul-helm GitHub repository. We plan on supporting official Helm repositories in the future. For now you must download or clone this repository to get started. After downloading the repository, please check out a tagged release:
$ git clone https://github.com/hashicorp/consul-helm.git $ cd consul-helm/ $ git checkout v0.1.0
Then, install the chart:
$ helm install . ...
In a few minutes, you'll have a three node server cluster deployed, bootstrapped, and joined with a Consul agent running on every Kubernetes node. Once the pods are up and ready, you can view the Consul UI by forwarding port 8500 from a server pod and opening your browser to
http://localhost:8500/.
$ kubectl port-forward consul-server-0 8500:8500 ...
<center style="box-sizing: border-box;"> </center>
The Helm chart is highly configurable. You can use the configuration to disable components, change the image used, expose the UI service, configure resource requirements, storage classes, and much much more. See the full reference documentation of available chart configuration options for more information.
For Consul Enterprise users, a custom image can be configured with the Helm chart. HashiCorp does not currently publish official Docker images for Consul Enterprise. We plan to do this, but in the mean time if you create custom Docker images in private repositories, you can configure the Helm chart to use those images.
Running a Client-Only Cluster
In addition to deploying a full server cluster, the Helm chart can be used to deploy a client-only cluster. This is a common deployment pattern where the Consul servers are run outside of the Kubernetes cluster. The example configuration below enables this deployment model:
global: enabled: false client: enabled: true join: - "provider=aws tag_key=... tag_value=..."
This configuration disables all Helm chart components by default, then explicitly enables only clients. The
joinconfiguration then uses cloud auto-join to discover and join pre-existing Consul server agents.
The Helm chart supports dozens of configuration options. See the full reference documentation of available chart configuration options for more information.
Next
The Consul Helm chart provides a single package for installing, configuring, and upgrading Consul on Kubernetes, as well as future Consul + Kubernetes components. The Helm chart is available now on GitHub. To learn more, see the Helm Chart documentation or the documentation on Running Consul on Kubernetes.
We have more exciting Consul + Kubernetes integrations being released in the coming weeks. Please read the Consul and Kubernetes announcement blog post to learn more.
- 喜大普奔:HashiCorp Consul 1.3:Envoy发布!
- hashicorp/consul
- HashiCorp Consul Connect 初探
- HashiCorp Consul + Kubernetes深度融合
- HashiCorp Consul 与 Kubernetes 服务目录同步
- 喜大普奔:HashiCorp Vault 0.11发布!
- 喜大普奔:HashiCorp Vagrant 2.2.0发布!
- HashiCorp Terraform 0.12 新特性抢鲜看:广义Splat算子
- 先进的图表Web部件Nevron Chart for SharePoint发布v2016.1版本丨附下载
- GMO Media 使用 HashiCorp Terraform Enterprise 自动配置基础
- .NET 3.5 发布功能强大的新控件(Winform&WebForm) —— Chart
- helm之chartmuseum
- .NET 3.5 发布功能强大的新控件(Winform&WebForm) —— Chart(转自LanceZhang's Tech Blog)
- Chart FX for WPF发布v8.1版
- 发布一个免费开源软件-- PAD流程图绘制软件PADFlowChart
- HashiCorp Terraform 0.12 新特性抢鲜看:模版语法
- 微软发布.Net Framework 3.5下的 Chart 控件。
- 图表解决方案Nevron Chart for .NET发布v2017.1,支持Visual Studio 2017
- FlowChart.NET控件发布v6.0.4版本
- 微软发布.Net Framework 3.5下的 Chart 控件。