Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: add google cloud integration on k8sgpt #1012

Open
2 tasks done
tozastation opened this issue Mar 13, 2024 · 1 comment · May be fixed by #1013
Open
2 tasks done

[Feature]: add google cloud integration on k8sgpt #1012

tozastation opened this issue Mar 13, 2024 · 1 comment · May be fixed by #1013
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed suggestion

Comments

@tozastation
Copy link

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

@tozastation
Copy link
Author

@tozastation tozastation linked a pull request Mar 13, 2024 that will close this issue
4 tasks
@AlexsJones AlexsJones added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed suggestion labels Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed suggestion
Projects
Status: Proposed
Development

Successfully merging a pull request may close this issue.

2 participants