Ankra makes it easy to manage clusters using GitOps. Define your cluster’s configuration, manifests, and add-ons in YAML files, store them in Git, and let Ankra handle the automation.
What is GitOps?
GitOps is a way to manage your Kubernetes infrastructure using Git as the single source of truth. With Ankra:- Store configuration in Git - Your cluster definitions, manifests, and add-ons live in your repository
- Automatic sync - Ankra detects changes and applies them to your clusters
- Version control - Track every change, roll back when needed, review via pull requests
- Team collaboration - Multiple team members can update configurations safely
How It Works
Ankra uses include paths to let you split your configuration into multiple files or folders. This keeps your setup modular, maintainable, and easy to scale.Why Use Include Paths?
CI/CD Integration
Keep manifests and add-ons in separate files or folders for easy automation in your CI/CD pipelines. Update only what you need, and trigger deployments automatically.
Modularity & Reuse
Organize resources by team, environment, or feature. Reuse the same manifests or add-ons across different stacks or clusters.
Team Collaboration
Let different teams own and update their own YAML files without merge conflicts. Everyone works from the same Git repository.
Scalability
Easily add new resources or stacks by dropping new YAML files into the right folder-no need to edit a giant config file.
Repository Structure
Organize your Git repository with separate folders for manifests and add-ons:Cluster Definition Example
Yourimport-cluster.yaml references files using include paths:
manifests/ and addons/ folders. You can also include individual files for more control:
How Ankra Syncs Your Cluster
- You update or add YAML files in your Git repository
- Ankra detects the change and automatically syncs your cluster
- All included manifests and add-ons are applied in the order you specify
Best Practices
Troubleshooting
If Ankra isn’t syncing as expected:| Issue | Solution |
|---|---|
| Sync not triggering | Check that Git credentials are valid and have repo access |
| Files not found | Verify all include paths exist in the repository |
| Invalid configuration | Ensure YAML files are syntactically correct |
| Wrong branch | Confirm the branch name in your cluster definition matches |
Global Helm Registries
Ankra comes with a curated index of preloaded Helm charts that are ready to use out of the box. These registries power the add-on catalog in the Ankra platform.Community Contributions
Want to add a Helm chart that would benefit the entire Ankra community? Submit a pull request to the ankra-global-resources repository. Your contribution will be available to all Ankra users.
- Helm Registries - Preloaded chart repositories that appear in the Ankra add-on index
- Global Resources - Platform-wide resource definitions
Contributing a Helm Registry
- Fork the ankra-global-resources repository
- Add your Helm registry definition to the
helm_registries/folder - Submit a pull request with a description of the charts and their use cases
- Once merged, your charts will be available to all Ankra users
When contributing, ensure the Helm charts are well-maintained, secure, and provide value to the broader Kubernetes community.
Related
- Stacks - Learn about organizing resources into stacks
- Add-ons - Install Helm charts as add-ons
- Manifests - Deploy raw Kubernetes manifests
Still have questions? Join our Slack community and we’ll help out.