我正在尝试使用Istio/envoy入口测试 SSL 直通,因为我能够使用 nginx 入口控制器来实现它。所以我创建了一个 nginx https 部署并测试了 deployment/pod/service 的工作情况。
但是,当我像往常一样运行它时,kubectl apply -f <(istioctl kube-inject -f ~/nginx/nginx-app.yaml)
部署不会继续(因此没有创建 pod)。
似乎是音量和安装导致了问题。似乎 Istio 也在尝试安装这些。
spec:
volumes:
- name: secret-volume
secret:
secretName: nginxsecret
- name: configmap-volume
configMap:
name: nginxconfigmap
containers:
- image: nginx
imagePullPolicy: Always
name: nginx
ports:
- containerPort: 80
- containerPort: 443
volumeMounts:
- mountPath: /etc/nginx/ssl
name: secret-volume
- mountPath: /etc/nginx/conf.d
name: configmap-volume
有没有人有见识?
谢谢!