Dear all,
I have configured a pod with ESPv2 as a sidecar to manage requests with Cloud Endpoint. The configuration seems to work well, but occasionally I receive a 503 error (upstream_reset_before_response_started{connection_failure,immediate_connect_error:_Cannot_assign_requested_address}). My upstream backend service is still running and functioning correctly. I’m unsure how to address this issue. Do you have any suggestions?
Here is the ESPv2 sidecar configuration:
- name: esp
imagePullPolicy: Always
image: gcr.io/endpoints-release/endpoints-runtime:2
args: [
"--listener_port=9000",
"--backend=127.0.0.1:8080",
"--service=api-prod.endpoints.MY-PROJECT.cloud.goog",
"--rollout_strategy=managed",
"--tracing_sample_rate=1.0",
"--ssl_server_cert_path", "/etc/esp/ssl",
]
volumeMounts:
- mountPath: /etc/esp/ssl
name: esp-ssl
readOnly: true
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
ports:
- containerPort: 9000
protocol: TCP
Thank you