Check the prerequisites
Before you begin, make sure you have the following in place:
- Kubernetes 1.25 or later — any conformant cluster works (local clusters like
kindorminikubeare fine for development) - kubectl configured to communicate with your target cluster
- An OpenAI API key — you’ll store this in a Kubernetes Secret
Install the Flokoa operator
Apply the single-file install manifest. This creates the Wait for the operator pod to become ready:You should see output similar to:
flokoa-system namespace, installs all six Custom Resource Definitions, and deploys the operator controller.The operator runs in the
flokoa-system namespace and manages resources across all namespaces in your cluster. It requires cluster-scoped permissions to watch and manage CRDs, Deployments, and Services.Create an OpenAI secret and ModelProvider
Store your OpenAI API key as a Kubernetes Secret in the namespace where you’ll deploy your agent:Now declare a Save this as
ModelProvider that references that secret:modelprovider.yaml and apply it:Create a Model resource
A Apply it:Verify both resources are ready:
Model resource selects a specific model name and inference parameters, wiring them to your ModelProvider. Create a model.yaml file:Deploy your first agent
Now create your first Save this as
Agent resource. This minimal example uses the standard runtime mode — you supply the container image and the operator handles the Deployment and Service.agent.yaml and apply it:What’s next?
You have a running agent — here are the natural next steps depending on what you want to explore.Agent resource reference
Learn the full Agent spec: replica counts, resource limits, health checks, tool bindings, and more.
Connect an LLM provider
Configure Anthropic, Google Gemini, or AWS Bedrock as an alternative to OpenAI.
SDK overview
Use the Flokoa Python SDK and CLI to build agents, call them programmatically, and integrate with pydantic-ai or Google ADK.
