Jump to content

Portal:Toolforge/Admin/Monthly meeting/2024-10-01

From Wikitech

Attendees

  • David Caro
  • Francesco Negri
  • Arturo Borrero
  • Raymond Ndibe
  • Seyram Komla Sapaty
  • Bryan Davis

Agenda

  • k8s upgrade workgroup progress
  • KR/hypothesis progress
  • Potential for tracking tools/toolsbeta Cloud VPS resources via opentofu

Notes

k8s upgrade workgroup progress

KR/hypothesis progress

  • DC: Created the new hypothesis for the orchestration API. They are requesting hypotheses to be quarterly. This means that we have to complete a “partial” version of the API so that it can fit in one quarter.
  • DC: Sarai (Designer) will start doing user interviews to gather more ideas on pain points, opportunities, etc. and see which features to prioritize when doing the UI. This is in preparation for next FY when we plan to implement a prototype of the UI. In this FY we expect to complete the design only (Figma or similar).

Potential for tracking tools/toolsbeta Cloud VPS resources via opentofu

  • ABG: we are working on tracking CloudVPS resources using OpenTofu. This opens the door to track also tools/toolsbeta resources using OpenTofu. This should be a dedicated repo, not in the same “tofu-infra” repo but in something like “tofu-toolforge”. We could use it to track flavors, floating IPs, bastions. This could all be tracked in a git repo instead of using Horizon or the OpenStack database. It could be a very nice project. Some patterns used in the tofu-infra repo could be reused. There are many open questions.
  • BD: You might be interested in checking the GitLab pipeline I set up for https://gitlab.wikimedia.org/bd808/deployment-prep-opentofu where I run tofu plan/apply from the GitLab CI.
  • ABG: I see you’re building a container with Tofu
  • BD: Ideally the container would come from elsewhere, but you can look at what I put in the blubber config file.
  • ABG: You’re pulling the provider from the opentofu registry, maybe we can do the same in the tofu-infra repo, instead of including the provider code in the git repo
  • DC: Can you use Tofu to manage K8s workers in Toolforge? How do you handle upgrades?
  • BD: You can do something like “for loops” where each worker gets a different name. Rook is doing something similar for managing blue/green deploys of Magnum clusters.
  • DC: We can use toolsbeta for testing.
  • DC: I saw some people using Tofu for the bootstrap, then run Ansible to configure the instances
  • BD: That’s what Rook is doing with PAWS. Taavi tried applying Puppet rules to the instances in metricsinfra, but that does not work with Magnum because the images are not puppetized.
  • DC: The k8s instances are not using puppet, we install k8s with kubeadm.
  • BD: There are providers you can drop in Tofu, even for Ansible. Or you can have Tofu ssh into the instance and apply an ssh command.
  • FN: Maybe there is some provider for handling kubernetes and kubeadm, but I’m not sure.