Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
resinfo-cargo
CargoDay
cargoday-12
Commits
d8c51ff4
Commit
d8c51ff4
authored
Dec 08, 2021
by
RANDRIATOAMANANA Richard
Browse files
Update demo-deploy-on-g5k.md
parent
adb090ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
demo-deploy-on-g5k.md
demo-deploy-on-g5k.md
+14
-2
No files found.
demo-deploy-on-g5k.md
View file @
d8c51ff4
...
...
@@ -121,6 +121,10 @@ oarsub -S $HOME/myjob.sh
### API
*[source](https://www.grid5000.fr/w/API)*
When accessing the API from outside Grid'5000, you
**MUST**
send your Grid'5000 credentials (login and password) via the use of the HTTP Basic Authentication mechanism
#### From inside
-
list in a JSON format clusters installed on Nantes site
```
bash
curl
-sSfL
-XGET
https://api.grid5000.fr/3.0/sites/nantes/clusters | jq
...
...
@@ -136,8 +140,16 @@ oarsub -S $HOME/myjob.sh
curl
-sSfL
-XGET
https://api.grid5000.fr/3.0/sites/nantes/clusters/econome/nodes/econome-14 | jq
```
-
tunnel your ssh to grant access with your credentials to API commands
#### From outside
-
tunnel your ssh to grant access using your credentials to perform API
`POST`
commands
```
bash
ssh
-NL
3443:api.grid5000.fr:443 rirandriatoamanana@access.grid5000.fr
```
Go to https://localhost:3443
Go to https://localhost:3443 to check if ok by accessing to your account dashboard
-
- list a specific cluster,
*e.g. econome*
```
bash
curl
-k
-XGET
https://localhost:3443/sid/sites/nantes/clusters/econome | jq
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment