How to upgrade Gitlab Omnibus to major version. Recently I need upgrade my self-hosted Gitlab Community from version 13.12.4-ce.0 to latest version 14.3.2-ce.0, but a simple apt update && apt-dist-upgrade was a nightmare ;/ Solution was at my eyes !!! Upgrading GitLab is a relatively straightforward process, but the complexity can increase based on the installation method you have used, how old your GitLab version is, if you’re upgrading to a major version, and so on. ;( References: https://docs.gitlab.com/ee/update/package/ https://docs.gitlab.com/ee/update/index.html#checking-for-background-migrations-before-upgrading Hands on ! First I need to know my exactly current Gitlab version root@gitlab:# dpkg -al|grep gitlab ii gitlab-ce 13.12.4-ce.0 ...
How fix full disk for /data in Prometheus Server deployed with Helm chart The prometheus-server pod has two containers: prometheus-server-configmap-reload and prometheus-server. Currently the prometheus-server has one disk of 20GiB and in was full in sixty days. We need to resize or change this pvc for at least 60GiB. In order to do this, we need: the prometheus-server need to be stopped backup current volume data in another pvc delete current prometheus-server pvc recreate the previous prometheus pvc restore previous backup on this new prometheus-server pvc start the previous stopped deployment of prometheus-sever There are the details: (the "k" is one alias for "kubectl") 1. the prometheus-server need to be stopped --- we need to get information for current prometheus-server deployment ``` $ k -n monitoring get deployment NAME ...
Comments
Post a Comment