Links
🤖

Sedai Smart Agent

Learn how to deploy Sedai's agent in order to securely connect your cluster to the platform.
This approach works for any managed Kubernetes cluster.
Sedai Smart Agent allows you to seamlessly connect your resources to Sedai by deploying an agent within your cluster. This allows Sedai's core components to securely communicate instruction sets to your cluster.
To connect your cluster to Sedai:
  1. 1.
    Navigate to Settings > Integrations > Add Integration and select your cluster's Kubernetes provider.
  2. 2.
    Enter the Cluster Name.
  3. 3.
    You can optionally copy or download either a kubectl or helm command to deploy the agent. The deployment manifest file includes the following:
    • Namespace (dedicated for deploying sedai-smart-agent)
    • Service Account (dedicated for deploying sedai-smart-agent)
    • ClusterRole (for the Service Account; includes limited permissions to read Kubernetes resources and manage the workloads in your cluster)
    • ClusterRoleBinding (maps the ClusterRole to the Service Account)
    • Deployment (sedai-smart-agent deployment)
  4. 4.
    Connect monitoring data from your preferred APM/observability provider.
Once you apply the manifest, sedai-smart-agent will be deployed in your cluster (it will take a few minutes for sedai-core to discover your cluster's topology within Sedai).
The kubectl and helm commands are dynamically generated and will expire within 30 minutes. Execute the commands once they are generated to avoid connection issues.

Cluster Role Reference

get, list, patch, update, and watch apply to the following apiGroups:
  • “”
    • ReplicationController
    • Services
    • Pods
  • apps
    • DaemonSets
    • Deployments
    • ReplicaSets
    • StatefulSets
  • autoscaling / autoscaling.k8s.io
    • HorizontalPodAutoscalers
    • VerticalPodAutoscaler
  • batch
    • CronJobs
    • Jobs
  • policy
    • PodDisruptionBudgets
get, list, and watch apply to the following apiGroups:
  • networking.k8s.io
    • Ingresses
    • IngressClasses
    • NetworkPolicies
  • metrics.k8s.io
    • Pods
    • Nodes