Preparing your Commerce+ environment
Planning your Kubernetes deployment
The foundational deployment described here can be used to assess any production-type deployment. Use it as a reference for production deployments, but keep in mind that production-specific requirements (for example, scaling, monitoring, and high availability) should be assessed based on your business needs. This section aims to have a running instance of the Commerce+ application, not to provide you with an instance customized for your specific needs.
The production environment is a live environment that serves traffic to shoppers. Before opening your site to live traffic, it is essential to have a robust system designed to optimize and maintain the containers running your Commerce+ application. This section covers:
- The infrastructure needed to manage and maintain your containers.
- The steps required to deploy Commerce+ in Kubernetes.
Key considerations for Kubernetes deployment
- Infrastructure Setup
-
- Use a managed Kubernetes service or an on-premises Kubernetes setup.
- Ensure the cluster meets Commerce+’s resource requirements for memory, CPU, and storage
- Environment Preparation
-
- Configure namespaces to isolate environments (for example, development, staging, production).
- Secure access to your cluster with role-based access control (RBAC) and network policies.
- Monitoring
-
- Use Prometheus and Grafana to track the health and performance of your application.
- Prerequisites
-
- Kubernetes Cluster
- A running Kubernetes cluster (version 1.35+).
- Helm
- Helm 3.21.x or greater installed and configured.
- Vault
- Vault 2.0.3 for secure configuration management and certificate handling.
- Commerce Container Images
- All required Commerce+ container images downloaded and available in your container registry.
- Database
- A supported database (for example, PostgreSQL, Db2, or Oracle) configured and accessible from the Kubernetes cluster.
The following topics describe the security, storage, and Vault settings needed by a robust production environment. See, Configuring a database for Commerce+ for more information.