发布 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.

原文地址:http://blog.51cto.com/13883466/2176066

时间: 2024-08-23 10:55:19

发布 HashiCorp Consul Helm Chart的相关文章

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 off

使用 Helm Chart 部署及卸载 istio

部署 istio 1.添加 istio 官方的 helm 仓库 helm repo add istio https://storage.googleapis.com/istio-release/releases/1.3.3/charts/ 2.是否添加成功 helm search repo istio NAME CHART VERSION APP VERSION DESCRIPTION istio/istio 1.3.3 1.3.3 Helm chart for all istio compon

HashiCorp Consul Connect 初探

##什么是Consul Connect? HashiCorp Consul Connect 是 Consul1.2 的新特性,它能够简化网络拓扑和管理,同时增强分布式系统中的安全性并保持高性能. HashiCorp Consul?是一个开源程序,它大大降低了管理和安全解耦.面向服务的体系结构(如微服务)的复杂性.而Consul Connect 特性,使网络管理变得与规模无关,并且您不需要显著修改应用程序来保护传输中的数据.Connect 允许工程师具有更简单的网络拓扑,并可以在分布式应用环境中维

Export failed for github.com/hashicorp/consul: Unable to export source: exit status 128

背景 go项目,使用glide install命令去下载安装依赖,依赖中有个github.com/hashicorp/consul 问题描述 一直无法下载安装依赖成功,报错如下: [ERROR] Export failed for github.com/hashicorp/consul: Unable to export source: exit status 128 [ERROR] Unable to export dependencies to vendor directory: Unabl

harbor配置helm chart仓库

harbor配置helm chart仓库1.harbor 安装的时候 默认没有helm charts的仓库,如果已经安装过重新执行安装即可,不需要preparedocker-compose stop./install.sh --with-chartmuseum安装完成之后登录页面上就会有了 helm charts 了,页面上也可以直接上传charts 2.helm 需要安装插件并添加源,需要harbor登陆用户密码helm plugin install https://github.com/ch

helm chart预定义值

预定义值 通过values.yaml文件(或通过--set 标志)提供的值可以从.Values模板中的对象访问.可以在模板中访问其他预定义的数据片段. 以下值是预定义的,可用于每个模板,并且不能被覆盖.与所有值一样,名称区分大小写. Release.Name:release的名称(不是chart的) Release.Time:chart版本上次更新的时间.这将匹配Last Released发布对象上的时间. Release.Namespace:chart release发布的namespace.

手把手教你写一个通用的helm chart

[TOC] 1. 模板介绍 首先,放上此模板链接: https://github.com/ygqygq2/charts/tree/master/mod-chart 此chart可当作POD单image的通用模板,只需要使用sed替换下chart名,并修改下README.md和NOTES.txt就可以了.下文,我通过复制此chart成example-chart来作示范说明. [[email protected] mod-chart]# tree . ├── Chart.yaml ├── READM

spring cloud eureka和HashiCorp consul对比

Eureka VS Consul 设计层面: Eureka是java编写的,运行在servlet容器中 Consul则是go编写而成. CAP原则(指的是在一个分布式系统中,Consistency(一致性). Availability(可用性).Partition tolerance(分区容错性),三者不可同时获得): Eureka保证高可用(A),服务注册速度快,即使节点数据不同步,集群也能正常提供服务,但从服务获取到的数据并不具备实时性 Consul保证强一致性(C),服务注册相比Eurek

k8s中helm安装部署,升级和回滚(chart,helm,tiller,StorageClass)

一.Helm介绍 helm是基于kubernetes 的包管理器.它之于 kubernetes 就如 yum 之于 centos,pip 之于 python,npm 之于 javascript 那 helm 的引入对于管理集群有哪些帮助呢? 更方便地部署基础设施,如 gitlab,postgres,prometheus,grafana 等 更方便地部署自己的应用,为公司内部的项目配置 Chart,使用 helm 结合 CI,在 k8s 中部署应用一行命令般简单 1.Helm用途 Helm把Kub