Istio网格内部的服务访问阿里云的RDS和SMS

apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: aliyun-mysql-serviceentry
spec:
  hosts:
  - rm-bp1ggm262x1ut0v63o.mysql.rds.aliyuncs.com
  location: MESH_EXTERNAL
  ports:
  - name: tcp
    number: 3306
    protocol: tcp
  resolution: DNS


apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: aliyun-dysmsapi-serviceentry
spec:
  hosts:
  - dysmsapi.aliyuncs.com
  location: MESH_EXTERNAL
  ports:
  - name: http
    number: 80
    protocol: http
  resolution: DNS

你可能感兴趣的:(Istio)