Define sharding key for cluster_platforms_kubernetes table

Summary

The cluster_platforms_kubernetes table currently has desired_sharding_key defined but is missing the sharding_key_issue_url attribute. This issue tracks the work needed to implement the sharding key for this table.

Table Information

  • Table name: cluster_platforms_kubernetes
  • Schema: gitlab_main_org
  • Desired sharding keys:
    • project_id (references projects)
    • group_id (references namespaces)
    • organization_id (references organizations)
  • Backfill strategy: Via parent table clusters

Tasks

  • Queue backfill migration for the sharding key
  • Add desired_sharding_key_migration_job_name to the table documentation
  • Verify sharding key implementation
  • Update documentation
Edited by 🤖 GitLab Bot 🤖