Manifests are the foundation for customizing your Kubernetes clusters in Ankra. They allow you to define, automate, and standardize resources and configurations across all your environments.
What is a Manifest?
A manifest is a YAML file that describes Kubernetes resources such as namespaces, ConfigMaps, CRDs, RBAC rules, deployments, and more. Manifests are declarative: you specify the desired state, and Kubernetes makes sure your cluster matches it.Why Use Manifests in Ankra?
Automate Cluster Setup
Automatically create all the resources you need (namespaces, roles, CRDs, and more) as part of cluster setup or stack deployment.
Ensure Consistency
Use the same manifest on multiple clusters to make sure every environment is set up the same way.
Prepare for Add-ons
Use manifests to set up things like CRDs or service accounts before installing add-ons, so everything works smoothly.
Version Control
Keep manifests in your repository to track changes, roll back if needed, and support GitOps workflows.
Creating Manifests
Manifests in Ankra are created within Stacks. This ensures your manifests are bundled with related add-ons and can be deployed as a cohesive unit.Navigate to Stacks
Go to the Stacks section in your cluster and click Create Stack (or edit an existing stack).
Add a Manifest
In the Stack Builder, click Add and select Manifest. You can:
- Write your manifest YAML directly in the editor
- Use the AI Assistant (
⌘+J) to get manifest recommendations by describing what you need
Configure Dependencies
Arrange the order of resources if some depend on others. For example, ensure namespaces are created before deployments that use them.
Example Manifest
Encrypting Secrets with SOPS
When your manifests contain sensitive data like passwords, API keys, or credentials, use SOPS to encrypt them before storing in your GitOps repository.Click the SOPS Button
In the manifest edit view, click the SOPS button in the toolbar to enable encryption for this manifest.
Select Fields to Encrypt
SOPS will encrypt the sensitive values (like
data fields in Secrets) while keeping keys readable for easier Git diffs.Manifests are a powerful way to automate, standardize, and scale your Kubernetes operations with Ankra. Learn more about Stacks →