使用istio ingress时,安装ALB而不是CLB:istio version1.7.3

时间:2020-11-11 21:07:27

标签: istio

我在我的环境中使用的是istio 1.7.3版本,并使用以下命令使用演示配置文件安装了入口和出口: istioctl install --set profile = demo

我已自定义我的入口配置,以创建CLB,以便在创建入口后可以将其附加到aws证书,并且可以正常工作,请查看以下配置:

apiVersion: v1
kind: Service
metadata:
name: istio-ingressgateway
namespace: istio-system
annotations:
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: “arn:”
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: “http”
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: “https”
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: “3600”
labels:
app: istio-ingressgateway
release: istio
istio: ingressgateway
spec:
type: LoadBalancer
selector:
app: istio-ingressgateway
ports:

name: status-port
port: 15021
targetPort: 15021
name: http2
port: 80
targetPort: 8080
name: https
port: 443
targetPort: 8443
name: tcp
port: 31400
targetPort: 31400
name: tls
port: 15443
targetPort: 15443

现在,我想创建一个代替CLB的ALB,并创建一个access-log-s3-bucket-name来获取ALB的日志。 我们能否调整上面的配置,以便它可以覆盖并使其成为启用了s3存储桶访问日志的ALB,或者使用带有演示配置文件的istioctl命令将其更改为启用了s3访问日志而不是CLB的ALB时该怎么做? >

我们在某处是否有任何示例配置或示例可以提供帮助,或者您可以向我指出。

0 个答案:

没有答案