FEAT(telepresence): add Telepresence traffic manager

- Add ArgoCD Application for Helm chart deployment
- Configure resources with memory request equal to limits
- Enable agent injector with OnDemand policy
This commit is contained in:
2026-01-10 03:29:12 +09:00
parent 249e451990
commit af1691cedd
4 changed files with 100 additions and 0 deletions

41
telepresence/argocd.yaml Normal file
View File

@@ -0,0 +1,41 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: telepresence
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
sources:
- repoURL: https://app.getambassador.io
chart: telepresence
targetRevision: 2.20.2
helm:
valueFiles:
- $values/telepresence/helm-values.yaml
- repoURL: https://github.com/K3S-HOME/platform.git
targetRevision: main
ref: values
destination:
server: https://kubernetes.default.svc
namespace: ambassador
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m
managedNamespaceMetadata:
labels:
goldilocks.fairwinds.com/enabled: 'true'
revisionHistoryLimit: 10

View File

@@ -0,0 +1,53 @@
# Telepresence Helm Values
# Chart: https://github.com/telepresenceio/telepresence
replicaCount: 1
# Traffic Manager resources
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
memory: 128Mi
# Agent resources (injected sidecar)
agent:
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
memory: 64Mi
initResources:
requests:
cpu: 25m
memory: 32Mi
limits:
memory: 32Mi
# Hooks resources
hooks:
resources:
requests:
cpu: 25m
memory: 32Mi
limits:
memory: 32Mi
# Log level
logLevel: info
# Agent Injector configuration
agentInjector:
enabled: true
injectPolicy: OnDemand
# RBAC configuration
managerRbac:
create: true
namespaced: false
# Client RBAC (disabled - managed separately if needed)
clientRbac:
create: false

View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-values.yaml