BCDevOps / developer-experience

This repository is used to track all work for the BCGov Platform Services Team (This includes work for: 1. Platform Experience, 2. Developer Experience 3. Platform Operations/OCP 3)
Apache License 2.0
8 stars 17 forks source link

Automate Quota Approval Process spike #4885

Open w8896699 opened 3 weeks ago

w8896699 commented 3 weeks ago

Describe the issue Objective: Investigate and implement automation of the quota approval process in Kubernetes to streamline operations, ensure consistent policy application, and reduce manual overhead.

Additional context Add any other context, attachments or screenshots

Steps to Complete

Definition of done

w8896699 commented 3 weeks ago

Redhat API: https://console.redhat.com/docs/api/cost-management/v1#operations-Optimizations-getRecommendationList

w8896699 commented 3 weeks ago

sysdig dashboard template: https://app.sysdigcloud.com/#/dashboards/410674?last=3600&scope=kubernetes.cluster.name%20as%20%22cluster%22%20in%20%3F%28%22silver%22%29%20and%20kubernetes.namespace.name%20as%20%22namespace%22%20in%20%3F

w8896699 commented 3 weeks ago

Managing resource quotas in Kubernetes: A complete guide¶ https://developer.gov.bc.ca/docs/default/component/platform-developer-docs/docs/app-monitoring/managing-resource-quotas-in-kubernetes/

w8896699 commented 3 weeks ago

quota approve process: https://developer.gov.bc.ca/docs/default/component/platform-developer-docs/docs/app-monitoring/resource-monitoring-dashboards/#prepare-request-for-quota-increase

w8896699 commented 3 weeks ago

Linked to this ticket: https://app.zenhub.com/workspaces/app-dev-team-646fdb4400ed8c0021aceeb4/issues/gh/bcgov/platform-services-registry/3030

w8896699 commented 2 days ago

Option 1,

Billy contribute to registry for automated quota approve process

Option 2

Billy create a posudocode and let registry app team to develop the feature

Option 3

Billy create ts script to registry team

Option 4

Billy will create a separate server to run the task

Next step

  1. auto create sys dig-team in tools, ignore watch for argoCD
  2. copy the dashboard quota