Skip to content

refactor(gitalyctl): disable gitalyctl in staging

Steve Xuereb requested to merge refactor/disable-gitalyctl-gstg into master

What

Disable the gitalyctl deployment to stop draining the gstg environment

Why

The pod is currently in crash loop backoff:

$ kubectl -n gitalyctl get po
NAME                             READY   STATUS             RESTARTS         AGE
gitalyctl-gstg-68597f9bb-p6nxh   0/1     CrashLoopBackOff   67 (4m19s ago)   5h29m

This is because we only have 28 projects left:

[ gstg ] production> ProjectRepository.left_joins(:shard).group('shards.name').where('shards.name LIKE ?', 'nfs-file%').where.not('shards.name' => ['nfs-file23', 'nfs-file22', 'nfs-file-cny02', 'nfs-file-cny01']).count
=> {"nfs-file07"=>24, "nfs-file09"=>4}

These are currently blocked by the following issues:

  1. <code data-sourcepos="24:6-24:37">StateMachines::InvalidTransition</code>
  2. Gitlab::Git::Repository::NoRepository pool repository

Merge request reports