美文网首页
在阿里云容器服务(Kubernetes、k8s)上搞 Hashi

在阿里云容器服务(Kubernetes、k8s)上搞 Hashi

作者: ETiV | 来源:发表于2018-07-11 05:05 被阅读66次

参考链接,先谢谢各位:
k8s consul : https://github.com/kelseyhightower/consul-on-kubernetes
GCP k8s vault : https://github.com/kelseyhightower/vault-on-google-kubernetes-engine
使用 Vault : https://www.jianshu.com/p/267f2d9ae87e
Vault 系列文章 : https://yuhao.space/blog/2018/02/vault-introduction/

以及:
Vault 官方文档 : https://www.vaultproject.io/intro

我是在对 k8s 零知识、以及对 Vault 的使用场景没有丝毫概念的情况下做的如下操作,所以可能并不是最佳实践。

为什么搞它呢?因为沈老板表示他搞到一半自己就先崩溃了……😂

... If the standby nodes receive a request, they will either forward the request or redirect the client depending on the current configuration and state of the cluster ...

---- High Availability Mode

先简单说下架构:3个 Consul 作为高可用存储节点、2个 Vault 对外提供服务。根据官方文档的高可用章节(上面),待命节点收到请求后会把请求转发给活跃节点。所以对外提供服务的时候,使用 LoadBalancer 模式是没有问题的。

相关文章

网友评论

      本文标题:在阿里云容器服务(Kubernetes、k8s)上搞 Hashi

      本文链接:https://www.haomeiwen.com/subject/fzscpftx.html