Archives mensuelles : avril 2024

Gitlab CI: Common problems

How to print memory usage during the job execution? You can add in a script line this background processing: – while true; do echo « Memory usage in megabytes: » && echo $((`cat /sys/fs/cgroup/memory/memory.memsw.usage_in_bytes | awk ‘{print $1}’`/1048576)) && sleep 0.1; done … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

Helm install and basic commands

Install and basic configuration of helm – install helm: curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash – install chartmuseum: curl https://raw.githubusercontent.com/helm/chartmuseum/main/scripts/get-chartmuseum | bash – run chartmuseum: chartmuseum –debug –port=8081 \ –storage="local" \ –storage-local-rootdir="./chartstorage" & – installing charts into kubernetes: Add the URL to … Continuer la lecture

Publié dans Non classé | Laisser un commentaire