Task #7112
closedUserguide for ucloud
Added by Ahmed Bilal about 5 years ago. Updated almost 5 years ago.
0%
Description
"how to use ucloud"? from user's perspective.
With starting to install the CLI, getting a seed, etc?
Updated by Ahmed Bilal about 5 years ago
Updated by Ahmed Bilal about 5 years ago
- Status changed from New to Feedback
- Assignee changed from Ahmed Bilal to Nico Schottelius
Updated by Nico Schottelius about 5 years ago
- Assignee changed from Nico Schottelius to Mondi Ravi
Can you proof read it && give Ahmed feedback?
Updated by Mondi Ravi about 5 years ago
- Status changed from Feedback to In Progress
Oops, I seem to have missed this. Doing it right now.
Updated by Mondi Ravi about 5 years ago
- Status changed from In Progress to New
- Assignee changed from Mondi Ravi to Ahmed Bilal
Looks good to me for a first version.
Some points I don't understand/did not find/improvements in the doc are:
- As a user, would I need to specify UCLOUD_API_SERVER ? If yes, I think its missing
- I think we already discussed this in ucloud channel, USERNAME/REALM/SEED would need to goto somewhere ~/.ucloud
- Streamline/make the installation of ucloud simpler ?
Updated by Ahmed Bilal about 5 years ago
As a user, would I need to specify UCLOUD_API_SERVER ? If yes, I think its missing
I think we already discussed this in ucloud channel, USERNAME/REALM/SEED would need to goto somewhere ~/.ucloud
It is already implemented (name, realm and seed is added now)
git clone https://code.ungleich.ch/ucloud/ucloud-setup
(cd ucloud-setup && pipenv run python ucloud-setup.py cli setup --path /root --api_server http://[2a0a:e5c0:0:2:0:b3ff:fe39:7994]:5000 --name xxxx --realm xxxx --seed xxx))
Streamline/make the installation of ucloud simpler
It is mostly streamlined. I will make it more simpler soon.
# Only needed on alpine
apk add git
git clone https://code.ungleich.ch/ungleich-public/ucloud-setup; cd ucloud-setup; sh ./init.sh
pipenv run python ucloud-setup.py api setup --auth_name xxxxxxxxxx --auth_realm xxxxxxxxxx \
--auth_seed xxxxxxxxxxx --realm_allowed ungleich-admin --realm_allowed ungleich-user --path ../ --etcd_url [2a0a:e5c0:0:2:0:b3ff:fe39:7994]
pipenv run python ucloud-setup.py scheduler setup --vm_prefix /v1/vm --host_prefix /v1/host \
--request_prefix /v1/request --path ../ --etcd_url [2a0a:e5c0:0:2:0:b3ff:fe39:7994]
pipenv run python ucloud-setup.py host setup --path ../ --ssh_username abc \
--ssh_key_path ~/.ssh/id_rsa --ssh_key_pass meow --etcd_url [2a0a:e5c0:0:2:0:b3ff:fe39:7994]
pipenv run python ucloud-setup.py file-scan setup --path ../ --base_dir /var/www \
--file_prefix /v1/file --etcd_url [2a0a:e5c0:0:2:0:b3ff:fe39:7994]
pipenv run python ucloud-setup.py image setup --path ../ --base_dir /var/www --etcd_url [2a0a:e5c0:0:2:0:b3ff:fe39:7994]
(cd ~/ucloud-api && pipenv run python ~/ucloud-api/create_image_store.py)
pipenv run python ucloud-setup.py cli setup --path /root --api_server http://[2a0a:e5c0:0:2:0:b3ff:fe39:7994]:5000 --name xxxx --realm xxxx --seed xxx
Updated by Nico Schottelius about 5 years ago
- Priority changed from Normal to High
Updated by Ahmed Bilal almost 5 years ago
- Status changed from In Progress to Closed