Skip to content

Commit ae743cb

Browse files
authored
Merge pull request #33 from onepanelio/feat/core.354-expose.workflowExecutor
docs: Adding documentation for containerRuntimeExecutor parameter.
2 parents 85fc642 + 0bbfead commit ae743cb

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/deployment/configuration/files.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,6 @@ The template below is automatically generated when your run `opctl init` for you
2626
# Description: Onepanel application information
2727
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2828
application:
29-
cloud:
30-
# GRPC port for API
31-
apiGRPCPort: 8887
32-
# Path of API relative to host
33-
apiPath: /api
34-
# HTTP or HTTPS - Do not change, determined by `opctl init --enable-https`
35-
# CLI flag: --enable-https
36-
insecure: false
37-
# Path of UI relative to host
38-
uiPath: /
3929
# First namespace that will be created in Onepanel, more can be added later
4030
defaultNamespace: default
4131
# Domain or IP where Onepanel is hosted
@@ -46,6 +36,9 @@ application:
4636
# Use the same IP address as `domain` above if running local, use `minikube ip` or `multipass list` to get this IP
4737
# In the cloud, if `domain` above is set to example.com or sub.example.com, then your FQDN could be: app.example.com or app.sub.example.com respectively
4838
fqdn: <ip-or-fqdn>
39+
# HTTP or HTTPS - Do not change, determined by `opctl init --enable-https`
40+
# CLI flag: --enable-https
41+
insecure: false
4942
# Node pool or group label keys and values used for AutoScaling and for NodeSelectors
5043
# The provider will set these label key and values on your nodes automatically
5144
# These can also be customized depending on your provider
@@ -170,11 +163,6 @@ This is where you set the basic application configuration.
170163

171164
Below are the sections you will need to adjust.
172165

173-
#### cloud
174-
Everything under this section is generated and should not be manually changed.
175-
176-
The `insecure` field is set to `true` by default and will be set to `false` if you add the `--enable-https` when running `opctl init`.
177-
178166
#### defaultNamespace
179167
This is the first [Namespace](/docs/getting-started/concepts/namespaces) you want created. This could be a project name or a team name. It is set to `default` by default but we recommend you use something more meaningful.
180168

@@ -184,6 +172,9 @@ This is the domain for your Onepanel resources. Some resources like Workspaces c
184172
#### fqdn
185173
This is where Onepanel UI and API will be deployed. This should be a subdomain of the `domain` field mentioned above. Example: `app.example.com` or `app.sub.example.com`.
186174

175+
#### insecure
176+
The `insecure` field is set to `true` by default and will be set to `false` if you add the `--enable-https` when running `opctl init`.
177+
187178
#### nodePool
188179
Depending on your provider, these are either called node pools or node groups. They are labels on Kubernetes nodes that Onepanel uses for auto scaling nodes on demand.
189180

@@ -269,4 +260,13 @@ database:
269260

270261
:::important
271262
For a production environment, use a managed database service and set the configuration accordingly.
272-
:::
263+
:::
264+
265+
### workflowEngine
266+
#### containerRuntimeExecutor
267+
The executor workflow engine uses to perform certain actions like monitoring pod logs, collecting artifacts, managing container lifecycles, etc.
268+
269+
The possible values are `docker` and `pns`:
270+
271+
- `docker` is more reliable, however it mounts the `docker.sock` of the host makes it less secure.
272+
- `pns` is more secure, however in some versions of Kubernetes, it tends to fail on tasks that take less than 15 seconds.

0 commit comments

Comments
 (0)