Skip to content

Remove unnecessary port forwarding steps.#2749

Merged
thompsonja merged 1 commit intovitessio:masterfrom
thompsonja:sandbox_ports
Apr 6, 2017
Merged

Remove unnecessary port forwarding steps.#2749
thompsonja merged 1 commit intovitessio:masterfrom
thompsonja:sandbox_ports

Conversation

@thompsonja
Copy link
Contributor

I had forgotten that if I set the service type of a kubernetes service to LoadBalancer (which it is for vtgate/vtctld within the sandbox), then I don't need to forward a port. I'm keeping the port forwarding for the guestbook because the service is not currently configurable to be a LoadBalancer. This reduces the startup/teardown time by about a minute.

Also updated the sandbox configuration to have an explicit param for enabling the guestbook.

@wangyipei01, you'll have to update your resharding_sandbox.yaml configuration after I merge this PR.

@michael-berlin
Copy link
Contributor

michael-berlin commented Apr 6, 2017

LGTM

Approved with PullApprove

@thompsonja thompsonja merged commit de772f7 into vitessio:master Apr 6, 2017
@thompsonja thompsonja deleted the sandbox_ports branch April 6, 2017 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants