• Home
  • Cloud
  • Big Data
  • CI
  • Install
  • Samples
  • Java
  • Ubuntu
  • Maven
  • Archive
Kubernetes | Start MiniKube
  1. Notes
  2. Start minikube
  3. Verify minikube
  4. Configure docker environment variables to use minikube's Docker daemon
  5. Minikube's Pods/Services/Containers
  6. Stop minikube

  1. Notes
    Please visit this page for more details about MiniKube: https://kubernetes.io/docs/setup/learning-environment/minikube/
  2. Start minikube

    Please note the following options:
    • --driver='virtualbox':
      Driver is one of: virtualbox, vmwarefusion, kvm2, vmware, none, docker, podman (experimental)
      (defaults to auto-detect)

    • --cpus=2:
      Number of CPUs allocated to Kubernetes.

    • --memory='2g':
      Amount of RAM to allocate to Kubernetes (format: <number>[<unit>], where unit = b, k, m or g).

    • --disk-size='2g':
      Disk size allocated to the minikube VM (format: <number>[<unit>], where unit = b, k, m or g).
  3. Verify minikube
    • Verify minikube:

    • Verify kubectl configuration:

      You can also check the content of the the file: ~/.kube/config

    • Verify cluster information:
  4. Configure docker environment variables to use minikube's Docker daemon
    • Configure docker environment variables to use minikube's Docker daemon:

    • Configure your shell:

    • List Minikube's Docker images:

      Note that the interaction with MiniKube's Docker is possible only within the current open shell. If you open a new shell (terminal window) you will have to configure it the same way as above.
  5. Minikube's Pods/Services/Containers
    • Minikube's Pods/Services:

    • Minikube's Containers:
  6. Stop minikube
© 2010-2022  mtitek