Release V2.19.3 #41

Merged
stefan merged 11 commits from master into stable 2021-04-16 20:32:55 +00:00
3 changed files with 10 additions and 1 deletions
Showing only changes of commit 7ddd5065fd - Show all commits

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
# Breaks Helm V3 dependencies in Argo
Chart.lock
kubezero-repo.???

@ -1 +0,0 @@
Subproject commit 25b8ebe3cc2af88643a4674a63e651e9c31245cb

9
scripts/get_cgroup_limits.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
NAME=$1
POD_ID="$(crictl pods --name $NAME -q)"
CGROUP_PATH=$(crictl inspectp -o=json $POD_ID | jq -rc .info.runtimeSpec.linux.cgroupsPath)
echo -n "cgroup memory limit in bytes for $NAME: "
cat /sys/fs/cgroup/memory/$(dirname $CGROUP_PATH)/memory.limit_in_bytes