Development Guide¶
Guide for contributing to the LlamaStack Kubernetes Operator.
Development Setup¶
Prerequisites¶
- Go 1.21+
- Docker
- Kubernetes cluster (kind/minikube for local development)
- kubectl
- make
Local Development¶
# Clone the repository
git clone https://github.com/llamastack/llama-stack-k8s-operator.git
cd llama-stack-k8s-operator
# Install dependencies
make deps
# Run tests
make test
# Build operator
make build
# Run locally
make run
Contributing¶
Code Style¶
- Follow Go conventions
- Use
gofmt
for formatting - Add tests for new features
- Update documentation
Pull Request Process¶
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Update documentation
- Submit a pull request