You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deployment/configuration/files.md
+27-3Lines changed: 27 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -231,7 +231,7 @@ nodePool:
231
231
```
232
232
233
233
### artifactRepository
234
-
This section allows you to setup the default object storage for your Workflow and Workspace artifacts, which includes Workflow log storage. Onepanel currently supports any S3 compatible artifact repository such as AWS, GCS and Minio. Support for additional object storages is coming soon.
234
+
This section allows you to set up the default object storage for your Workflow and Workspace artifacts, which includes Workflow log storage. Onepanel currently supports any S3 compatible artifact repository such as AWS, GCS and Minio.
GCS and Minio configurations would also be similar except that the endpoint will be different. For GCS, you would need to [create an HMAC key](https://cloud.google.com/storage/docs/authentication/managing-hmackeys#create) and use the **Access key** and **Secret** accordingly.
Onepanel Workflows will automatically upload or download artifacts from `artifacts/{{workflow.namespace}}/{{workflow.name}}/{{pod.name}}`. See [Workflow artifacts](/docs/reference/workflows/templates#artifacts) for more information.
Copy file name to clipboardExpand all lines: docs/deployment/public/aks.md
+17-38Lines changed: 17 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,55 +27,33 @@ az aks create --resource-group <resource-group> --name <cluster-name> --location
27
27
--node-vm-size Standard_D4s_v3 \
28
28
--node-osdisk-size 100 \
29
29
--min-count 2 \
30
-
--max-count 2 \
30
+
--max-count 5 \
31
31
--enable-cluster-autoscaler \
32
32
--network-plugin azure \
33
33
--network-policy azure \
34
34
--enable-addons monitoring \
35
35
--generate-ssh-keys
36
36
```
37
37
38
-
:::note
39
-
The `--enable-addons monitoring` flag in the command above enables Azure Monitor for log aggregation which can incur additional charges. You can optionally remove this flag and add `--enable-efk-logging` to `opctl` command below.
40
-
:::
41
-
42
-
:::note
43
-
You can specify the version of the cluster.
44
-
Get a list of versions by running:
45
-
```shell script
46
-
az aks get-versions --location eastus --output table
az aks create --resource-group <resource-group> --name <cluster-name> \
67
-
--node-count 2 \
68
-
--kubernetes-version 1.16.9 \
69
-
...
40
+
```bash
41
+
az aks get-credentials --resource-group <resource-group> --name <cluster-name> --admin
70
42
```
71
43
72
-
:::
73
-
74
-
You can then get access credentials by running:
44
+
Optionally, you can add additional auto-scaling node pools to the cluster as follows:
75
45
46
+
```bash
47
+
az aks nodepool add --resource-group <resource-group> --cluster-name <cluster-name> \
48
+
--name <nodepool-name> \
49
+
--node-vm-size <node-vm-size> \
50
+
--enable-cluster-autoscaler \
51
+
--node-count 1 \
52
+
--min-count 0 \
53
+
--max-count <max-count>
76
54
```
77
-
az aks get-credentials --resource-group <resource-group> --name <cluster-name> --admin
78
-
```
55
+
56
+
In step <strong>1.3</strong> below, you can configure Onepanel to automatically scale these nodes as needed.
79
57
80
58
## Install Onepanel
81
59
1. Download the latest `opctl` for your operating system from [our release page](https://github.com/onepanelio/core/releases/latest).
@@ -137,6 +115,7 @@ az aks get-credentials --resource-group <resource-group> --name <cluster-name> -
137
115
```bash
138
116
opctl init --provider aks \
139
117
--artifact-repository-provider s3 \
118
+
--gpu-device-plugins nvidia \
140
119
--enable-https \
141
120
--enable-cert-manager \
142
121
--dns-provider <dns-provider>
@@ -147,7 +126,7 @@ az aks get-credentials --resource-group <resource-group> --name <cluster-name> -
147
126
:::
148
127
149
128
:::note
150
-
If you have GPU nodes, you need to set the `--gpu-device-plugins` flag. Valid values are `nvidia` and `amd` or a comma separated combination of both `nvidia,amd`.
129
+
Valid options for `--gpu-device-plugins` are `nvidia` and `amd` or a comma separated combination of both `nvidia,amd`.
151
130
:::
152
131
153
132
3. Populate `params.yaml` by following the instructions in the template, and referring to [configuration file sections](/docs/deployment/configuration/files#sections) for more detailed information.
@@ -111,6 +111,7 @@ If you are not the person that created the cluster, you will need to be [added t
111
111
```bash
112
112
opctl init --provider eks \
113
113
--artifact-repository-provider s3 \
114
+
--gpu-device-plugins nvidia \
114
115
--enable-https \
115
116
--enable-cert-manager \
116
117
--dns-provider <dns-provider>
@@ -121,7 +122,7 @@ If you are not the person that created the cluster, you will need to be [added t
121
122
:::
122
123
123
124
:::note
124
-
If you have GPU nodes, you need to set the `--gpu-device-plugins` flag. Valid values are `nvidia` and `amd` or a comma separated combination of both `nvidia,amd`.
125
+
Valid options for `--gpu-device-plugins` are `nvidia` and `amd` or a comma separated combination of both `nvidia,amd`.
125
126
:::
126
127
127
128
3. Populate `params.yaml` by following the instructions in the template, and referring to [configuration file sections](/docs/deployment/configuration/files#sections) for more detailed information.
Copy file name to clipboardExpand all lines: docs/getting-started/quickstart.md
+48-31Lines changed: 48 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ It's easy to get started with Onepanel. First, you install the CLI (`opctl`) and
11
11
Before getting started, take a look at [concepts](/docs/getting-started/concepts/namespaces) to understand the different components in Onepanel.
12
12
13
13
:::important
14
-
The steps in the quick start allow you to quickly create a Onepanel cluster for testing. To create a production cluster with TLS and auto scaling enabled see [instructions for your cloud provider](/docs/deployment/overview#installing-on-public-cloud).
14
+
The steps in the quick start allow you to quickly create a Onepanel cluster for evaluation. To create a production cluster with TLS and a managed database see [instructions for your cloud provider](/docs/deployment/overview#installing-on-public-cloud).
15
15
16
16
You can also [add components](/docs/deployment/upgrade/overview) at later time to make this cluster production ready.
17
17
:::
@@ -26,7 +26,7 @@ Let's get started by creating a Kubernetes cluster in one of the following cloud
26
26
{ label: 'Azure AKS', value: 'aks', },
27
27
{ label: 'Amazon EKS', value: 'eks', },
28
28
{ label: 'Google Cloud GKE', value: 'gke', },
29
-
{ label: 'Minikube', value: 'minikube', },
29
+
// { label: 'Minikube', value: 'minikube', },
30
30
// { label: 'Microk8s', value: 'microk8s', },
31
31
]
32
32
}>
@@ -44,7 +44,7 @@ az aks create --resource-group <resource-group> --name <cluster-name> --location
44
44
--node-vm-size Standard_D4s_v3 \
45
45
--node-osdisk-size 100 \
46
46
--min-count 2 \
47
-
--max-count 2 \
47
+
--max-count 5 \
48
48
--enable-cluster-autoscaler \
49
49
--network-plugin azure \
50
50
--network-policy azure \
@@ -54,10 +54,24 @@ az aks create --resource-group <resource-group> --name <cluster-name> --location
54
54
55
55
You can then get access credentials by running:
56
56
57
-
```
57
+
```bash
58
58
az aks get-credentials --resource-group <resource-group> --name <cluster-name> --admin
59
59
```
60
60
61
+
Optionally, you can add additional auto-scaling node pools to the cluster as follows:
62
+
63
+
```bash
64
+
az aks nodepool add --resource-group <resource-group> --cluster-name <cluster-name> \
65
+
--name <nodepool-name> \
66
+
--node-vm-size <node-vm-size> \
67
+
--enable-cluster-autoscaler \
68
+
--node-count 1 \
69
+
--min-count 0 \
70
+
--max-count <max-count>
71
+
```
72
+
73
+
In step <strong>1.3</strong> below, you can configure Onepanel to automatically scale these nodes as needed.
In step <strong>1.3</strong> below, you can configure Onepanel to automatically scale these nodes as needed.
144
+
116
145
</TabItem>
117
146
<TabItemvalue="minikube">
118
147
@@ -345,53 +374,45 @@ Next, get the kubeconfig by running
345
374
{ label: 'Azure AKS', value: 'aks', },
346
375
{ label: 'Amazon EKS', value: 'eks', },
347
376
{ label: 'Google Cloud GKE', value: 'gke', },
348
-
{ label: 'Minikube', value: 'minikube', },
377
+
// { label: 'Minikube', value: 'minikube', },
349
378
// { label: 'Microk8s', value: 'microk8s', },
350
379
]
351
380
}>
352
381
<TabItemvalue="aks">
353
382
354
383
```bash
355
384
opctl init --provider aks \
356
-
--artifact-repository-provider s3
385
+
--artifact-repository-provider s3 \
386
+
--gpu-device-plugins nvidia
357
387
```
358
388
359
389
:::note
360
-
If you have GPU nodes, you need to set the `--gpu-device-plugins` flag. Valid values are `nvidia` and `amd` or a comma separated combination of both `nvidia,amd`.
361
-
362
-
Valid options for `--artifact-repository-provider` flag are `s3` or `gcs`. Use `s3` for any S3 compatible object storage like Minio.
363
-
364
-
See [CLI overview](/docs/deployment/configuration/cli) for additional flags that that may apply.
390
+
Currently, the only valid option for `--artifact-repository-provider` flag is `s3`, which supports any S3 compatible object storage like [Minio](https://docs.min.io/) and [GCS (with HMAC key enabled)](https://cloud.google.com/storage/docs/authentication/managing-hmackeys#create).
365
391
:::
366
392
367
393
</TabItem>
368
394
<TabItemvalue="eks">
369
395
370
396
```bash
371
397
opctl init --provider eks \
372
-
--artifact-repository-provider s3
398
+
--artifact-repository-provider s3 \
399
+
--gpu-device-plugins nvidia
373
400
```
374
401
375
402
:::note
376
-
If you have GPU nodes, you need to set the `--gpu-device-plugins` flag. Valid values are `nvidia` and `amd` or a comma separated combination of both `nvidia,amd`.
377
-
378
-
Valid options for `--artifact-repository-provider` flag are `s3` or `gcs`. Use `s3` for any S3 compatible object storage like Minio.
379
-
380
-
See [CLI overview](/docs/deployment/configuration/cli) for additional flags that that may apply.
403
+
Currently, the only valid option for `--artifact-repository-provider` flag is `s3`, which supports any S3 compatible object storage like [Minio](https://docs.min.io/) and [GCS (with HMAC key enabled)](https://cloud.google.com/storage/docs/authentication/managing-hmackeys#create).
381
404
:::
382
405
383
406
</TabItem>
384
407
<TabItemvalue="gke">
385
408
386
409
```bash
387
410
opctl init --provider gke \
388
-
--artifact-repository-provider s3
411
+
--artifact-repository-provider s3
389
412
```
390
413
391
414
:::note
392
-
Valid options for `--artifact-repository-provider` flag are `s3` or `gcs`. Use `s3` for any S3 compatible object storage like Minio.
393
-
394
-
See [CLI overview](/docs/deployment/configuration/cli) for additional flags that that may apply.
415
+
Currently, the only valid option for `--artifact-repository-provider` flag is `s3`, which supports any S3 compatible object storage like [Minio](https://docs.min.io/) and [GCS (with HMAC key enabled)](https://cloud.google.com/storage/docs/authentication/managing-hmackeys#create).
395
416
:::
396
417
</TabItem>
397
418
@@ -404,11 +425,7 @@ Next, get the kubeconfig by running
404
425
```
405
426
406
427
:::note
407
-
If you have GPU nodes, you need to set the `--gpu-device-plugins` flag. Valid values are `nvidia` and `amd` or a comma separated combination of both `nvidia,amd`.
408
-
409
-
Valid options for `--artifact-repository-provider` flag are `s3` or `gcs`. Use `s3` for any S3 compatible object storage like Minio.
410
-
411
-
See [CLI overview](/docs/deployment/configuration/cli) for additional flags that that may apply.
428
+
Currently, the only valid option for `--artifact-repository-provider` flag is `s3`, which supports any S3 compatible object storage like [Minio](https://docs.min.io/) and [GCS (with HMAC key enabled)](https://cloud.google.com/storage/docs/authentication/managing-hmackeys#create).
412
429
:::
413
430
414
431
</TabItem>
@@ -439,7 +456,7 @@ Next, get the kubeconfig by running
0 commit comments