Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Week 08 routine #166

Closed
17 of 18 tasks
kiwixbot opened this issue Feb 19, 2024 · 3 comments
Closed
17 of 18 tasks

Week 08 routine #166

kiwixbot opened this issue Feb 19, 2024 · 3 comments
Assignees
Labels
maint Maintenance tasks

Comments

@kiwixbot
Copy link

kiwixbot commented Feb 19, 2024

Infra

  • Check nodes free space
df -h / && df -h /data
  • Nodes and worker system upgrades
apt update && apt upgrade
k get pods -A -o wide|grep Error
  • Check Pod restarts
k get pods -A -o wide | pyp -i 'print("\n".join([line for line in l if re.split(r"\s+", line)[4] != "0"]))'
  • Check if k8s should/could be upgraded
curl -s -H "X-Auth-Token: $SCW_SECRET_KEY" https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/$KIWIX_PROD_CLUSTER|jq ".version,.upgrade_available"
curl -s -H "X-Auth-Token: $SCW_SECRET_KEY" https://api.scaleway.com/k8s/v1/regions/fr-par/versions|jq ".versions[].name"

Stats

  • Ensure download.kiwix.org stats are being recorded
  • Check whether matomo should be upgraded

Grafana

Projects

Security

Note: this is an automatic reminder intended for the assignee(s).

@kiwixbot kiwixbot added the maint Maintenance tasks label Feb 19, 2024
@benoit74
Copy link
Collaborator

benoit74 commented Feb 19, 2024

Filesystem Size Used Avail Use% Use change
bastion 37G 8.7G 27G 25% +0.1G
stats 233G 102G 119G 47% +7G, +4%
services 456G 217G 216G 51% +17G, +4%
storage 33T 17T 15T 54% -
  • stats: anyone has an idea of what happened?

  • services: weird than k8s cleanup was not triggered, limit is a 50%, let's see next week

  • update nodes packages:

    • stats:
      • bind9 (1:9.16.48-1) over (1:9.16.44-1~deb11u1)
      • bind9-libs:amd64 (1:9.16.48-1) over (1:9.16.44-1~deb11u1)
      • bind9-utils (1:9.16.48-1) over (1:9.16.44-1~deb11u1)
      • bind9-host (1:9.16.48-1) over (1:9.16.44-1~deb11u1)
    • services et storage:
      • idem
      • bind9-dnsutils (1:9.16.48-1) over (1:9.16.44-1~deb11u1)

Upgrade k8s cluster to 1.29.1 : TODO

Zimit

@benoit74
Copy link
Collaborator

We might want to wait for an answer on kubernetes/kube-state-metrics#2323 before upgrading k8s

@benoit74
Copy link
Collaborator

k8s upgrade will be for later for sure now that we are in W09 ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maint Maintenance tasks
Projects
None yet
Development

No branches or pull requests

3 participants