Closed dapengzhang0 closed 3 years ago
Explicitly set ROUN_RONBIN lbPolicy and NONE sessionAffinity initially for affinity BS, then we can backup the config using
gcloud compute backend-services export grpcwallet-wallet-v1-affinity-service --destination=bs_config.yaml --global
before running affinity example
and then restore the config using
gcloud compute backend-services import grpcwallet-wallet-v1-affinity-service --source=bs_config.yaml --global
after running the affinity example.
Otherwise, after the restore command, the sessionAffinity field is still HEADER_FIELD.
Fixes #
It's a good idea to open an issue first for discussion.
Explicitly set ROUN_RONBIN lbPolicy and NONE sessionAffinity initially for affinity BS, then we can backup the config using
before running affinity example
and then restore the config using
after running the affinity example.
Otherwise, after the restore command, the sessionAffinity field is still HEADER_FIELD.
Fixes #