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 47 routine #146

Closed
18 tasks done
kiwixbot opened this issue Nov 20, 2023 · 5 comments
Closed
18 tasks done

Week 47 routine #146

kiwixbot opened this issue Nov 20, 2023 · 5 comments
Assignees
Labels
maint Maintenance tasks

Comments

@kiwixbot
Copy link

kiwixbot commented Nov 20, 2023

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 Nov 20, 2023
@benoit74 benoit74 removed their assignment Nov 20, 2023
@benoit74
Copy link
Collaborator

@rgaudin your turn ;) (but I can take it if you need time)

@rgaudin
Copy link
Member

rgaudin commented Nov 20, 2023

Filesystem      Size  Used Avail Use% Mounted on
bastion        37G  7.6G   28G  22% /
stats        233G   91G  131G  41% /
services        456G  200G  233G  47% /
storage         33T   19T   13T  61% /

OK then you can do it. Can you please upgrade kiwix-serve as well in library.kiwix.org? There are two. There are comments about varnish ; let me know if you want to do it together. We'll see if it requires more documentation that those comments

@benoit74 benoit74 assigned benoit74 and unassigned rgaudin Nov 20, 2023
@benoit74
Copy link
Collaborator

zimit

@benoit74
Copy link
Collaborator

Oups, I almost forgot kiwix-serve update ...

@benoit74 benoit74 reopened this Nov 20, 2023
@benoit74
Copy link
Collaborator

Upgrade kiwix-serve to 3.6.0 + renamed library-demo to library-data to try (🤣) to avoid confusions ; varnish restarted to reload its configuration, no need to purge cache indeed

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