How to use two minikube profile in parallel?

by aglae_feil , in category: General Help , 3 months ago

How to use two minikube profile in parallel?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by alyson_bogan , 3 months ago

@aglae_feil 

To use two minikube profiles in parallel, you can follow these steps:


Step 1: Create two separate minikube profiles

  • Open a terminal window and type the following command to create the first minikube profile: minikube profile create profile1
  • Similarly, create the second minikube profile using the command: minikube profile create profile2


Step 2: Start the minikube clusters for both profiles

  • Start the first minikube cluster using the command: minikube start --profile=profile1
  • Start the second minikube cluster using the command: minikube start --profile=profile2


Step 3: Verify the availability of both clusters

  • To verify if both clusters are running, you can use the command: minikube profile list
  • This command will display the list of available profiles along with their status.


Step 4: Interact with the desired minikube profile

  • To interact with a specific minikube profile, set it as the current profile using the command: minikube profile profile1 or minikube profile profile2.


These steps allow you to use two minikube profiles in parallel. You can switch between profiles, deploy different applications, and interact with separate clusters as needed.