...
- If using the ndslabs-startup/ndslabs-up script, the ndslabsctl is copied to your ~bin directory. A file ~/.ndslabsct.yaml is created in your home directory containing the API server address.
- If not using the ndslabs-up.sh script, you'll 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. 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
...
...
$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
Help
- Preconditions
...
- : none
- Test steps:
ndslabsctl
ndslabsctl -h
ndslabsctl --help
- Expected results
- Any of these commands should display the help/usage information
...
Authentication/authorization
Login
Preconditions:
Project has been created
Logout
Change password
Project administration
...