easzlab / kubeasz

使用Ansible脚本安装K8S集群,介绍组件交互原理,方便直接,不受国内网络环境影响
https://github.com/easzlab/kubeasz
10.49k stars 3.52k forks source link

安装.net服务后两个pod之间出现The SSL connection could not be established #1370

Closed spatxos closed 7 months ago

spatxos commented 7 months ago

What happened? 发生了什么问题?

问题在这里提交了https://github.com/OrleansContrib/Orleans.Clustering.Kubernetes/issues/75 使用kubeadm来进行apply之后,没有出现这个ssl的链接问题,不知道问题出在哪里

What did you expect to happen? 期望的结果是什么?

不应当出现ssl问题,pod之间链接成功

How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题

https://github.com/spatxos/Orleans.Clustering.Kubernetes

cd samples ./build.sh # 需要本地安装.net 8 如果不想本地安装.net 8,那么修改/samples/Definitions 里面的Client.yaml、Gateway.yaml、Silo.yaml中的image,在镜像名字前面增加wangpengzong/ ,imagePullPolicy修改为IfNotPresent

类似这样

          image: wangpengzong/kubeclient:latest
          imagePullPolicy: IfNotPresent

./install.sh

Anything else we need to know? 其他需要说明的情况

No response

Kubernetes version k8s 版本

1.23.1

Kubeasz version

3.2.0

OS version 操作系统版本

```console # On Linux: $ cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" $ uname -a Linux master 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux ```

Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况

spatxos commented 7 months ago

使用Kubeasz 3.5.0 解决了