K8sGPT
core.k8sgpt.ai / v1alpha1
apiVersion: core.k8sgpt.ai/v1alpha1
kind: K8sGPT
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
K8sGPTSpec defines the desired state of K8sGPT
ai object
anonymized
boolean
autoRemediation object
enabled
boolean required
resources
[]string required
Support Pod, Deployment, Service and Ingress
similarityRequirement
string required
Defaults to 10%
backOff object
enabled
boolean required
maxRetries
integer required
backend
string required
enum:
ibmwatsonxai, openai, localai, azureopenai, amazonbedrock, cohere, amazonsagemaker, google, googlevertexai, customrest
baseUrl
string
enabled
boolean
engine
string
language
string
maxTokens
string
model
string
providerId
string
proxyEndpoint
string
region
string
secret object
key
string
name
string
topk
string
analysis object
interval
string
Interval is the time between analysis runs
pattern:
^[0-9]+[smh]$customAnalyzers []object
connection object
port
integer
url
string
name
string
extraOptions object
backstage object
enabled
boolean
serviceAccountIRSA
string
filters
[]string
imagePullPolicy
string
PullPolicy describes a policy for if/when to pull a container image
imagePullSecrets []object
name
string
integrations object
trivy object
enabled
boolean
namespace
string
skipInstall
boolean
kubeconfig object
Define the kubeconfig the Deployment must use.
If empty, the Deployment will use the ServiceAccount provided by Kubernetes itself.
key
string
name
string
noCache
boolean
nodeSelector
object
remoteCache object
azure object
containerName
string
storageAccount
string
credentials object
name
string
gcs object
bucketName
string
projectId
string
region
string
interplex object
endpoint
string
s3 object
bucketName
string
region
string
repository
string
resources object
ResourceRequirements describes the compute resource requirements.
claims []object
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.
This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
name
string required
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
request
string
Request is the name chosen for a request in the referenced claim.
If empty, everything from the claim is made available, otherwise
only the result of this request.
limits
object
Limits describes the maximum amount of compute resources allowed.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
requests
object
Requests describes the minimum amount of compute resources required.
If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
otherwise to an implementation-defined value. Requests cannot exceed Limits.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
sink object
channel
string
icon_url
string
secret object
key
string
name
string
type
string
enum:
slack, mattermost, cloudevents
username
string
webhook
string
targetNamespace
string
version
string
status
object
K8sGPTStatus defines the observed state of K8sGPT
show the current backend used
No matches. Try .spec.ai for an exact path