Skip to content

Commit 6c335e5

Browse files
authored
Merge pull request #242 from grycap/dev-gmolto
Documentation revamp
2 parents 1512417 + d56c429 commit 6c335e5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+615
-455
lines changed

docs/about.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# About
1+
# Acknowledgements
22

33
OSCAR has been developed by the
44
[Grid and High Performance Computing Group (GRyCAP)](https://www.grycap.upv.es/)
@@ -9,10 +9,19 @@ from the [Universitat Politècnica de València (UPV)](http://www.upv.es/).
99
[![i3M)](images/i3m.png)](https://www.i3m.upv.es/)
1010
[![UPV](images/upv.png)](http://www.upv.es/)
1111

12-
This development is partially funded by the
13-
[EGI Strategic and Innovation Fund](https://www.egi.eu/about/egi-council/egi-strategic-and-innovation-fund/)
14-
and it can be deployed in the EGI Platform through the
15-
[EGI Applications on Demand portal](https://www.egi.eu/services/applications-on-demand/).
12+
OSCAR has been supported by the following projects:
13+
14+
- [EGI Strategic and Innovation Fund](https://documents.egi.eu/public/ShowDocument?docid=3298).
15+
- OSCARISER (Open Serverless Computing for the Adoption of Rapid Innovation on Secure Enterprise-ready Resources). Project PDC2021-120844-I00 funded by MICIU/AEI/10.13039/501100011033 and by the European Union NextGenerationEU/PRTR
16+
- SERCLOCO (Serverless Scientific Computing Across the Hybrid Cloud Continuum). Grant PID2020-113126RB-I00 funded by MICIU/AEI/10.13039/501100011033.
17+
- [AI-SPRINT](http://ai-sprint-project.eu) (AI in Secure Privacy-Preserving Computing Continuum) that has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under Grant 101016577.
18+
- [AI4EOSC](http://ai4eosc.eu) (Artificial Intelligence for the European Open Science Cloud) that has received funding from the European Union’s Horizon Europe Research and Innovation Programme under Grant 101058593.
19+
- [interTwin](https://www.intertwin.eu) (An interdisciplinary Digital Twin Engine for science) that has received funding from the European Union’s Horizon Europe Programme under Grant 101058386.
20+
21+
22+
23+
24+
1625

1726
## Contact
1827

docs/api.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# OpenAPI Specification
1+
# OSCAR API
22

33
OSCAR exposes a secure REST API available at the Kubernetes master's node IP
4-
through an ingress. This API has been described following the
5-
[OpenAPI Specification](https://www.openapis.org/) and it can be
6-
consulted below.
4+
through an Ingress Controller. This API has been described following the
5+
[OpenAPI Specification](https://www.openapis.org/) and it is available below.
76

87
!!swagger api.yaml!!

docs/deploy-ec3.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Deployment with EC3
22

3+
> ❗️
4+
> The deployment of OSCAR with EC3 is deprecated. Please, consider using the [IM Dashboard](deploy-im-dashboard.md).
5+
36
In order to deploy an elastic Kubernetes cluster with the OSCAR platform, it
47
is preferable to use the
5-
[IM Dashboard](https://appsgrycap.i3m.upv.es:31443/im-dashboard).
8+
[IM Dashboard](https://im.egi.eu).
69
Alternatively, you can also use [EC3](https://github.com/grycap/ec3), a tool
710
that deploys elastic virtual clusters. EC3 uses the
811
[Infrastructure Manager (IM)](https://www.grycap.upv.es/im) to deploy such

docs/deploy-helm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Deployment on an existing Kubernetes cluster using Helm
1+
# Deployment with Helm
22

33
OSCAR can also be deployed on any existing Kubernetes cluster through its
44
[helm chart](https://github.com/grycap/helm-charts/tree/master/oscar).

docs/deploy-im-dashboard.md

+40-37
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
# Deployment with the IM Dashboard
1+
# Deployment with IM
22

3-
An OSCAR cluster can be easily deployed on multiple Cloud back-ends without
4-
requiring any installation by using the
3+
An OSCAR cluster can be easily deployed on multiple Cloud platforms via the
54
[Infrastructure Manager](https://www.grycap.upv.es/im)'s
65
Dashboard
7-
([IM Dashboard](https://appsgrycap.i3m.upv.es:31443/im-dashboard/login)). This
8-
is a managed service provided by the [GRyCAP](https://www.grycap.upv.es)
6+
([IM Dashboard](https://im.egi.eu)). This
7+
is a managed service provided by [EGI](https://www.egi.eu) and operated by the [GRyCAP](https://www.grycap.upv.es)
98
research group at the [Universitat Politècnica de València](https://www.upv.es)
109
to deploy customized virtual infrastructures across many Cloud providers.
1110

@@ -16,19 +15,19 @@ services (e.g. MinIO).
1615

1716
This example shows how to deploy an OSCAR cluster on
1817
[Amazon Web Services (AWS)](https://aws.amazon.com) with two nodes. Thanks to
19-
the IM, the very same procedure applies to deploy the OSCAR cluster in an
18+
the IM, the very same procedure allows to deploy the OSCAR cluster in an
2019
on-premises Cloud (such as OpenStack) or any other Cloud provider supported
2120
by the IM.
2221

2322
These are the steps:
2423

25-
1. Access the [IM Dashboard](https://appsgrycap.i3m.upv.es:31443/im-dashboard/login)
24+
1. Access the [IM Dashboard](https://im.egi.eu)
2625

2726
![login](images/im-dashboard/im-dashboard-00.png)
2827

2928
You will need to authenticate via
3029
[EGI Check-In](https://www.egi.eu/services/check-in/), which supports
31-
mutiple Identity Providers (IdP).
30+
mutiple Identity Providers (IdP). There is no need to register and the service is provided free of charge.
3231

3332
1. Configure the Cloud Credentials
3433

@@ -43,41 +42,49 @@ These are the steps:
4342

4443
![credentials](images/im-dashboard/im-dashboard-00-4.png)
4544

46-
In our case we indicate an identifier for the set of credentials,
45+
In our case, we indicate an identifier for the set of credentials,
4746
[the Access Key ID and the Secret Access Key](https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html)
4847
for an [IAM](https://aws.amazon.com/iam/) user that has privileges to
49-
deploy Virtual Machines in [Amazon EC2](https://aws.amazon.com/ec2).
48+
deploy Virtual Machines in [Amazon EC2](https://aws.amazon.com/ec2). With the default values indicated in this tutorial, you will need privileges to deploy the following instance types: ```t3a.xlarge``` for the front-end node and ```t3a.medium``` for the working node.
5049

5150
1. Select the OSCAR template
5251

5352
![template](images/im-dashboard/im-dashboard-01.png)
53+
54+
55+
There are optional features than can be included in the OSCAR cluster to fit particular user needs. We'll skip them.
56+
57+
![template-config](images/im-dashboard/im-dashboard-01-2.png)
58+
59+
5460

5561
1. Customize and deploy the OSCAR cluster
5662

5763
In this panel you can specify the number of Working Nodes (WNs) of the
5864
cluster together with the computational requirements for each node. We
5965
leave the default values.
60-
- Number of WNs in the oscar cluster: Number of working nodes.
61-
- Number of CPUs for the front-end node: Number of CPUs in the primary node.
62-
- Amount of Memory for the front-end node: RAM in the primary node.
63-
- Flavor name of the front-end node. Only required in case of special flavors i.e. with GPUs: Type of instance that will be selected in the front node.
64-
- Number of CPUs for the WNs: number of CPUs per working node.
65-
- Amount of Memory for the WNs: RAM per working node.
66-
- Flavor name of the WNs. Only required in case of special flavors i.e. with GPUs: Type of instance that will be selected in the working nodes.
67-
- Size of the extra HD added to the instance: Extra memory in the primary node.
66+
67+
- Number of WNs in the OSCAR cluster.
68+
- Number of CPUs for the front-end node.
69+
- Amount of Memory (RAM) for the front-end node
70+
- Flavor name of the front-end node. This is only required in case of special flavors (i.e. with GPUs): Instance type that will be selected for the front-end node.
71+
- Number of CPUs for the WNs (Working Nodes).
72+
- Amount of Memory (RAM) for the WNs.
73+
- Flavor name of the WNs. Again, this is only required in case of special flavors
74+
- Size of the extra HD (Hard Disk) added to the node.
6875
![template-hw](images/im-dashboard/im-dashboard-02.png)
6976

70-
In this panel, specify the passwords to be employed to access the
71-
Kubernetes Web UI (Dashboard), to access the OSCAR web UI and to access
72-
the MinIO dashboard. These tokens can also be used for programmatic access
77+
In the following panel, specify the passwords to be employed to access the
78+
Kubernetes Web UI (Dashboard), to access OSCAR and to access
79+
the MinIO dashboard. These passwords/tokens can also be used for programmatic access
7380
to the respective services.
7481

75-
- Access Token for the Kubernetes admin user: It is the token to connect to the Dashboard of Kubernetes.
76-
- OSCAR password: password to OSCAR.
77-
- MinIO password 8 characters min.: password to MinIO.
78-
- Email to be used in the Lets Encrypt issuer: It is an Email linked with the certificates in case the user has any questions.
79-
- ID of the user that creates the infrastructure: unique identifier. Do not touch.
80-
- VO to support: It supports OIDC log in. If there is nothing, only can connect the user who deploys, in case there is a VO, it can be the user who deploys and all people in the VO.
82+
- Access Token for the Kubernetes admin user: Used to connect to the Kubernetes Dashboard.
83+
- OSCAR password: To log in to the OSCAR cluster as an admin user.
84+
- MinIO password (8 characters min.).
85+
- Email to be used in the Let's Encrypt issuer.
86+
- ID of the user that creates the infrastructure.
87+
- VO (Virtual Organization) to support: It supports OIDC (OpenID Connect) log in. If empty, only the user who deploys the cluster can log in. If a VO is specified, all the members of the VO can log in the OSCAR cluster.
8188
- Flag to add NVIDIA support: if you want to use NVIDIA.
8289
- Flag to install Apache YuniKorn: if you are going to use YuniKorn.
8390
![template-param](images/im-dashboard/im-dashboard-03.png)
@@ -100,8 +107,8 @@ These are the steps:
100107
1. Check the status of the deployment OSCAR cluster
101108

102109
You will see that the OSCAR cluster is being deployed and the
103-
infrastructure reaches the status "running". The process will not finish
104-
until it reaches the state "configured".
110+
infrastructure reaches the status "running". The process will finish
111+
when it reaches the state "configured".
105112

106113
![status-general](images/im-dashboard/im-dashboard-05.png)
107114

@@ -115,17 +122,13 @@ These are the steps:
115122
Once reached the "configured" state, see the "Outputs" to obtain the
116123
different endpoints:
117124

118-
* console_minio_endpoint: This endpoint brings access to the MinIO web
119-
user interface.
120-
* dashboard_endpoint: This endpoint redirects to the Kubernetes dashboard
121-
where the OSCAR cluster is deployed.
122-
* local_oscarui_endpoint: This endpoint is where the OSCAR backend is
123-
listening. It supports authentication only via basic-auth.
125+
* console_minio_endpoint: To access the MinIO web UI.
126+
* dashboard_endpoint: To access the Kubernetes dashboard.
127+
* local_oscarui_endpoint: To access the OSCAR UI. It supports username/password authentication.
124128
* minio_endpoint: Endpoint where the MinIO API is listening. If you
125129
access it through a web browser, you will be redirected to
126130
"console_minio_endpoint".
127-
* oscarui_endpoint: Public endpoint of the OSCAR web user interface. It
128-
supports OIDC connections via EGI Check-in, as well as basic auth.
131+
* oscarui_endpoint: To access the OSCAR UI. This one supports both username/password authentication and authentication via EGI Check-In for the user who deployed the OSCAR cluster and the users belonging to the VO specified at deployment time, if any.
129132

130133
![outputs](images/im-dashboard/im-dashboard-07.png)
131134

docs/deploy-ansible.md docs/deploy-k3s-ansible.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ansible playbook to deploy K3s and the OSCAR platform
1+
# Deployment on K3s with Ansible
22

33
The folder
44
[`deploy/ansible`](https://github.com/grycap/oscar/tree/master/deploy/ansible)

docs/devel-docs.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Documentation development
2+
3+
OSCAR uses [MKDocs](https://www.mkdocs.org) for the documentation. In particular, [Material for MKDocs](https://squidfunk.github.io/mkdocs-material/).
4+
5+
Install the following dependencies:
6+
7+
```sh
8+
pip install mkdocs mkdocs-material mkdocs-render-swagger-plugin
9+
```
10+
11+
The from the main folder `oscar` run:
12+
13+
```sh
14+
mkdocs serve
15+
```
16+
17+
The documentation will be available in [http://127.0.0.1:8000](http://127.0.0.1:8000)

docs/egi-integration.md

-54
This file was deleted.

0 commit comments

Comments
 (0)