conduit 初探

Conduit 介绍 Conduit是buoyant公司出品的,面向k8s的servicemesh产品,该公司另外一个产品为linkerd,现在业界唯一的生产级servicemesh产品。目标是在无需代码的改动就可以实现对应用程序的可见和控制。 环境 kubernetes 1.8+ 在没有k8s环境的情况下,推荐使用minikube来快速生成。 安装cli curl https://run.conduit.io/install | sh 安装conduit控制面板 conduit install | kubectl apply -f - conduit dashboard 官方的程序目前没有自动创建serviceaccount,需要手动创建serviceaccount,分配clusterrole,应用到deploy kubectl create serviceaccount conduit --namespace=conduit cat <<EOF | kubectl apply -f - apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: condit:cluster-admin namespace: kube-system roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-admin subjects: - kind: ServiceAccount name: conduit namespace: conduit EOF 分别修改controller和prometheus应用添加serviceAccount: conduit kubectl get deploy --namespace=conduit controller kubectl get deploy --namespace=conduit prometheus 安装官方的演示程序 curl https://raw.

阅读全文

作者的图片

tianpeng du

All in k8s,All in servicemesh

devops

BeiJing