Comments (9)
hey @wmashal the README file looks wrong for localai, you have to specify the baseURL and the local model you 've deployed; use also the latest operator version with v0.3.4 version
also a post related to localai with the operator (might be slightly outdated)
the 401s are generated on the absence of a baseURL it will fetch the default openAIs endpoint thus complaining for a password.
fyi, disabling the enableAI flag will just produce the errors from the analysers without any explanation from your local model
...
model: ggml-gpt4all-j.bin
# kubernetes-internal DNS name of the local-ai Service
baseUrl: http://local-ai.local-ai.svc.cluster.local:8080/v1
...
from k8sgpt-operator.
additional note I can call the loacalAI directly
from k8sgpt-operator.
I am not sure if this is the result but when I change enableAI to false I start see results , please advice ? also why I cant see suggested solution in the result CR ?
from k8sgpt-operator.
Hi @arbreezy
Thanks for you reply
but I am still facing the issue, as you recommended I am using v0.3.4 and the enableAI is true but still see this error in the k8gpt deployment
As you see I have the baseURL but also the operator still complaining
from k8sgpt-operator.
Can you call that endpoint (local-ai.local-ai.svc.cluster.local:8080) from a busybox
container with curl?
from k8sgpt-operator.
@wmashal based on this screenshot you have installed LocalAI in the k8sgpt-local-ai
namespace, therefore your baseUrl should be: http://local-ai.k8sgpt-local-ai.svc.cluster.local:8080/v1
. The format for baseUrl is <service_name>.<namespace>.svc.cluster.local:8080/v1
, where you plug in the service name and namespace where LocalAI is deployed.
from k8sgpt-operator.
Thanks for your reply
Actually the namespace not the issue, I create a clean new kind cluster then I deployed the operator, localAI and the k8sGPT in the default namespace and the baseURL also point to default, but still same issue, see the attached images
from k8sgpt-operator.
@wmashal there are two separate issues present in your latest screenshot.
The first issue is that the operator is reconciling two K8sGPT resources, one in the default namespace and one in the local-ai namespace, which doesn't exist. Please delete the K8sGPT that's using the local-ai namespace.
I am uncertain about the second issue: error reading server preface: http2: frame too large
. Perhaps @matthisholleville could comment.
from k8sgpt-operator.
Actually, @wmashal, the version field in the latest K8sGPT resource you shared is very old. Please delete and recreate your K8sGPT using version v0.3.4
and try again.
from k8sgpt-operator.
Related Issues (20)
- k8sgpt opeartor not working with local-ai server: why receiving panic error in k8sgpt operator pod HOT 1
- [Bug]: multi cluster monitoring sends same slack message with difference cluster name
- [Bug]: Description field in k8s results is empty HOT 9
- [Feature]: Implement Integration with Amazon Bedrock HOT 1
- [Question]: prometheus metric collect by k8sgpt.metadata.name
- [Feature]: Support IPv6 k8s clusters HOT 9
- [Question]: Can I configure on-prem s3 i.e. minio? HOT 1
- [Feature]: Generate results CRD in related to issue namespace HOT 1
- [Question]: Use K8SGPT deployed in one cluster to analyze another cluster HOT 4
- [Question]: Is there a way to remove a filter? HOT 4
- [Feature]: Configure Prometheus Integration via CR HOT 1
- [Feature]: For running on AWS, add IAM Roles for service accounts (IRSA) support HOT 2
- [Bug]: Result CR not showing any details under Specs.Details section HOT 3
- [Feature]: add interval on ai backend request HOT 7
- [Question]: <Question Title> the Latest k8sgpt operator doesn't support google as a backend. but standalone installation (K8sGPT CLI) does support. HOT 1
- [Question/Bug?]: False positive? "Ingress uses the secret radio/ as a TLS certificate which does not exist." HOT 1
- [Feature]: Upgrade kubebuilder project from go.kubebuilder.io/v3 to v4
- [Bug]: Empty results custom resources detail field in K8sGPT operator deployment with LocalAI backend HOT 9
- [Bug Report]: Empty JSON results after installation journey in README.md HOT 1
- an empty namespace may not be set during creation for k8sgpt operator controller manager HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8sgpt-operator.