diff --git a/k8sgpt-operator/install.sh b/k8sgpt-operator/install.sh new file mode 100644 index 00000000..69327fb5 --- /dev/null +++ b/k8sgpt-operator/install.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +helm repo add k8sgpt https://charts.k8sgpt.ai/ +helm repo update k8sgpt +helm install k8sgpt-operator k8sgpt/k8sgpt-operator -n k8sgpt-operator-system --create-namespace --version 0.1.4 diff --git a/k8sgpt-operator/logo.png b/k8sgpt-operator/logo.png new file mode 100644 index 00000000..bd329894 Binary files /dev/null and b/k8sgpt-operator/logo.png differ diff --git a/k8sgpt-operator/manifest.yaml b/k8sgpt-operator/manifest.yaml new file mode 100644 index 00000000..e02d117d --- /dev/null +++ b/k8sgpt-operator/manifest.yaml @@ -0,0 +1,7 @@ +--- +name: k8sgpt-operator +version: v0.1.4 +maintainer: "@milindchawre" +description: This k8sgpt-operator is designed to enable K8sGPT within a Kubernetes cluster. +url: https://github.com/k8sgpt-ai/k8sgpt-operator +category: monitoring diff --git a/k8sgpt-operator/post_install.md b/k8sgpt-operator/post_install.md new file mode 100644 index 00000000..95cf89c1 --- /dev/null +++ b/k8sgpt-operator/post_install.md @@ -0,0 +1,3 @@ +## Using k8sgpt-operator + +Follow these [post-installation steps](https://github.com/k8sgpt-ai/k8sgpt-operator/tree/v0.1.4?tab=readme-ov-file#run-the-example), where you create k8s-secret to store credentials of your LLM AI backends (it supports multiple backends like OpenAI, AzureOpenAI, Amazon Bedrock, etc). Later you need to create a custom resource to apply K8sGPT configuration. diff --git a/k8sgpt-operator/uninstall.sh b/k8sgpt-operator/uninstall.sh new file mode 100644 index 00000000..043841e9 --- /dev/null +++ b/k8sgpt-operator/uninstall.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +NS=k8sgpt-operator-system + +kubectl config set-context --current --namespace=$NS + +# Uninstall chart +helm uninstall k8sgpt-operator + +# Delete the namespace +kubectl delete namespace $NS