A profile is an instance of the Minishift VM along with all of its configuration and state.
The profile feature allows you to create and manage these isolated instances of Minishift.
Each Minishift profile is created with its own configuration (memory, CPU, disk size, add-ons, and so on) and is independent of other profiles.
Refer to the use of environment variables if you want to make sure that certain configuration settings, for example cpus
or memory
, get applied to all profiles.
The active profile is the profile against which all commands are executed, unless the global --profile
flag is used.
You can determine the active profile by using the minishift profile list
command.
You can execute single commands against a non-active profile by using the --profile
flag, for example minishift --profile profile-demo console
to open the OpenShift console for the specified profile-demo profile.
On top of the --profile
flag, there are commands for listing, deleting and setting the active profile.
These commands are described in the following sections.
|
Even though profiles are independent of each other, they share the same cache for ISOs, oc binaries and container images.
minishift delete --clear-cache will for this reason affect all profiles.
We recommend using --clear-cache with caution.
|