Greg greg
  • Joined on 2018-11-05
greg commented on issue kosmos/gitea.kosmos.org#32 2019-08-07 09:20:31 +00:00
Fix rolling upgrades on k18s

We have performed the migration, downtime was only a few seconds. We have also tried a running update for a non existing Docker image tag. The new pod kept running, a new one was created and failed to pull the image; I reverted the Docker image to the 1.9.0 tag and the failed pod was deleting, leaving the previous one.

greg closed pull request kosmos/gitea.kosmos.org#32 2019-08-07 09:20:31 +00:00
Fix rolling upgrades on k18s
greg commented on issue kosmos/gitea.kosmos.org#29 2019-08-06 15:25:32 +00:00
Downsizing the GKE setup

It turns out we can get rid of one of the 3 small nodes after all. The master is managed by GKE (https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#master). The minimum of 3 nodes in a cluster is when you run your own cluster, because etcd needs at least 3 nodes for a production cluster; this is what the Kubernetes docs and blog posts are talking about, not the case of a managed service like Amazon EKS or GKE. This is confusing because they are still "nodes", but they don't have a role and only run pods, they do not provide the actual Kubernetes API (the master managed by GKE does)

greg created pull request kosmos/gitea.kosmos.org#32 2019-08-06 10:53:09 +00:00
Bump the api version for the Deployment resource to apps/v1
greg pushed to deployment_api_version at kosmos/gitea.kosmos.org 2019-08-06 10:52:08 +00:00
f8d964f8d2 Bump the api version for the Deployment resource to apps/v1
greg commented on issue kosmos/gitea.kosmos.org#31 2019-08-02 15:53:00 +00:00
Update Gitea to 1.9.0

Nope, it doesn’t, according to the current diff.

greg created pull request kosmos/gitea.kosmos.org#31 2019-08-02 15:36:29 +00:00
Update Gitea to 1.9.0
greg pushed to chore/30-update_1.9.0 at kosmos/gitea.kosmos.org 2019-08-02 15:35:13 +00:00
4e225ab1af Update Gitea to 1.9.0
greg opened issue kosmos/gitea.kosmos.org#30 2019-08-02 15:13:00 +00:00
Update Gitea to 1.9.0
greg closed issue kosmos/chef#3 2019-08-01 10:09:40 +00:00
Cron jobs & systemd timers fail silently
greg commented on issue kosmos/chef#3 2019-08-01 10:09:39 +00:00
Cron jobs & systemd timers fail silently

I checked on barnard and andromeda, the only cron job is backup (already notifies on failures/warnings) and the certbot timer is the only one that I found that needs email notifications. Closing this one

greg closed issue kosmos/chef#80 2019-07-30 11:47:33 +00:00
XMPP HTTP uploads failing again
greg commented on issue kosmos/chef#80 2019-07-30 11:47:33 +00:00
XMPP HTTP uploads failing again

Was fixed by #81

greg merged pull request kosmos/chef#84 2019-07-30 11:46:43 +00:00
Configure hubot/wormhole deployment
greg closed pull request kosmos/chef#84 2019-07-30 11:46:43 +00:00
Configure hubot/wormhole deployment
greg closed issue kosmos/chef#83 2019-07-29 13:41:22 +00:00
Update MySQL packages
greg commented on issue kosmos/chef#83 2019-07-29 13:40:18 +00:00
Update MySQL packages

This is all done and working now.

greg commented on issue kosmos/chef#83 2019-07-29 13:10:36 +00:00
Update MySQL packages

I have managed to update mysql-server-5.7, after stopping /etc/systemd/system/mysql.service, moving it, running systemctl daemon-reload.

greg commented on issue kosmos/chef#83 2019-07-29 12:44:58 +00:00
Update MySQL packages

On andromeda there is a /etc/systemd/system/mysql.service file that was created by Chef, on a fresh VM the service is provided by the package and is located at /lib/systemd/system/mysql.service. So it looks like an issue caused by past versions of the mysql cookbook

greg commented on issue kosmos/chef#83 2019-07-29 11:08:12 +00:00
Update MySQL packages

The apt preferences files you created are being ignored because of their name (apt thinks .7 is the extension, so they would need to end with .pref). Here's the manpage