Skip to content

Commit b9cddf8

Browse files
docs(container.provider): Added info on container resource management (#6082)
* Added info on container resource management * updated copyright format xml header fixed copyright again fixed copyright again * Update kura/org.eclipse.kura.container.provider/OSGI-INF/metatype/org.eclipse.kura.container.provider.ContainerInstance.xml Co-authored-by: Mattia Dal Ben <mattdibi@users.noreply.github.com> * Update kura/org.eclipse.kura.container.provider/OSGI-INF/metatype/org.eclipse.kura.container.provider.ContainerInstance.xml Co-authored-by: Mattia Dal Ben <mattdibi@users.noreply.github.com> * Update kura/org.eclipse.kura.container.provider/OSGI-INF/metatype/org.eclipse.kura.container.provider.ContainerInstance.xml Co-authored-by: Mattia Dal Ben <mattdibi@users.noreply.github.com> * Update kura/org.eclipse.kura.container.provider/OSGI-INF/metatype/org.eclipse.kura.container.provider.ContainerInstance.xml Co-authored-by: Mattia Dal Ben <mattdibi@users.noreply.github.com> --------- Co-authored-by: Mattia Dal Ben <mattdibi@users.noreply.github.com>
1 parent 9f6e2f7 commit b9cddf8

1 file changed

Lines changed: 18 additions & 13 deletions

File tree

kura/org.eclipse.kura.container.provider/OSGI-INF/metatype/org.eclipse.kura.container.provider.ContainerInstance.xml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Copyright (c) 2022, 2024 Eurotech and/or its affiliates and others
4-
5-
This program and the accompanying materials are made
6-
available under the terms of the Eclipse Public License 2.0
7-
which is available at https://www.eclipse.org/legal/epl-2.0/
8-
9-
SPDX-License-Identifier: EPL-2.0
10-
11-
Contributors:
12-
Eurotech
13-
-->
3+
4+
Copyright (c) 2022, 2025 Eurotech and/or its affiliates and others
5+
6+
This program and the accompanying materials are made
7+
available under the terms of the Eclipse Public License 2.0
8+
which is available at https://www.eclipse.org/legal/epl-2.0/
9+
10+
SPDX-License-Identifier: EPL-2.0
11+
12+
Contributors:
13+
Eurotech
14+
-->
1415
<MetaData xmlns="http://www.osgi.org/xmlns/metatype/v1.2.0" localization="en_us">
1516
<OCD id="org.eclipse.kura.container.provider.ContainerInstance" name="Container Instance"
1617
description="Allows for the creation of containers.">
@@ -116,12 +117,16 @@
116117

117118
<AD id="container.memory" name="Memory"
118119
description="The maximum amount of memory the container can use in bytes. Set it as a positive integer, optionally followed by a suffix of b, k, m, g, to indicate bytes, kilobytes, megabytes, or gigabytes.
119-
The minimum allowed value is platform dependent (i.e. 6m). If left empty, the memory assigned to the container will be set to a default value by the native container orchestrator."
120+
The minimum allowed value is platform dependent (i.e. 6m). If left empty, the memory assigned to the container will be set to a default value by the native container orchestrator.
121+
This parameter only takes effect if the host system’s kernel has the corresponding cgroup v2 features enabled.
122+
Please refer to the Kura documentation for more information."
120123
type="String" cardinality="0"
121124
required="false" default="" />
122125

123126
<AD id="container.cpus" name="CPUs"
124-
description="Specify how many CPUs a container can use. Decimal values are allowed, so if set to 1.5, the container will use at most one and a half cpu resource."
127+
description="Specify how many CPUs a container can use. Decimal values are allowed, so if set to 1.5, the container will use at most one and a half cpu resource.
128+
This parameter only takes effect if the host system’s kernel has the corresponding cgroup v2 features enabled.
129+
Please refer to the Kura documentation for more information."
125130
type="Float" cardinality="0"
126131
required="false" default="" />
127132

0 commit comments

Comments
 (0)