Skip to content

Commit fe2ab98

Browse files
kahoona77cesmarvin
authored andcommitted
Merge branch 'release/v12.15-2'
2 parents 296624c + 0dc8881 commit fe2ab98

File tree

5 files changed

+78
-3
lines changed

5 files changed

+78
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [v12.15-2] - 2023-06-27
11+
### Added
12+
- [#24] Configuration options for resource requirements
13+
- [#24] Defaults for CPU and memory requests
14+
1015
## [v12.15-1] - 2023-06-13
1116
### Fixed
1217
- [#22] Allow connections from all nodes of a cluster (cidr /16) in kubernetes environments.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN set -x -o errexit \
1818
FROM registry.cloudogu.com/official/base:3.17.3-2
1919

2020
LABEL NAME="official/postgresql" \
21-
VERSION="12.15-1" \
21+
VERSION="12.15-2" \
2222
maintainer="[email protected]"
2323

2424
ENV LANG=en_US.utf8 \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MAKEFILES_VERSION=7.5.0
1+
MAKEFILES_VERSION=7.6.0
22

33
.DEFAULT_GOAL:=dogu-release
44

build/make/version-sha.mk

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
##@ Version
2+
3+
# This makefile is used to get the sha256sum of a specific github tag-src.tar.gz or .zip.
4+
# You may set any of the following variables before your make call to change the hash url.
5+
6+
SHA_SUM_ORGANISATION?="cloudogu"
7+
SHA_SUM_REPOSITORY?="ecosystem"
8+
SHA_SUM_FILE_TYPE?="tar.gz"
9+
SHA_SUM_VERSION?="v20.04.4-2"
10+
SHA_SUM_URL?="https://github.com/${SHA_SUM_ORGANISATION}/${SHA_SUM_REPOSITORY}/archive/refs/tags/${SHA_SUM_VERSION}.${SHA_SUM_FILE_TYPE}"
11+
12+
.PHONY: sha-sum
13+
sha-sum: ## Print out the version
14+
@echo "Downloading from: ${SHA_SUM_URL}"
15+
@wget -O - -o /dev/null "${SHA_SUM_URL}" > .download.for.hash \
16+
|| (echo "Could not be downloaded" && exit 1) \
17+
&& cat .download.for.hash | sha256sum
18+
@rm -f .download.for.hash

dogu.json

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Name": "official/postgresql",
3-
"Version": "12.15-1",
3+
"Version": "12.15-2",
44
"DisplayName": "PostgreSQL",
55
"Description": "PostgreSQL Database.",
66
"Url": "https://www.postgresql.org/",
@@ -70,6 +70,58 @@
7070
"Type": "BINARY_MEASUREMENT"
7171
}
7272
},
73+
{
74+
"Name": "container_config/memory_limit",
75+
"Description": "Limits the container's memory usage. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
76+
"Optional": true,
77+
"Validation": {
78+
"Type": "BINARY_MEASUREMENT"
79+
}
80+
},
81+
{
82+
"Name": "container_config/memory_request",
83+
"Description": "Requests the container's minimal memory requirement. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
84+
"Optional": true,
85+
"Validation": {
86+
"Type": "BINARY_MEASUREMENT"
87+
},
88+
"Default": "50m"
89+
},
90+
{
91+
"Name": "container_config/swap_limit",
92+
"Description": "Limits the container's swap memory usage. Use zero or a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte). 0 will disable swapping.",
93+
"Optional": true,
94+
"Validation": {
95+
"Type": "BINARY_MEASUREMENT"
96+
}
97+
},
98+
{
99+
"Name": "container_config/cpu_core_limit",
100+
"Description": "Limits the container's CPU core usage. Use a positive floating value describing a fraction of 1 CPU core. When you define a value of '0.5', you are requesting half as much CPU time compared to if you asked for '1.0' CPU.",
101+
"Optional": true
102+
},
103+
{
104+
"Name": "container_config/cpu_core_request",
105+
"Description": "Requests the container's minimal CPU core requirement. Use a positive floating value describing a fraction of 1 CPU core. When you define a value of '0.5', you are requesting half as much CPU time compared to if you asked for '1.0' CPU.",
106+
"Optional": true,
107+
"Default": "0.50"
108+
},
109+
{
110+
"Name": "container_config/storage_limit",
111+
"Description": "Limits the container's ephemeral storage usage. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
112+
"Optional": true,
113+
"Validation": {
114+
"Type": "BINARY_MEASUREMENT"
115+
}
116+
},
117+
{
118+
"Name": "container_config/storage_request",
119+
"Description": "Requests the container's minimal ephemeral storage requirement. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
120+
"Optional": true,
121+
"Validation": {
122+
"Type": "BINARY_MEASUREMENT"
123+
}
124+
},
73125
{
74126
"Name": "logging/root",
75127
"Description": "Set the root log level to one of ERROR, WARN, INFO, DEBUG.",

0 commit comments

Comments
 (0)