minikube-ip
v1.0.0
Published
Retrieve the ip address of a locally running minikube cluster
Downloads
2
Readme
Minikube IP
Retrieve the ip address of a locally running minikube cluster
Table of Contents
Install
npm i minikube-ip
# Or with Yarn
yarn add minikube-ip
Usage
import minikubeIp from `minikube-ip`;
(async function() {
const ip = await minikubeIp(); // 192.168.39.197
})();
Options
The minikubeIp
function also accepts an object of options.
| Key | Default | Description | |---------|----------|--------------------------------------------------------------------------------| | profile | minikube | A minikube profile (useful when multiple instances of minikube are being used) | | | | |
Contributing
See the contribute file!
PRs accepted.