apiVersion: v1
kind: Pod
metadata:
  name: greeter-client-lookaside-lb
spec:
  containers:
  - name: greeter-client-lookaside-lb
    image: gcr.io/grpc-loadbalancing-demo2018/greeter_client:latest
    env:
    # use the grpclb as a lookaside balancer
    - name: GREETER_SERVICE_TARGET
      value: "greeter-server-balancer.default.svc.cluster.local:8000"
    # grpclb can only be used with "ares" DNS resolver
    - name: GRPC_DNS_RESOLVER
      value: "ares"
    #- name: GRPC_VERBOSITY
    #  value: "debug"
    # Enable for extra detailed traces
    #- name: GRPC_TRACE
    #  value: "glb,client_channel"
  restartPolicy: Never
