Koku is a cloud-native application designed to simplify cost management and monitoring in Kubernetes environments. It provides insights into resource utilization, helping organizations optimize their cloud spending efficiently. Koku integrates seamlessly with AWS and Kubernetes, enabling real-time cost tracking and analysis.
Ensure you have the following installed before proceeding:
- Helm
- Kubernetes cluster configured
- AWS credentials
- Database Setup
Note
Create two new users, named postgres and hive, and assign secure passwords to each. Configure the necessary permissions, as below. Then, create two databases: koku for the postgres user and hive for the hive user.
helm repo add koku https://skyu-io.github.io/koku-helm-charthelm repo updateReplace the following values with your actual values.
helm install koku koku/koku \
--set credentials.awsAccessKeyId="<your-aws-access-key-id>" \
--set credentials.awsSecretAccessKey="<your-aws-secret-access-key>" \
--set database.postgresSQLServiceHost="<your-postgres-host>" \
--set database.databaseName="<your-database-name>" \
--set database.databaseUser="<your-database-user-name>" \
--set database.databaseAdmin="<your-database-admin-user-name>" \
--set database.databasePassword="<your-database-password>" \
--set database.hiveDatabaseName="<your-hive-database-name>" \
--set database.hiveDatabaseUser="<your-hive-database-user-name>" \
--set database.hiveDatabasePassword="<your-hive-database-password>" \
--namespace koku --create-namespaceAfter installation, check if the deployment was successful:
kubectl get pods -n kokuYou should see running pods associated with Koku.
To uninstall Koku and remove all associated resources, run:
helm uninstall koku -n kokukubectl port-forward svc/koku-server -n koku 8000
