Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


1 Minishift CheatSheet


PRs Welcome

File me Issues or star this repo.

1.1 Minishift Summary

Install/upgrade minishiftbrew cask install minishift, brew cask install --force minishift
Try OpenShift in virtualboxminishift start --vm-driver=virtualbox
OpenShift web consolehttps://, system/admin
Stop/delete minishift envminishift stop, minishift delete
ssh minishiftminishift ssh
Get minishift IPminishift ip
Check statusminishift status, oc config view, minishift oc-env, minishift docker-env
List addonsminishift addons list
Apply addonminishift addons apply admin-user
OC login and change kube contextoc login -u system:admin, kubectl get nodes

1.2 Minishift Footprint

etcdopenshift start etcd --config=/etc/origin/master/master-config.yaml
hyperkube openshift-kube-apiserverhypershift openshift-kube-apiserver --config=/etc/origin/master/master-config.yaml
hyperkube openshift-apiserverhypershift openshift-apiserver --config=/etc/origin/master/master-config.yaml -v=0
hyperkube kubelet
hyperkube kubelet-scheduler
hyperkube kubelet-controller-manager
network proxyopenshift start network --enable=proxy --config=/etc/origin/node/node-config.yaml ...
network dnsopenshift start network --enable=dns --config=/etc/origin/node/node-config.yaml
origin-web-console/usr/bin/origin-web-console --audit-log-path... --config=/.../webconsole-config.yaml
openshift-webconsole-operatorhypershift experimental openshift-webconsole-operator --config=/.../operator-config.yaml -v=0
dockerregistry/usr/bin/dockerregistry /config.yml

1.3 Minishift CLI Help

Denny > minishift --help
Minishift is a command-line tool that provisions and manages single-node OpenShift clusters optimized for development workflows.

  minishift [command]

Available Commands:
  addons      Manages Minishift add-ons.
  completion  Outputs minishift shell completion for the given shell (bash or zsh)
  config      Modifies Minishift configuration properties.
  console     Opens or displays the OpenShift Web Console URL.
  delete      Deletes the Minishift VM.
  docker-env  Sets Docker environment variables.
  help        Help about any command
  hostfolder  Manages host folders for the Minishift VM.
  image       Exports and imports container images.
  ip          Gets the IP address of the running cluster.
  logs        Gets the logs of the running OpenShift cluster.
  oc-env      Sets the path of the 'oc' binary.
  openshift   Interacts with your local OpenShift cluster.
  profile     Manages Minishift profiles.
  ssh         Log in to or run a command on a Minishift VM with SSH.
  start       Starts a local OpenShift cluster.
  status      Gets the status of the local OpenShift cluster.
  stop        Stops the running local OpenShift cluster.
  update      Updates Minishift to the latest version.
  version     Gets the version of Minishift.

      --alsologtostderr                  log to standard error as well as files
  -h, --help                             help for minishift
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                   If non-empty, write log files in this directory (default "")
      --logtostderr                      log to standard error instead of files
      --profile string                   Profile name (default "minishift")
      --show-libmachine-logs             Show logs from libmachine.
      --stderrthreshold severity         logs at or above this threshold go to stderr (default 2)
  -v, --v Level                          log level for V logs. Level varies from 1 to 5 (default 1).
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging

Use "minishift [command] --help" for more information about a command.

1.4 More Resources





License: Code is licensed under MIT License.

linkedin github slack