0%

Kubernetes-ThirdParties

阅读更多

1 local-path-provisioner

2 Rancher

3 Kafka

Kafka的服务露出有点问题,如果简单地把ServiceClusterIP修改为NodePort。那么在集群外是可以通过NodeIp:NodePort连接到kafka的,但是随即kafka会从zookeeper查找一个broker的IP(这个IP是PodIP)返回给集群外的Client,然后Client重新连接这个IP,显然在集群外的机器上是无法触达PodIp的,因为没有iptables规则

3.1 Reference

4 istio

4.1 Reference

5 OAM

6 sealos

sealos,一个超级便捷的k8s安装工具

集群生命周期管理

Deploy:

1
2
3
4
5
6
wget https://mirror.ghproxy.com/https://github.com/labring/sealos/releases/download/v4.2.0/sealos_4.2.0_linux_amd64.tar.gz
tar -zxvf sealos_4.2.0_linux_amd64.tar.gz sealos && chmod +x sealos && mv sealos /usr/bin

sealos run labring/kubernetes:v1.25.0-4.2.0 labring/helm:v3.8.2 labring/calico:v3.24.1 \
--masters 172.26.95.56 \
--nodes 172.26.95.57,172.26.95.59,172.26.95.58 -p xxxxxx

Reset:

1
sealos reset

7 kind

kind. kind is a tool for running local Kubernetes clusters using Docker container “nodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI.

7.1 Reference