...
This page defines test cases for the NDSLabs command line utility (ndslabsctl).
See also
Installation
...
Starting the API server
- git clone https://github.com/craig-willis/ndslabs-startup
- cd ndslabs-startup
- ./kube-up.sh
- ./ndslabs-up
...
- .sh
The ndslabs-up.sh will create a ~/bin directory and download the latest version of the ndslabsctl binary. A file ~/.
...
ndslabsctl.yaml is also created
...
containing the API server address from Kubernetes.
If you are not using the ndslabs-
...
startup.sh script, you
...
will need to manually
...
download the ndslabsctl from Github: https://github.com/nds-org/ndslabs/releases/tag/v1.0-alpha.
If the API server is running under docker or Kubernetes, you will need to specify the server address. This can be done on the commandline using the --server flag or by creating a .ndslabsctl.yaml file in your home directory. For example:
APISERVER=`kubectl describe svc ndslabs-apiserver | grep ^IP | awk '{print $2}'`
echo "server: http://$APISERVER:8083" > ~/.ndslabsctl.yaml
Starting the API server
...
Global preconditions
- Kubernetes is running
- API Server is running either as a Kubernetes service or as a standalone Docker container
- ndslabsctl has been installed and is in your path
...