Open palladius opened 2 years ago
I'm in the middle of it. For ease of troubleshooting, I'm renaming ALL entities from "sol1-" to "sol1d-". this way sol1 grepping still works, but I know whats new and what old.
Chaning OR pointer (canary or prod) to dev or staging. Luckily i had forecasted this in the past and created a beautiful
Ok, set up everything. The Gateway won't come up. Errors are:
Normal ADD 9m13s sc-gateway-controller default/sol1d-app01-eu-w1-ext-gw
Normal UPDATE 9m13s sc-gateway-controller default/sol1d-app01-eu-w1-ext-gw
Normal SYNC 9m5s (x4 over 9m13s) sc-gateway-controller default/sol1d-app01-eu-w1-ext-gw
Warning SYNC 63s (x3 over 7m35s) sc-gateway-controller failed to translate Gateway "default/sol1d-app01-eu-w1-ext-gw": generic::unknown: 6 errors occurred: Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..; Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..; Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..; Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..; Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..; Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..
Last error:
"default/sol1d-app01-eu-w1-ext-gw": generic::unknown: 6 errors occurred: Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..; Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..; Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..; Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..; Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..; Error GWCER104: HTTPRoute "default/sol1d-app01-eu-w1" is misconfigured, err: Error GWCER102: services default/sol1d-app01-eu-w1-dev not found..
Talking to Daniel I realized that the sol1 has always been Single Cluster, not MC!
No biggie, seems like the best thing to do is to refactor the code into supporting Dev/Staging which are already in a single cluster (DEV).
Also, they are 1 pod each, so demonstratic proper traffic splitting seems less hypocritical (canary/prod have instead a 80/20 as of now).