Use AI to install the Observe Agent on Kubernetes
Use AI skills to install and troubleshoot the Observe Agent on Kubernetes.
Public preview featureYou may access and use this preview feature solely for internal evaluation purposes. Previews are provided as-is. Your use of this preview is subject to the Snowflake Preview Terms located at https://www.snowflake.com/en/legal.
Use the skills in the Observe Skills repository to help you onboard your Kubernetes data to Observe.
The following skills are available:
| Skill | Description |
|---|---|
| deploy-k8s-explorer | Provides end-to-end onboarding of a Kubernetes cluster to Observe. The skill creates the backend datastreams and content using the Observe CLI and deploys the Observe Agent Helm chart. Use this skill for any use cases where you want to install or set up the Observe Agent on Kubernetes, onboard a K8s cluster to Observe, or send K8s data to Observe across any flavor (EKS, GKE, AKS, GKE Autopilot, EKS Fargate, EKS Auto Mode, minikube, kind, on-premises). |
| debug-k8s-collection | Troubleshoot and debug Observe Agent data collection on Kubernetes. Use this skill whenever the user reports any K8s-side problem with Observe — pods crashing, stuck Pending, ImagePullBackOff, "no data in Observe", missing datastreams, suspected token/secret issues, endpoint reachability failures, or platform-specific symptoms on Fargate / GKE Autopilot / EKS Auto Mode — even if they don't explicitly say "debug" or "Observe Agent." Covers pod status, secrets, endpoint reachability, debug logging, self-monitoring metrics, and platform-specific failure modes. |
Prerequisites
You must have the Observe CLI installed for these skills to work. To install the CLI, run this command:
curl -fsSL https://raw.githubusercontent.com/observeinc/cli/main/install.sh | bashTo confirm your installation, run:
observe --versionSkill Installation
Run one of the following instructions to get set up. NB: there are some child skills the two top level skills reference.
# Install all necessary skills
npx skills add observeinc/skills -s debug-k8s-collection deploy-k8s-explorer setup-k8s-backend setup-k8s-collection
# Or, install all skills in the skills repo, without prompts
npx skills add observeinc/skills --all
# Or choose skills interactively
npx skills add observeinc/skillsUsage
deploy-k8s-explorer
The example shown here is with Claude Code, but this works for any AI agent. The skill parallels the information collected in the Add Data portal, just collected from your command line/agent.
Information gathering
The skill will first ask a series of questions to understand what you're looking to set up.
You'll get the chance to set up any extra add-ons you desire. For example, you may choose to mask sensitive data.
Observe backend setup
After your configuration has been decided, the skill will set up the observe backend objects needed to collect your data. It will create a token for you to save for future use.
Kubernetes setup
We use a helm chart to configure the Kubernetes Agent. The skill will write a values.yaml file to match how you've configured the agent.
The skill will then prompt you to run some helm instructions to set up collection. Note that the skill is programmed to not run these instructions itself, to prevent unintended infrastructure changes.
Verification
After all resources have been installed, the skill will check that data is flowing, and provide links to view your data.
Handoff
You can continue adding data by instrumenting apps you may be running in Kubernetes or on a host machine. The skill will point you to our Auto-Instrumentation Skill, which will guide you through that journey.
debug-k8s-collection
This skill looks for bugs by walking through a checklist of places where problems may occur, drilling down if an issue is found. After changes, the agent will check if data that is expected to be received is actually being received.
User k8s setup verification
The skill will first check that the context is correct, and the expected pods are running.
Roughly, the skill will check
- Tenant information and kubectl context
- Pod statuses
- Pod Logs
- Secrets/Tokens
- Helm chart values
- Endpoint connectivity issues
Fix verification
The skill will confirm the following:
- Pods have been re-rolled since config changes were made
- OTEL collectors are producing data
- Datasets are receiving data
- Data in Observe datasets matches data visible with kubectl
- The data in Observe matches customer expectations
Miscellaneous debugging options
In case the signal is not strong enough from the above investigations, the agent can also prompt the user to turn on Debug Logging and check Self-Monitor Metrics. Finally, there are also some platform specific cases that the skill will check against.
Read more
Use AI to install the Observe Agent on a host
Overview of Data Onboarding and Instrumentation skills
Updated about 3 hours ago