Repository navigation
Description
📋 Prerequisites
- I have searched the existing issues to avoid creating a duplicate
- By submitting this issue, you agree to follow our Code of Conduct
- I am using the latest version of the software
- I have tried to clear cache/cookies or used incognito mode (if ui-related)
- I can consistently reproduce this issue
🎯 Affected Service(s)
Multiple services / System-wide issue
🚦 Impact/Severity
Minor inconvenience
🐛 Bug Description
I'm configuring my k3s setup with mycluster.k8s.somedomain.net as my cluster-domain.
This means servicename.somenamespace.svc.cluster.local does not resolve, but servicename.somenamespace.svc.mycluster.k8s.somedomain.net and servicename.somenamespace.svc do.
In a minimal deployment from Helm chart, I manually edited the resulting Deployments and removed cluster.local in NEXT_PUBLIC_BACKEND_URL and POSTGRES_DATABASE_URL. This complicates pushes, and would require hacks upon an automated push such as via ArgoCD.
Ideally either the helmcharts would expose the clusterdomain in values yaml, or they'd omit it and depend on search-domains being set up correctly in CoreDNS (as I did above).
I did not yet get to a functioning system, and I'll postpone it for later, so I don't know if this assumption about cluster-domain propagated anywhere else, but a quick search revealed at least one yaml file in tools dir to mention cluster.local.
🔄 Steps To Reproduce
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
namespace: kagent
name: kagent-crds
spec:
targetNamespace: kagent
createNamespace: true
version: "0.9.0" # https://github.com/kagent-dev/kagent/pkgs/container/kagent%2Fhelm%2Fkagent-crds
repo: ghcr.io/kagent-dev
chart: kagent/helm/kagent-crds
valuesContent: |
# n/a
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
namespace: kagent
name: kagent
spec:
targetNamespace: kagent
createNamespace: true
version: "0.9.0" # https://github.com/kagent-dev/kagent/pkgs/container/kagent%2Fhelm%2Fkagent
repo: ghcr.io/kagent-dev
chart: kagent/helm/kagent
valuesContent: |
providers:
default: ollama
# default: openAI
openAI:
apiKey: 12345
# gemini, anthropic, azureOpenAI
controller:
env: {}
# envFrom: [ { secretRef: { name: controller-secrets } } ]
ipv6:
enabled: trueNote, this is actually processed by ArgoCD appset, but applying on k3s with kubectl apply -f should have a comparable result. As noted, k3s has been initialized with a custom cluster-domain.
🤔 Expected Behavior
No response
📱 Actual Behavior
No response
💻 Environment
No response
🔧 CLI Bug Report
No response
🔍 Additional Context
No response
📋 Logs
📷 Screenshots
No response
🙋 Are you willing to contribute?
- I am willing to submit a PR to fix this issue
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsBacklog
Activity
RustyCoderX commentedon Apr 28, 2026
Fixed this by removing hardcoded cluster.local and adding configurable support—please check the PR.
CatRass commentedon May 11, 2026
This would be extremely useful if implemented and pushed to main. Currently encountering an issue where the default k8s toolserver cannot access a cluster's api endpoint, as it is external to the cluster.
It would be great if this was configurable in the helm chart, as it would avoid needing to patch the chart with a custom template.
shekhargit1912 commentedon Jul 11, 2026
I'd like to work on this - I have a fix that adds a clusterDomain value to the Helm chart. Could you assign it to me?
shekhargit1912 commentedon Jul 11, 2026
/assign
fix(helm): make the cluster DNS domain configurable (kagent-dev#2209)