Skip to content
Snippets Groups Projects
Verified Commit 40860aee authored by Varac's avatar Varac
Browse files

Update README.md, remove manage script

parent 9c554157
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,9 @@ a Docker image) which contains utilities to manage your cluster.
* You need to have ssh access (either as root, or as another user that can
`sudo`) to the machines that will make up your cluster.
* You need `ansible >= 2.5` installed on your workstation to run the bootstrap
scripts. Install the requirements like this:
scripts. Please install it using your system package manager.
In the case your system package manager doesn't provide `ansible >= 2.5` you
can install it via the python package manager like this:
`pip3 install --user -r ansible/requirements.txt`
......@@ -37,9 +39,15 @@ ansible-playbook bootstrap.yml
## Managing an existing cluster
The OpenAppStack project has created a special "control shell", a Docker
container that you can run to perform administrative tasks on your cluster.
Some programs that you can run from this shell:
Login to your cluster with:
ssh USER@SERVER
where `SERVER` is the address of the master machine of your cluster and
`USER` the `ansible_user` you configured in `ansible/inventory.yml`.
Some programs that are installed on your cluster:
* `kubectl` is the Kubernetes control program. For example, run
`kubectl get pod` to see a list of pods that currently exist in your cluster.
Run `kubectl --help` for help.
......@@ -50,11 +58,3 @@ Some programs that you can run from this shell:
run `helmfile -e oas diff` to view the differences between what's currently
installed and what should be installed according to the OpenAppStack
installation plan.
To start the control shell, run
```
./manage $SERVER
```
where `$SERVER` is the address of the master machine of your cluster.
#!/bin/bash
if [ -z "$1" ]
then
echo "Usage: ./manage SERVER-IP"
exit 1
else
host=$1
fi
ssh -t "root@${host}" bash -ic "oas_controlshell"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment