PLEASE IGNORE - Fix #2741. Add support for alternate Vagrant providers: ... #6978
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
UPDATE: This PR is replaced by #6983 and should not be merged.
...VMWare Fusion, VMWare Workstation, and Parallels. (Replaces #6879. Tagging #2741.)
I tried to mirror the Vagrant philosophy and do the right thing in most cases without tweaking configuration (unless you really wanted to override something). The fall-back order is:
If any of these are installed properly (including any required Vagrant plugins),
KUBERNETES_PROVIDER=vagrant .../cluster/kube-up.sh
should just work. 😁 _CAVEAT__: I do not have a license to VMWare Fusion. I'm pretty sure it will function, but I have only tested Parallels._To override, you can set
VAGRANT_DEFAULT_PROVIDER
(e.g., if you have both VMWare and Parallels installed, but want to use Parallels):You can override the box (by name):
And even specify a version:
Or specify a URL for the box itself, in which case you now must provide your own name:
WARNING: This breaks the existing behavior of
KUBERNETES_BOX_URL
, which is now ignored unlessKUBERNETES_BOX_NAME
is also set. Previously that name was fixed for everything (default or specified by URL) asfedora20
, irrespective of underlying OS/version. Now if a default box is used, the name is set internally (currently onlykube-fedora20
), but users who specify their own box URL are now forced to name it. To avoid clashes or confusion, it is recommended (but not enforced) that the name distinguish the box from the defaults (e.g.,posita-fedora21
,kickass-custom-centos
, etc.).This PR also introduces the ability to set the master memory size independently of the minions (it is included with this PR instead of a separate one because memory configuration is Vagrant provider-specific; see, e.g., this vs. this):
KUBERNETES_MEMORY
is maintained for backward compatibility. The following are equivalent to the previous example: