k8sgpt-ai/k8sgpt

[Feature]: add google cloud integration on k8sgpt

Opened this issue · 1 comments

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?

None

Problem Description

No response

Solution Description

Issue Name is '[feature] add google cloud integration on k8sgpt'
I want to add GKEAnalyzer to google cloud integration

GKEAnalyzer Content has some Analysis

  1. Cluster Notification Analysis
    In GKE, Google Cloud tell us information such as important scheduled upgrades or available security bulletins (SecurityBulletinEvent, UpgradeAvailableEvent, UpgradeEvent) by Cloud Pub/Sub.

There are a few things I would like k8sgpt to do about this.

1-1. Summarize Each GKE Events
I would like a summary or supplement to these events.

  • SecurityBulletinEvent:
    • Explanation of vulnerability information. Also, include a supplemental note on the packages affected by this vulnerability.
  • UpgradeAvailableEvent:
    • advice on what to check for when upgrading GKE, which may be more accurate if LLM is working with RAG and knows the Kubernetes Release Notes.
    • As Kubernetes API compatibility is available, you may want to list the Controller and Operator that are using the API to prompt them to check.
  • UpgradeEvent:
    • No supplemental information is needed, but we would like to know.

1-2. Notification of each event to any chat tool
Cluster operators need a mechanism to receive these notifications. However, since Google Cloud only provides Cloud Pub/Sub, they need to create and deploy their own tools to receive these notifications and forward them to the chat tool.
k8sgpt and k8sgpt-operator will work together to make this happen.

  1. Check Release Channel Analysis
    GKE has three release channels: STABLE, REGULAR, and RAPID. RAPID is generally not used in production, so a warning will be issued if applicable.

Benefits

1-1. Kubernetes upgrades are difficult for kubernetes beginners, so help
1-2. Eliminate Cloud Run and permission settings that used to be deployed each time a cluster was created. Opportunity to bring k8sgpt into the cluster by taking on some of the work required in GKE operations
2. Be aware of mistakes in diverting settings from the development environment to the production environment

Potential Drawbacks

No response

Additional Information

No response