Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
6cff5fd
Add linkerd
GTRekter Dec 4, 2025
25193c0
Update linkerd
GTRekter Dec 4, 2025
0a69884
feat(ui): add date/time to chat history in sidebar (#1143)
onematchfox Dec 1, 2025
8e64b2a
Restart Agents Automatically On Secret Updates (#1121)
inFocus7 Dec 1, 2025
af6adab
fix(controller): ensure upsert works on both Postgres and SQLite (#1137)
onematchfox Dec 1, 2025
3315749
fix(helm): remove sqlite volume+mount if database is postgres (#1140)
onematchfox Dec 2, 2025
e9691b0
fix(helm): add error when trying to scale controller with local SQLli…
onematchfox Dec 2, 2025
7eeab5c
Enable use of postgres in local development (#1145)
onematchfox Dec 2, 2025
ffeb9bb
Use environment variables for controller configuration (#1139)
onematchfox Dec 2, 2025
7a21230
cncf/incubation: add technical review first draft, update contributio…
sam-heilbron Dec 2, 2025
5ff1df8
Enable leader election on controller when scaled (#1146)
onematchfox Dec 2, 2025
8f93d5a
feat(controller): decouple A2A handler registration from controller r…
onematchfox Dec 3, 2025
99a6a01
chore: Update golangci-lint version and add new linters (#1154)
dongjiang1989 Dec 4, 2025
561e5b6
Fix webhookCertWatcher setting (#1155)
dongjiang1989 Dec 4, 2025
a4fb08b
restore default values
GTRekter Dec 4, 2025
e38d391
Merge branch 'main' into linkerd-agent
GTRekter Dec 4, 2025
33399c8
Restore history-max and re-enable grafana and querydoc
GTRekter Dec 8, 2025
90ea320
re-enable querydoc
GTRekter Dec 8, 2025
a1b2834
Merge branch 'linkerd-agent' of https://github.com/GTRekter/kagent in…
GTRekter Dec 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ ARG TOOLS_GO_VERSION
ARG TOOLS_K9S_VERSION
ARG TOOLS_KIND_VERSION
ARG TOOLS_ISTIO_VERSION
ARG TOOLS_LINKERD_VERSION
ARG TOOLS_ARGO_CD_VERSION
ARG TOOLS_KUBECTL_VERSION
ARG ARCH=${TARGETARCH:-amd64}
Expand Down Expand Up @@ -124,6 +125,11 @@ RUN curl -L https://istio.io/downloadIstio | ISTIO_VERSION=${TOOLS_ISTIO_VERSION
&& mv istio-*/bin/istioctl /usr/local/bin/istioctl \
&& rm -rf istio-*

# Install Linkerd Edge
RUN curl -sL https://run.linkerd.io/install-edge | LINKERD2_VERSION=${TOOLS_LINKERD_VERSION} TARGET_ARCH=${ARCH} sh \
&& mv ~/.linkerd2/bin/linkerd /usr/local/bin/linkerd \
&& rm -rf ~/.linkerd2

# Install kind
RUN curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.27.0/kind-$(uname)-${ARCH} \
&& chmod +x ./kind \
Expand Down
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"TOOLS_K9S_VERSION": "0.50.4",
"TOOLS_KIND_VERSION": "0.27.0",
"TOOLS_ISTIO_VERSION": "1.26.0",
"TOOLS_LINKERD_VERSION": "edge-25.11.3",
"TOOLS_KUBECTL_VERSION": "1.33.4"
}
},
Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ helm-agents:
helm package -d $(HELM_DIST_FOLDER) helm/agents/kgateway
VERSION=$(VERSION) envsubst < helm/agents/istio/Chart-template.yaml > helm/agents/istio/Chart.yaml
helm package -d $(HELM_DIST_FOLDER) helm/agents/istio
VERSION=$(VERSION) envsubst < helm/agents/linkerd/Chart-template.yaml > helm/agents/linkerd/Chart.yaml
helm package -d $(HELM_DIST_FOLDER) helm/agents/linkerd
VERSION=$(VERSION) envsubst < helm/agents/promql/Chart-template.yaml > helm/agents/promql/Chart.yaml
helm package -d $(HELM_DIST_FOLDER) helm/agents/promql
VERSION=$(VERSION) envsubst < helm/agents/observability/Chart-template.yaml > helm/agents/observability/Chart.yaml
Expand Down Expand Up @@ -325,15 +327,15 @@ helm-install-provider: helm-version check-api-key
helm $(HELM_ACTION) kagent-crds helm/kagent-crds \
--namespace kagent \
--create-namespace \
--history-max 2 \
--history-max 2 \
--timeout 5m \
--kube-context kind-$(KIND_CLUSTER_NAME) \
--wait \
--set kmcp.enabled=$(KMCP_ENABLED)
helm $(HELM_ACTION) kagent helm/kagent \
--namespace kagent \
--create-namespace \
--history-max 2 \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason for removing this?

--history-max 2 \
--timeout 5m \
--kube-context kind-$(KIND_CLUSTER_NAME) \
--wait \
Expand Down Expand Up @@ -378,6 +380,7 @@ helm-publish: helm-version
helm push ./$(HELM_DIST_FOLDER)/istio-agent-$(VERSION).tgz $(HELM_REPO)/kagent/agents
helm push ./$(HELM_DIST_FOLDER)/promql-agent-$(VERSION).tgz $(HELM_REPO)/kagent/agents
helm push ./$(HELM_DIST_FOLDER)/observability-agent-$(VERSION).tgz $(HELM_REPO)/kagent/agents
helm push ./$(HELM_DIST_FOLDER)/linkerd-agent-$(VERSION).tgz $(HELM_REPO)/kagent/agents
helm push ./$(HELM_DIST_FOLDER)/argo-rollouts-agent-$(VERSION).tgz $(HELM_REPO)/kagent/agents
helm push ./$(HELM_DIST_FOLDER)/cilium-policy-agent-$(VERSION).tgz $(HELM_REPO)/kagent/agents
helm push ./$(HELM_DIST_FOLDER)/cilium-manager-agent-$(VERSION).tgz $(HELM_REPO)/kagent/agents
Expand Down
1 change: 1 addition & 0 deletions contrib/cncf/security-self-assessment.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ Optional tooling:
- **kgateway**: Gateway and Kubernetes Gateway API integration
- **Grafana**: Observability and monitoring integration
- **Istio**: Integration with Istio Service Mesh APIs
- **Linkerd**: Integration with Linkerd Service Mesh APIs
- **Argo**: Integration with Argo Rollouts
- **Cilium**: Integration through specialized agents for eBPF-based networking

Expand Down
2 changes: 2 additions & 0 deletions go/cli/internal/profiles/demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ agents:
enabled: true
istio-agent:
enabled: true
linkerd-agent:
enabled: true
promql-agent:
enabled: true
observability-agent:
Expand Down
2 changes: 2 additions & 0 deletions go/cli/internal/profiles/minimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ agents:
enabled: false
istio-agent:
enabled: false
linkerd-agent:
enabled: false
promql-agent:
enabled: false
observability-agent:
Expand Down
5 changes: 5 additions & 0 deletions helm/agents/linkerd/Chart-template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v2
name: linkerd-agent
description: A Linkerd Agent for kagent
type: application
version: ${VERSION}
284 changes: 284 additions & 0 deletions helm/agents/linkerd/templates/agent.yaml

Large diffs are not rendered by default.

146 changes: 146 additions & 0 deletions helm/agents/linkerd/templates/rbac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "kagent.fullname" . }}-linkerd-role
labels:
{{- include "kagent.labels" . | nindent 4 }}
rules:
- apiGroups:
- ''
resources:
- namespaces
- services
- endpoints
- pods
- persistentvolumeclaims
verbs:
- "*"
# EndpointSlices
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- "*"
- apiGroups:
- apps
resources:
- deployments
- daemonsets
- replicasets
- statefulsets
verbs:
- "*"
- apiGroups:
- policy
resources:
- poddisruptionbudgets
verbs:
- "*"
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- "*"
- apiGroups:
- networking.k8s.io
resources:
- networkpolicies
- ingresses
verbs:
- "*"
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
- clusterrolebindings
- roles
- rolebindings
verbs:
- "*"
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- "*"
# API server extension objects
- apiGroups:
- apiregistration.k8s.io
resources:
- apiservices
verbs:
- "*"
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
- subjectaccessreviews
verbs:
- "*"
- apiGroups:
- authorization.k8s.io
resources:
- selfsubjectaccessreviews
- selfsubjectrulesreviews
- subjectaccessreviews
verbs:
- "*"
- apiGroups:
- policy
resources:
- podsecuritypolicies
verbs:
- use
resourceNames:
- example
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
- mutatingwebhookconfigurations
verbs:
- "*"
- apiGroups:
- ''
resources:
- secrets
- configmaps
- serviceaccounts
verbs:
- "*"
# Linkerd & related CRDs
- apiGroups:
- linkerd.io
- policy.linkerd.io
- viz.linkerd.io
- multicluster.linkerd.io
- split.smi-spec.io
- tap.linkerd.io
- gateway.networking.k8s.io
resources:
- "*"
verbs:
- "*"
- apiGroups:
- ''
resources:
- pods/portforward
verbs:
- create
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ include "kagent.fullname" . }}-linkerd-rolebinding
labels:
{{- include "kagent.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ include "kagent.fullname" . }}-linkerd-role
subjects:
- kind: ServiceAccount
name: {{ include "kagent.fullname" . }}
namespace: {{ include "kagent.namespace" . }}
9 changes: 9 additions & 0 deletions helm/agents/linkerd/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
modelConfigRef: ""

resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 1000m
memory: 1Gi
4 changes: 4 additions & 0 deletions helm/kagent/Chart-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ dependencies:
version: ${VERSION}
repository: file://../agents/istio
condition: agents.istio-agent.enabled
- name: linkerd-agent
version: ${VERSION}
repository: file://../agents/linkerd
condition: agents.linkerd-agent.enabled
- name: promql-agent
version: ${VERSION}
repository: file://../agents/promql
Expand Down
9 changes: 9 additions & 0 deletions helm/kagent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,15 @@ agents:
limits:
cpu: 1000m
memory: 1Gi
linkerd-agent:
enabled: true
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 1000m
memory: 1Gi
promql-agent:
enabled: true
resources:
Expand Down