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:
@@ -10,3 +10,4 @@ resources:
|
||||
- traefik/argocd.yaml
|
||||
- argocd-image-updater/argocd.yaml
|
||||
- argocd/argocd.yaml
|
||||
- telepresence/argocd.yaml
|
||||
|
||||
41
telepresence/argocd.yaml
Normal file
41
telepresence/argocd.yaml
Normal 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
|
||||
53
telepresence/helm-values.yaml
Normal file
53
telepresence/helm-values.yaml
Normal 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
|
||||
5
telepresence/kustomization.yaml
Normal file
5
telepresence/kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- helm-values.yaml
|
||||
Reference in New Issue
Block a user