The Configuration section helps you manage application settings, secrets, and resource organisation in your Kubernetes cluster.
Overview
Kubernetes configuration resources organize and configure your workloads:- ConfigMaps - Non-sensitive configuration data
- Secrets - Sensitive data like passwords and tokens
- Namespaces - Virtual clusters for resource isolation
- Limit Ranges - Default resource limits per namespace
- Pod Disruption Budgets - Protect workload availability
Accessing Configuration Resources
Navigate to your cluster and click Kubernetes in the sidebar. Configuration resources include:ConfigMaps
ConfigMaps store non-sensitive configuration data as key-value pairs.Viewing ConfigMaps
ConfigMap Details
Click a ConfigMap to view:- Data - Key-value pairs (displayed as editable text)
- Binary Data - Binary data keys (if any)
- Used By - Pods that mount or reference this ConfigMap
Using ConfigMaps
ConfigMaps can be used in pods as:-
Environment Variables:
-
Volume Mounts:
-
Individual Keys:
Secrets
Secrets store sensitive data like passwords, tokens, and certificates.Viewing Secrets
Secret Types
Secret Details
Click a Secret to view:- Type - Secret type
- Data Keys - List of keys (values are hidden by default)
- Used By - Pods that mount or reference this Secret
Security Best Practices
- RBAC: Limit who can read Secrets
- Encryption: Enable etcd encryption at rest
- Rotation: Regularly rotate sensitive credentials
- Minimal Scope: Only grant Secret access where needed
Namespaces
Namespaces provide virtual clusters within a physical cluster.Viewing Namespaces
Namespace Details
Click a Namespace to view:- Status - Current phase
- Labels - Metadata labels
- Annotations - Additional metadata
- Resource Quotas - Applied quotas
- Limit Ranges - Default limits
System Namespaces
Filtering by Namespace
Most resource views in Ankra allow filtering by namespace. Use the namespace selector at the top of resource lists to focus on specific namespaces.Limit Ranges
Limit Ranges set default and maximum resource limits per namespace.Viewing Limit Ranges
Limit Range Details
- Default Limits - Applied if not specified
- Default Requests - Default resource requests
- Max - Maximum allowed resources
- Min - Minimum required resources
- Max Limit/Request Ratio - Limit/request ratio cap
Example
Pod Disruption Budgets
PDBs protect application availability during voluntary disruptions.Viewing PDBs
PDB Details
- Selector - Which pods this PDB protects
- Min Available / Max Unavailable - Availability constraint
- Current Healthy - Pods currently healthy
- Desired Healthy - Target healthy count
- Disruptions Allowed - How many can be disrupted now
Use Cases
- Rolling Updates: Ensure minimum replicas during updates
- Node Maintenance: Protect workloads during node drains
- Cluster Autoscaler: Prevent over-aggressive scale-down
Common Tasks
Creating a ConfigMap
While Ankra focuses on visibility, you can create ConfigMaps through:- Stacks - Add a manifest with your ConfigMap definition
- kubectl - Apply YAML directly to the cluster
- GitOps - Sync from your Git repository
Viewing Secret Values
- Navigate to Secrets
- Click on the Secret
- Click Reveal next to a key to show the decoded value
Troubleshooting Namespace Termination
If a namespace is stuck inTerminating:
- Check for finalizers blocking deletion
- Look for resources that can’t be deleted
- View events for error messages
- Check for webhook failures
Tips
Still have questions? Join our Slack community and we’ll help out.