Kubeconfig Setup
Add and manage multiple kubeconfigs securely. Connect your Kubernetes clusters to KubeMate by uploading kubeconfig files. All credentials are encrypted at rest and never exposed in plain text.
What It Does
Kubeconfig management is the absolute minimum you need to connect your clusters:
Add multiple kubeconfig files
Encrypt credentials using Fernet (AES-128 + HMAC)
Test cluster connectivity before saving
Activate clusters and switch between them
that's it!
Adding a Kubeconfig
The absolute minimum steps to add your first kubeconfig:
Navigate to Admin Dashboard
Access the Admin Dashboard from the main menu
Go to Kubeconfig Management
Find the Kubeconfig Management section in Admin Dashboard
Click "Add Kubeconfig"
Start the process to add a new cluster configuration
Paste your kubeconfig file content
Copy the entire kubeconfig file and paste it into the text area
Provide a name for your cluster
Give your cluster a descriptive name like "production" or "development"
Click "Save" to store securely
Your kubeconfig is automatically encrypted and saved to the database
that's it!
Managing Kubeconfigs
Test Connectivity
Click the test button to verify cluster connectivity before saving. This ensures your credentials are valid and the cluster is accessible.
Activate Clusters
Activate a kubeconfig to make it the default cluster for new sessions. Only one cluster can be active at a time.
Delete Kubeconfigs
Delete kubeconfigs when no longer needed. This removes the encrypted data from the database and is irreversible.
Security Features
AES-128 + HMAC Encryption
Kubeconfigs are encrypted at rest using Fernet encryption with AES-128 cipher and HMAC for authentication. Credentials are only decrypted when needed for cluster connections.
Never in Plain Text
Credentials are never stored in plain text or exposed in logs. All sensitive data is encrypted before being written to the database.
Multi-Cluster Support
Add multiple kubeconfigs and switch between them easily from the interface. Each cluster's kubeconfig is isolated and encrypted independently.
Configuration Details
To make things even easier, Kubeconfig management is integrated into the Admin Dashboard. You can test connections before saving, activate clusters for quick access, and manage multiple clusters from one central location.
So you don't need to do anything more to start connecting your clusters right now, however take your time reading the information below to get a deeper understanding about how these concepts work.