diff --git a/examples/aws/tidb-cluster.yaml b/examples/aws/tidb-cluster.yaml index 6a1c2162e1..2659898894 100644 --- a/examples/aws/tidb-cluster.yaml +++ b/examples/aws/tidb-cluster.yaml @@ -47,8 +47,9 @@ spec: service: annotations: service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled: 'true' - service.beta.kubernetes.io/aws-load-balancer-internal: '0.0.0.0/0' - service.beta.kubernetes.io/aws-load-balancer-type: nlb + service.beta.kubernetes.io/aws-load-balancer-type: nlb + service.beta.kubernetes.io/aws-load-balancer-scheme: internal + service.beta.kubernetes.io/aws-load-balancer-internal: "true" exposeStatus: true externalTrafficPolicy: Local type: LoadBalancer diff --git a/examples/aws/tidb-monitor.yaml b/examples/aws/tidb-monitor.yaml index 114bff0632..21e2e7350d 100644 --- a/examples/aws/tidb-monitor.yaml +++ b/examples/aws/tidb-monitor.yaml @@ -22,7 +22,9 @@ spec: logLevel: info password: admin service: - portName: http-grafana + annotations: + service.beta.kubernetes.io/aws-load-balancer-type: nlb + service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing type: LoadBalancer username: admin version: 6.1.6