Release Notes
4.0.0
For instructions about upgrading to release 4.0.x, see Update to Version 4.0.
Deprecations & Removals
CLOUD-3732: Removed theEP-Infrastructure-ManagementIAM role from bootstrap. IAM policies are created by Terraform and attached to the EKS Jenkins service account role, which Jenkins build agents already use. Re-run bootstrap insetupmode to remove the orphaned legacy role from existing clusters.CLOUD-2490: Removed the Cilium Kubernetes Container Network Interface (CNI) and related tools, including Hubble. Cilium was deprecated in CloudOps for Kubernetes release3.2and has been replaced with the default Amazon VPC CNI. For upgrade details, see Update to Version 4.0.
See Deprecations and Removals.
New Features
CLOUD-3617: Added thev2-set-commerce-service-replicasJenkins job, which sets the number of replicas of the Cortex, Search, or Integration service in an environment, from0to100. For a service with a Horizontal Pod Autoscaler, the job sets the autoscaler minimum. For details, see Scale Commerce Services.CLOUD-3618: Added thev2-stop-start-commerce-environmentJenkins job, which allows users to stop all services in an environment, and later start them again with their earlier replica counts. For details, see Scale Commerce Services.CLOUD-3722: Added the option to globally set the value ofepCommerceCredentialId, which is the credential that Jenkins jobs use to clone theep-commerceproject. This makes it easy to use something other than the defaultgitCredentialIdwhen cloningep-commerce. For details on how to start using this, see Manage Jenkins Credentials.CLOUD-3729: Added the Jenkins MCP Server plugin, installed by default. Streamable HTTP transport is enabled automatically when the plugin is installed; SSE and stateless transports remain disabled. For details, see Jenkins MCP Server Usage.CLOUD-3781: Updated CloudOps for Kubernetes to provision and operate Amazon EKS1.36. The update includes compatible Kubernetes add-ons and bootstrap tools:eksctl;kubectl; Helm; Cluster Autoscaler; kube-proxy; CoreDNS; Metrics Server; Amazon Elastic File System Container Storage Interface Driver; kube-state-metrics; and the EKS pause image. The CloudWatch Observability add-on is also updated to a1.36-compatible version. Application Signals remains off unlessenable_cloudwatch_observability_application_signalsis set totrue.CLOUD-3793: Changed how EKS access control is configured, simplifying the process to grant IAM users and roles access to the EKS cluster. You can grant different access levels to different IAM principals by settingTF_VAR_eks_iam_access_entriesindocker-compose.override.yml. Existingaws-authConfigMap entries are unaffected. For details and examples, see Grant IAM Users and Roles Access to EKS.CLOUD-3636: Added a new V2 Pipelines job family for building, testing, configuring, and destroying Self-Managed Commerce environments. The V2 approach uses reusable build artifacts, YAML environment configuration files, and a newv2-commerce-branch-validationworkflow. Several older Jenkins jobs are now deprecated in favour of these V2 replacements. For information about the new V2 Pipelines, see V2 Pipelines Overview.CLOUD-3801: Added the V2 environment file layout underenvironments/<kubernetesNickname>/. Commerce, ActiveMQ, and database configuration now live in separate component YAML files, making long-lived and temporary environment definitions easier to review and reuse. Introduced a new suite of Jenkins jobs to create and manage the configuration of Commerce environments. For more information about the new YAML environment configuration files and the related jobs, see V2 Pipelines Overview.CLOUD-3625: Updated therestart-commerce-stackJenkins job description andcontainersToRestartparameter description to document that Apache ActiveMQ can be restarted whenactivemqis listed explicitly, and thatallrestarts only Self-Managed Commerce application deployments and does not include ActiveMQ.CLOUD-3709: AddedEP_ASSET_LOCATION=/ep/assetsto thecommerce-stack-secretKubernetes secret so Commerce services receive the Self-Managed Commerce default asset path. After upgrading, re-run environment configuration (deploy-or-delete-commerce-stackorv2-configure-commerce-environment) and restart Commerce services for existing environments to pick up the new environment variable.CLOUD-3768: Added the newv2-deploy-commerce-imagesjob for deploying Commerce images to an existing Commerce environment. This job is the new recommended way to deploy Commerce code updates to Commerce environments. The job can optionally re-tag the images before deploying, or optionally run data-populationupdate-dbif data-pop is required. You can start using this job for Commerce code deployments without also adopting other new V2 pipelines.CLOUD-3833: Added thecluster-autoscaler.kubernetes.io/safe-to-evict: "false"annotation to mysql-container MySQL and search-master pod templates so the cluster-autoscaler does not evict nodes hosting these single-writer, EBS-backed workloads during scale-down cycles. When you update those deployments and apply this change, expect brief outages of those services as the pods are restarted to pick up the new configuration.CLOUD-3843: Exposed the ActiveMQ container memory and CPU values as user-configurable Terraform variables, and updated the default memory requests and limits to give the ActiveMQ process more native memory. See Configure ActiveMQ Container and Environment Files Reference.CLOUD-3850: Improved the support for using a non-default Jenkins credential with an Extensions repository. Users can now specify the credential for all of the Extensions repository's jobs to use. Once set, the Extensions repository'sbootstrap.groovyfile can look up and use that credential, and jobs will subsequently use it when they are run. Also updated a file where the default credential was hardcoded. For details about using Extensions, see Creating an Extensions Repository.CLOUD-3861: Set the new environment variablesEP_ACTIVEMQ_STORE_USAGE_LIMIT_IN_GB,EP_ACTIVEMQ_STORE_USAGE_TOTAL_IN_GB,EP_ACTIVEMQ_TEMP_USAGE_LIMIT_IN_GBandEP_ACTIVEMQ_TEMP_USAGE_TOTAL_IN_GBin theep-jms-secretKubernetes secret. Newer Self-Managed Commerce ActiveMQ containers consume these to set the ActiveMQstoreUsageandtempUsagelimits and totals.CLOUD-3880: Added diagnostic output to thebootstrap/scripts/rebuild-nodegroups.shscript, to better identify the causes of slow or blocked node drains.CLOUD-3882: Added the ability to change the Nexus admin password using theTF_VAR_nexus_repo_passwordparameter indocker-compose.override.yml. Bootstrap applies the configured password to the live Nexusadminaccount when Nexus starts or when the password changes. Passwords must be at least eight characters long and must not contain whitespace. Disallowed characters include/or\or&or"or`or$or<or>or#.CLOUD-3884: Updated the EKS upgrade process to be more resilient to rare EKSResourceInUseExceptionerrors that can occur when trying to apply new changes while previous changes are still in progress on the EKS control plane backend.CLOUD-3902: Changed the defaultdatabaseTypeoption in thecreate-and-manage-database-serverJenkins job fromaurora-mysql(Amazon Aurora MySQL 5.7) toaurora-mysql-8.0. Aurora MySQL 5.7 is end-of-life and is now the last option in the list. To create or manage an Aurora MySQL 5.7 server, selectaurora-mysqlexplicitly.
Bug Fixes
CLOUD-3593: Fixed an issue where the ModSecurity WAFmodsecurity-spoapods could be starved of CPU and memory, causing CPU throttling and out-of-memory restarts. The default CPU limit is now1200m, and the default memory request and limit are now600Mi. The CPU request stays at200m, so the CPU reserved on each node does not change. The new values are applied the next time the bootstrap or theupdate-wafjob runs, which restarts the ModSecurity WAF pods one node at a time. This change has no effect on users who are not using ModSecurity WAF.CLOUD-3692: Changed Amazon Aurora MySQL 5.7 and 8.0 cluster parameter groups so character set and collation defaults areutf8andutf8_unicode_ciinstead ofutf8mb4andutf8mb4_unicode_ci. Self-Managed Commerce expectsutf8mb3, which Amazon Aurora exposes asutf8. If your Aurora configurations are managed via thecreate-and-manage-database-serverjob, re-run the job after upgrading to apply the change. Terraform updates the existing cluster parameter group in place without replacing the Aurora cluster or DB instances, and without rewriting existing databases or tables. See Create a Database Server.CLOUD-3791: Updated the recommended Amazon RDS for PostgreSQL engine versions used by thecreate-and-manage-database-serverJenkins job. Thepostgres-rdsoption now uses PostgreSQL14.23, andpostgres-rds-16now uses PostgreSQL16.10. The job also fails fast with a clear validation error when a requested RDS engine version is unavailable.CLOUD-3753: Ensure clean ActiveMQ broker shutdown during pod termination and rollouts, even with ActiveMQ containers that don't properly pass signals to the broker Java process. Unclean shutdowns could log"Recovering pageFile free list due to prior unclean shutdown"and risk KahaDB corruption. ActiveMQ deployments now always find the broker process and send itSIGTERMvia a KubernetespreStophook. The pod termination grace period is also increased from the Kubernetes default of30sto180sso the broker can checkpoint and flush beforeSIGKILL. After upgrading, redeploy existing ActiveMQ containers (for example, with thecreate-or-delete-activemq-containerjob) so they pick up the fix. An image rebuild is not required.CLOUD-3778: Reduced the Terraform Jenkins Helm release deploy timeout from thirty minutes (1800s) to ten minutes (600s), so any Jenkins pod startup failures would fail more quickly.CLOUD-3821: Fixed an issue where ActiveMQ deployments failed to become Ready when CloudWatch Application Signals Java auto-instrumentation was enabled via theinstrumentation.opentelemetry.io/inject-java: "true"pod annotation. ActiveMQ liveness and readiness probe commands now unsetJAVA_TOOL_OPTIONSso the health-check subprocess does not load the OpenTelemetry javaagent and probes complete within the configured timeout.CLOUD-3824: Fixed an issue where builds could fail because the default memory for Jenkins agent pods was too low. The default memory request and limit is now768Mi, up from512Mi. You can tune this withTF_VAR_jenkins_agent_memoryindocker-compose.override.yml.CLOUD-3827: Improved on theCLOUD-3758fix by creating and using a dedicated priority class for themodsecurity-spoaDaemonSet instead of depending on the sharedep-highclass. Also elevated the scheduling priority for the HAProxy Ingress and CloudWatch logging agents by assigning them theep-highpriority class.CLOUD-3841: Fixed an issue where ActiveMQ containers failed to start becauseJDK_JAVA_OPTIONSwas set to the literal string"null". This happened whenops-spec.json(from Self-Managed Commerce or the CloudOps for Kubernetes fall-back file) lacked.activemq.jvmRuntimeArguments;eplib.parseOpsSpecpassedjq's literalnullinto the ActiveMQ image build. Parsing now treats a missing or null value as an empty string, and the fall-backops-spec.jsondefines.activemq.jvmRuntimeArguments. After upgrading, rebuild ActiveMQ images and redeploy existing ActiveMQ containers so they pick up the fix. See ops-spec.json.CLOUD-3867: Restored the Jenkins Kubernetes cloud container limit, the cluster-wide limit on how many Jenkins agent pods can run concurrently, to100. A change in CloudOps for Kubernetes3.5incorrectly changed it to10, causing builds to queue for an agent slot. This restores the100value used in release3.4and earlier.CLOUD-3869: Detect and heal clusters that are missing the access control ClusterRoleBindingeks:addon-cluster-admin: create the missing binding and automatically recreate EKS addons as needed.CLOUD-3883: Fixed an issue, introduced in CloudOps for Kubernetes release3.5.0, where Jenkins credentials added manually through the Jenkins web interface were removed every time the Jenkins pod restarted.CLOUD-3885: Fixed an issue, introduced in CloudOps for Kubernetes release3.5.0, where Jenkins user authorization assignments added or changed through the Jenkins web interface were removed every time the Jenkins controller restarted. Jenkins startup will now attempt to merge existing configuration with configuration loaded from the defined configuration file. For more information, see Jenkins Authorization configuration.CLOUD-3886: Fixed an issue where builds skipped the Eclipse P2 caching proxy for Eclipse P2 repositories withhttp://download.eclipse.org/URLs, which older Self-Managed Commerce versions use. These builds now use the proxy. For details, see Eclipse P2 Caching Proxy.CLOUD-3893: Fixed an issue where bootstrap could fail during upgrade when an Amazon EKS add-on such asvpc-cniwas transientlyDEGRADEDafter node group rotation (for example, while the add-on was still rolling out onto new nodes). The bootstrap version check now waits for add-ons to reachACTIVEwith bounded retries, consistent with other add-on checks, instead of failing immediately on a non-ACTIVEstatus.CLOUD-3894: Fixed an upgrade issue where reordering the subnet list caused Terraform to destroy and recreate all Amazon Elastic File System (EFS) mount targets, causing disruption in EFS filesystem connectivity. The issue may have caused pods, including ActiveMQ pods, to hang during previous CloudOps for Kubernetes upgrades. Reminder: never force-terminate ActiveMQ pods. Instead, see Recovering an ActiveMQ pod stuck in Terminating.CLOUD-3904: Fixed an issue where the Kubernetes liveness, readiness and startup probes for Self-Managed Commerce services did not check the health check response body. The probes now usehttpGetinstead ofcurl. Startup probes also now use a two-second timeout. Thehealthcheck_queryTerraform variable was removed: if a resourcing profile.tfvarsfile you created sets it, remove it to avoid an undeclared-variable warning. Run thedeploy-or-delete-commerce-stackjob against each Commerce environment to apply the change. The Commerce pods will restart to pick up the release's changes.CLOUD-3905: Fixed an issue where Self-Managed Commerce JVMs did not shut down cleanly, because Kubernetes sentSIGTERMto the container's shell entrypoint and not to the Tomcat JVM. Commerce Manager, Integration, Cortex, Batch, Search and Data Sync deployments now have apreStophook that sendsSIGTERMto the Tomcat JVM. The pod termination grace period is now180s, so the JVM has time to shut down. Run thedeploy-or-delete-commerce-stackjob against each Commerce environment to apply the change. The Commerce pods will restart to pick up the release's changes.CLOUD-3948: Resolved abuild-jenkins-agentsfailure. Building thedeploy-agentimage began failing after a new release of the Pythonkubernetespackage whose dependencies conflicted with thebotocorepackage dependencies. The job now pins the Pythonkubernetespackage to version37.0.1.CLOUD-3970: Fixed an issue where thecreate-and-manage-bastion-instanceJenkins job failed on new Amazon EKS clusters, because theaws-authConfigMap does not exist on clusters that use EKS access entries. The bastion instance IAM role now gets cluster access through an EKS access entry. The Kubernetes group for bastion instances changes fromsystem:bastionto<bastion instance name>-group. Re-run the job to apply the change to an existing bastion instance.
Upgrade Instructions
For instructions about upgrading to release 4.0.x, see Update to Version 4.0.
3.7.0
New Features
CLOUD-3025: Added optional PodDisruptionBudgets (PDBs) for Cortex, Search Slave, and Integration to reduce outages during nodegroup rebuilds and other drain operations. PDBs are enabled by default for Cortex and Search Slave, and are opt-in for Integration. Therebuild-nodegroups.shdrain script is also hardened with per-node pacing and a 30-minute timeout. For full details, see Auto Scaling and Replicas.CLOUD-3275: Added thegenerate-support-reportJenkins job, which produces areport.zipartifact containing Terraform workspace state, ECR repository information, and Kubernetes diagnostics to assist with infrastructure troubleshooting and support.CLOUD-3333: Changed the default AWS database instance type fromdb.r5.xlargeto the more modern and cost-effectivedb.r6g.xlarge. The default value of the parameter nameddbInstanceClass, in Jenkins jobcreate-and-manage-database-server, is updated todb.r6g.xlarge. New database instances created with this job will default to the new instance type unless the parameter is changed. You can update existing instances to use the new type by rerunning the job with the updateddbInstanceClassparameter; changes will take effect during the configured AWS maintenance window.CLOUD-3557: Added support for deploying a bastion instance in a private subnet, where previously bastions were deployed only in public subnets. This is controlled by the newsubnetTypeparameter in thecreate-and-manage-bastion-instanceJenkins job.CLOUD-3580: Updated the Jenkins server image version to2.541.2-lts-jdk21and the Jenkins helm chart version to5.8.142.CLOUD-3622: Replaced the legacy New Relic agent deployment with the officially supportednri-bundleHelm chart, and updated the default New Relic version to6.0.40. The agent continues to be controlled by the existingTF_VAR_enable_new_relic_agentandTF_VAR_enable_new_relic_k8s_dataparameters. For more information about the New Relic Infrastructure (NRI) Helm chart deployment, see nri-bundle.CLOUD-3628: Added a file namedAGENTS.mdto the root of thecloud-ops-kubernetesGit project to help coding agents better understand the content, purpose and structure of the project. For more information about AGENTS.md files, see AGENTS.md.CLOUD-3641: Updated CloudOps for Kubernetes to provision and operate Amazon EKS1.35. The update includes compatible Kubernetes add-ons and bootstrap tools:eksctl;kubectl; Helm; Cluster Autoscaler; kube-proxy; CoreDNS; Metrics Server; Amazon Elastic File System Container Storage Interface Driver; kube-state-metrics; and the EKS pause image. For upgrade details, see Update to Version 3.7.CLOUD-3684: Added a new page about granting additional AWS users and roles access to view the cluster in the Amazon EKS console and to runkubectlcommands. See Grant Users and Roles Access to EKS.CLOUD-3688: Added an Eclipse P2 caching proxy service to improve Self-Managed Commerce build stability by drastically reducing external Eclipse downloads across builds. It is enabled by default but can be disabled if desired. For more information, see Eclipse P2 Caching Proxy.CLOUD-3694: Added AWS Secrets Manager support for Jenkins credentials. This helps preserve customer-managed credentials across CloudOps for Kubernetes upgrades, including credentials added through the Jenkins web interface. For upgrade details, see Update to Version 3.7. For credential management procedures, see Manage Jenkins Credentials.CLOUD-3716: Updated the Terraform version from0.14.11to1.8.2. Updated the Terraform provider version constraints used by the bundled modules to current supported versions, including AWS~> 5.0, Kubernetes~> 2.29, and Helm~> 2.12, and included compatibility fixes required by the newer providers. No additional upgrade tasks are required beyond the normal CloudOps for Kubernetes upgrade process. If your team runs Terraform directly against the CloudOps for Kubernetes code, ensure that you use the Terraform version required by the checked out release.CLOUD-3724: Added support for SAML integration with Jenkins, so teams can use Single Sign On (SSO) to control Jenkins authentication and authorization. This has several advantages over using Jenkins native login features, including easier on-boarding and off-boarding of team members, and ensures that user credentials are not lost when Jenkins is reconfigured from infrastructure code. For more information, see Jenkins SAML SSO.CLOUD-3759: Added diagnostic commands to thebootstrap/scripts/rebuild-nodegroups.shscript, to provide additional information about the node and pod states during EKS node group rebuild maintenance.
Bug Fixes
CLOUD-3206: Updated thebootstrapcontainer'sentrypoint.shscript to always clear the local Terraform state that manages the backend S3 bucket. This change is to avoid error message likekubernetes-bootstrap | Error: error deleting S3 Bucket (bucketname): BucketNotEmpty: The bucket you tried to delete is not emptythat might occur when runningdocker-compose up.CLOUD-3595: Added validation to thecommerce-branch-validationJenkins job so missing branch parameters fail fast with clear error messages.CLOUD-3639: Switched the HAProxy Ingress implementation from a Kubernetes deployment to a daemonset, to improve availability and uptime when HAProxy Ingress is restarted.CLOUD-3623: Updated themulti-purpose-commerce-toolJenkins job to use a dedicatedactiveMqResourcingProfileparameter for ActiveMQ deployments, separate from Commerce stack resourcing. Added early validation to ensure the selected ActiveMQ profile exists interraform/activemq/env-file, with clear error messaging when the profile is missing.CLOUD-3661: Removed legacy ActiveMQ HA deployment behavior and updated ActiveMQ deployments to use the KubernetesRecreatestrategy during updates. This prevents a second broker pod from being started during rollout, which avoids KahaDB lock contention.CLOUD-3690: Changed the HAProxy-Ingress default timeouts from fifty seconds (50s) to seventy seconds (70s), to address"504 (Gateway Timeout)"issues reported in the Commerce Manager application.CLOUD-3695: Removed American National Standards Institute (ANSI) colour codes from bootstrap console output. The ANSI colour codes were adding extra printed characters to console output when redirected to files.CLOUD-3736: Corrected an issue in the database Terraform modules where, in a specific scenario, Terraform would mark the existing in-use Key Management Service (KMS) key for deletion. This would only occur if the user reran thecreate-and-manage-database-serverjob and manually specified the existing Terraform-managed KMS key in theencryptionKeyparameter.CLOUD-3750: Fixed issues in thebootstrap/scripts/remove-nodegroups.shscript that intermittently caused node group CloudFormation stack deletion to fail due to security group associations.CLOUD-3758: Fixed an issue where all pods in themodsecurity-spoaDaemonSet might not start up correctly after node group changes by assigning the DaemonSet an elevated PriorityClass.CLOUD-3775: Removed the unnecessaryReservedCodeCacheSizeMAVEN_OPTS setting in the Maven Java build jobs, for compatibility with Self-Managed Commerce release8.8.x.CLOUD-3776: Specified all Jenkins plugins to be installed, including the specific versions, to ensure that compatible plugins are always selected and installed.SUP-6337: Updated the Jenkins controller Java memory configuration so the maximum heap is set at 60% of available memory instead of 87.5%. This makes more memory available to non-heap components to avoid Kubernetes OOMKilled issues.
Deprecations & Removals
CLOUD-3656: Removed code that was used to create and manage some remaining Account Management API resources. Support for Account Management API ended with CloudOps for Kubernetes release3.1.CLOUD-3611: Removed the Alert Logic daemonset from CloudOps for Kubernetes. Alert Logic support was deprecated in CloudOps for Kubernetes release2.14.
See Deprecations and Removals.
Upgrade Instructions
For upgrade instructions, see Upgrading CloudOps for Kubernetes.
3.6.0
New Features
CLOUD-2907: Added support for sourcing JVM arguments from theops-spec.jsonfile when building Self Managed Commerce application images and the ActiveMQ image. This feature requires version 4.6.1 or later of the Elastic Path Docker project.CLOUD-3098: Added theadoptExistingDatabaseSecretparameter to theuse-existing-database-serverJenkins job, and parameterdoNotManageDatabaseSecretto the other database-management jobs, to facilitate switching database servers. See Switching Databases for more information.CLOUD-3163: Added thecreate-and-manage-bastion-instanceJenkins job, which can be used to create a bastion instance in your environment. The bastion instance includes Kubernetes management tools, and access to the Elastic Kubernetes Service (EKS) cluster nodes.CLOUD-3334: Added theextensionJobfield to thecommerce-branch-validationJenkins job. This field can be used to trigger an additional Jenkins job to be run after the Cortex system tests complete.CLOUD-3340: Added PostgreSQL 16 support to thecreate-and-manage-database-serverandmulti-purpose-commerce-toolJenkins jobs. Thepostgres-rds-16selection fordatabaseTypewill deploy an Amazon RDS for PostgreSQL 16.6 database.CLOUD-3383: Updated the default MySQL version from 5.7 to 8.0 in the following Jenkins jobs:build-selected-docker-imagesbuild-core-imagesmulti-purpose-commerce-toolbuild-mysqlcommerce-test-and-deploycommerce-branch-validation
CLOUD-3531: Added support to build and run MySQL 8.4 container images. Using MySQL 8.4 containers requires Self-Managed Commerce release 8.4.x or higher and Elastic Path Docker release 4.8.x or higher. An option to select MySQL 8.4 has been added tomysqlVersionparameter in the following jobs:build-selected-docker-imagesbuild-core-imagesmulti-purpose-commerce-toolbuild-mysqlcommerce-test-and-deploycommerce-branch-validation
CLOUD-3387: Replaced the EFS Provisioner deployment with the AWS Elastic File System (EFS) Container Storage Interface (CSI) Driver add-on for Elastic Kubernetes Service. The operational behaviour when dynamically provisioning EFS volumes is unchanged.CLOUD-3401: Added theMAXIMUM_CONNECTIONSvariable to the ActiveMQ resource profiles. This variable allows specifying the maximum simultaneous incoming connections accepted by ActiveMQ. See Configure ActiveMQ Container for more information.- If you previously customized the ActiveMQ maximum connection count then update your implementation to use this resource profile approach.
CLOUD-3450: Added theEP_CONTAINER_MEM_ACTIVEMQvariable to the ActiveMQ resource profiles. This variable allows you to specify the ActiveMQ JVM's heap size. Both the initial heap size and maximum heap size are set to this value. See Configure ActiveMQ Container for more information.- If you previously customized the ActiveMQ heap size then update your implementation to use this resource profile approach.
CLOUD-3403: Updated the MySQL configurations to use the newer JDBC driver classnamecom.mysql.cj.jdbc.Driverinstead of the deprecatedcom.mysql.jdbc.Driver. The JDBC driver change will take effect for newly configured databases and Commerce application stacks, and when the configurations of existing databases are updated using the Jenkins jobs and Commerce applications are restarted. Also updated the JDBC configuration defined by jobcreate-and-manage-database-serverto use TLSv1.3 instead of TLSv1.2 when creating or configuring Aurora MySQL 8.0 (Aurora version 3) clusters.CLOUD-3406: Added Resource Profiles to thecreate-or-delete-activemq-containerJenkins job. The ActiveMQ Resource Profile allows specifying additional Java Virtual Machine (JVM) parameters with theEP_ACTIVEMQ_X_JVM_ARGSvariable. See Configure ActiveMQ Container for more information.CLOUD-3407: Updated validation code to allow IPv6 addresses when defining "allowed CIDRs" in thecreate-or-delete-activemq-container,deploy-or-delete-commerce-stack,create-additional-kubernetes-cluster, andmulti-purpose-commerce-toolJenkins jobs.CLOUD-3416: Added variables todocker-compose.ymlfor configuring HAProxy connection timeout values. If these variables are not defined indocker-compose.override.yml, the default values shipped with HAProxy will be used.CLOUD-3418: Updated the Jenkins version from2.497-jdk17to2.504-jdk21. There are no plugin or configuration changes included in this update.CLOUD-3427: Updated the Jenkins configuration to install the latest version of all plugins.CLOUD-3439: Improved the clean-up of EKS add-ons to programatically discover add-ons and to better handle error messages.CLOUD-3448: Updated the Maven command in Jenkins jobrun-cortex-system-teststo excludesetup-local-integration-test, for compatibility with the newest Self-Managed Commerce releases.CLOUD-3449: Added a variable todocker-compose.ymlfor disabling version 1 of the AWS Instance Metadata Service on the EKS nodes. The default value fordisable_imds_v1isfalse, which keeps the behaviour consistent with previous versions of CloudOps for Kubernetes. Settingdisable_imds_v1totruewould leave Instance Metadata Service version 2 enabled, which requires the use of a temporary token when accessing the metadata service. Out of the box functionality is compatible with both version 1 and version 2.CLOUD-3459: Added thegeneric-webhook-triggerplugin to the default Jenkins deployment. This plugin enables a highly-compatible method for triggering Jenkins builds remotely.CLOUD-3469: Added-Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=10000toMAVEN_OPTSin thebuild-deployment-package,run-cortex-system-tests,run-recursive-commerce-tests, andrun-select-commerce-testsJenkins jobs. These timeout values should cause Maven HTTP transactions that become unresponsive to fail quickly rather than only failing when the Jenkins job timeout is reached.CLOUD-3455: Added thestopServicesDuringDataPopparameter to therun-data-pop-toolJenkins job. Setting this parameter totruewill stop all Elastic Path Commerce application services before running the Data Population database operations. Selecting this option will cause an application outage.CLOUD-3539: Increased the cortex endpoint payload ceiling from about 14KB to 40KB when using the provided optional ModSecurity WAF. With this change, requests exceeding 40KB will be blocked. The change also disables body-inspection for payloads greater than 8KB, to reduce false positives on complex JSON structures. The change introduces a newcustom-rules.conffile where client-specific and environment-specific ModSecurity rule customizations can be made without modifying core WAF configuration. This change has no effect on users who are not using ModSecurity WAF.CLOUD-3540: Fixed a bug in theupdate-wafJenkins job which, when disabling the WAF with thedeleteWAFparameter, introduced a breaking character in the configmap that caused new haproxy-ingress pods to fail to start.CLOUD-3553: Jenkins authorization strategy configuration is now sourced from an external file. Select the file usingTF_VAR_jenkins_authorization_configuration_file. This makes it easier to switch or customize authorization without modifying out-of-the-box files. The default isdefault-role-based-authorization.yaml. To use the legacy matrix approach, set it todefault-matrix-authorization.yaml. For more information, see Login Credentials.CLOUD-3572: Added options to enable and configure the AWS Elastic Kubernetes Service (EKS) CloudWatch Observability Add-On. With this add-on you can enable CloudWatch Container Insights, CloudWatch Application Signals or CloudWatch Logs. See CloudWatch Observability for more information.CLOUD-3579: Updated the Kubernetes version to 1.34. EKS version 1.32 standard support ends March 2026 (https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.md#kubernetes-release-calendar). Additional component version updates to support this change are as follows:- The kube-proxy add-on was updated to v1.34.1-eksbuild.2
- The kubectl version was updated to v1.34.0
- The coredns add-on was updated to v1.12.4-eksbuild.1
- The eksctl version was updated to v0.221.0
- The metrics server add-on was updated to v0.8.0-eksbuild.6
- The Helm 3 version was updated to v3.19.0
- The cert manager Helm chart was updated to v1.19.2
- The cilium Helm chart was updated to v1.18.5
- The cluster autoscaler version was updated to v1.34.2
- The Amazon Elastic Block Store (EBS) CSI driver Helm chart was updated to v2.54.1
- The Amazon Elastic File System (EFS) CSI driver add-on was updated to v2.2.0-eksbuild.1
- The fluentd version was updated to v1.19.1-debian-cloudwatch-amd64-1.0
- The overprovisioning pause version was updated to v1.34.1-eks-1-34-10
CLOUD-3591: Added a fast fail validation check that is required when setting up CloudOps for Kubernetes in an empty AWS account. The setup process better validates thatTF_VAR_rebuild_nodegroupsis set totrue, and will and exit quickly if it is not. This is required to ensure cilium properly propagates across all cluster nodes.CLOUD-3597: Added a new Maven pod template namedmaven-10gb-2core-1container, with 10Gb memory and 2 CPU cores, to support the new resource requirements forrun-selected-commerce-testsJenkins job with Self-Managed Commerce release 8.7.x.CLOUD-3605: Removed thecreatePostgresDatabaseResourcesparameter from thecreate-and-manage-database-serverJenkins job. The parameter is removed because it is no longer of value; the job itself creates the PostgreSQL database without needing to set that parameter, and thedata-pop-toolcreates the PostgreSQL schema.SUP-5050: Added a checksum annotation to the Jenkins Helm values file, which will trigger a Jenkins pod redeployment duringdocker-compose up --force-recreateif a variable value is changed. The checksum value is based on the Jenkins-specific variables defined indocker-compose.override.yml.
Bug Fixes
CLOUD-3499: Updated thebuild-activemqJenkins job to better support the internal testing of Elastic Path Docker project pre-release versions.CLOUD-3511: Updated several Jenkins jobs and related Groovy functions to properly pass and accept theepCommerceCredentialIDparameter, to ensure that child jobs use the Git credentials specified by the caller. This resolves an issue where image build jobs could fail to obtain theops-spec.jsonfile from theep-commerceproject and then incorrectly use the fall-back file. Also refined some Jenkins job parameter descriptions.CLOUD-3516: Reduced the compute resources used by Jenkins jobscommerce-branch-validation,commerce-test-and-deployandmulti-purpose-commerce-tool. These are orchestration jobs that do little work on their own, and primarily only invoke child jobs. We reduced their resource allocations from 4GB and 2 CPU cores each, to 1GB and 1 CPU core each.CLOUD-3519: Fixed an issue where theforce-cleanupbootstrap mode would fail if the EKS cluster did not exist or had previously been removed.CLOUD-3534: Aligned the ECR cross-account permissions policy with the current Identity and Access Management (IAM) version (2012-10-17). This is a best-practice update with no change in functionality.CLOUD-3573: Update the Dockerfiles for both themaven-agentimage and thebootstrapimage to use Rocky Linux 10.1 as the base image. Among other things, this updates the Python version from 3.9 to 3.11, to remain compatible with the boto3 Python library.CLOUD-3586: Fixed an issue where theforce-cleanupbootstrap mode was failing to remove theNodeGroupPolicyAWS IAM Policy.CLOUD-3592: Fixed an issue where EFS mount targets would be recreated by Terraform when unrelated cluster changes were made. This was fixed by sorting the output of an AWS CLI command so subnets are always returned in the same order.SUP-4974: Resolved an issue with thecommerce-branch-validationJenkins job where setting the build description failed when it is triggered by a custom pipeline.SUP-4999: Changed the ActiveMQ pod liveness and readiness probes to use a status query command rather than a TCP connection test. In addition to providing a more complete healthcheck, this eliminatesEOFExceptionlog messages caused by the previous TCP check.SUP-5067: Updated the build display name in Jenkins jobcommerce-branch-validationto use the pattern#<build-number> - <triggering user>. This fixes an issue where the job number wasn't displayed and scheduled builds showed the triggering user asnull. Scheduled builds now list the user asautomation, making it obvious when the job ran manually versus by schedule.SUP-5090: Added a ModSecurity Web Application Firewall rule resolving an intermittent JSON parsing issue with incoming Jenkins webhook events. This rule only applies to webhooks configured with thegeneric-webhook-triggerplugin.SUP-5823: Changed the container image build tool fromimgto Docker-in-Docker, to resolve runc-related errors building container images. As part of this change, thedocker-agentbase image is changed todocker:29.1.2-dind, and thepull-docker-imagesJenkins job is updated to usedockerinstead ofpodman.
Deprecations & Removals
CLOUD-3640: Remove the Kubernetes Dashboard from CloudOps for Kubernetes. The Kubernetes Dashboard project has been retired and archived, and is no longer being maintained. For more information, see the Kubernetes Dashboard project page.
Upgrade Instructions
For upgrade instructions, see Upgrading CloudOps for Kubernetes.
3.5.0
New Features
-
CLOUD-3204: Updated Jenkins version to version2.497. The new Jenkins version includes changes that required updates to nearly all Jenkins pipelines.warningYour custom pipelines may break with this change. Ensure that you review and update custom pipelines to be compatible with the new Jenkins version. Refer to Update to Version 3.5 for all of the information for completing the upgrade. Details about the Jenkins pipeline changes are available in Jenkins Upgrade in release 3.5.
-
CLOUD-3358: Updated the Kubernetes version to 1.32. For more information about the required timeline to complete the upgrade, see End of Standard Support for EKS 1.31. Additional component version updates to support this change are as follows:- The kube-proxy add-on was updated to v1.32.0-eksbuild.2
- The kubectl version was updated to v1.32.0
- The cordedns add-on was updated to v1.11.4-eksbuild.2
- The eksctl version was updated to v0.203.0
- The metrics server add-on was updated to v0.7.2-eksbuild.2
- The Helm 3 version was updated to v3.17.0
- The cert manager helm chart was updated to v1.15.5
- The cilium helm chart was updated to v1.17.0
- The cluster autoscaler version was updated to v1.32.0
- The EBS driver helm chart was updated to v2.39.3
- The fluentd version was updated to v1.18.0-debian-cloudwatch-amd64-1.2
- The Jenkins helm chart was updated to v5.7.26
- The Jenkins version was updated to v2.497-jdk17
- The kube-state-metrics version was updated to v2.15.0
- The Kubernetes dashboard version was updated to v7.10.4
- The overprovisioning pause version was updated to v1.32.1-eks-1-32-5
- The overprovisioning autoscaler was updated to v1.9.0
-
SUP-4522: Added a newTF_VAR_jenkins_overwrite_configvariable todocker-compose.yml, which allows you to control whether the base Jenkins configuration is reset to the shipped defaults on each pod start. Setting this variable totruewill overwrite custom configurations made through the Jenkins UI. By default, this variable is set tofalse. -
CLOUD-3296: Added timestamps to Maven build output. Updated the configuration of Maven-related Jenkins jobs so that log output generated by Maven will now include timestamps. -
CLOUD-3293: Added a newTF_VAR_enable_new_relic_k8s_datavariable todocker-compose.yml, which allows operators to configure the New Relic agent to stop sending Kubernetes metrics data to New Relic, if desired. By default, this variable is set tofalse, keeping the behaviour consistent with previous CloudOps for Kubernetes releases. -
SUP-4694: Updated thebuild-data-popJenkins job to support usingamazonlinux-javaas the base image. This feature requires version 4.4.7 or later of the Elastic Path Docker project. -
CLOUD-3381: Updated the Dockerfile used duringdocker-compose upto pin the Alpine and Ubuntu Linux versions. The Ubuntu version has been updated to the latest Long-Term Support release. -
CLOUD-3362: Replaced the Terraformmetrics-serverdeployment with an EKS add-on deployment ofmetrics-serverdefined in theeksctl.yaml.mo-templatefile. -
CLOUD-3380: DisabledAuto minor version upgradein Amazon Relational Database Service (RDS) for thepostgres-rdsdatabase type, to match the setting used for MySQL database types. This change will only apply when thecreate-and-manage-database-serverJenkins job is run to update an existing database, or to deploy a new database. -
CLOUD-3377: Updated thecreate-and-managed-database-serverJenkins job to set the PostgreSQL RDS recommended version to14.15. This change only applies ifdatabaseTypeis set topostgres-rdsanduseRecommendedVersionis set totrue. -
CLOUD-3366: Added three new Jenkins users with varything levels of permissions. These new users provide an option for running jobs without using the Jenkins admin user. See Login Credentials for more information.
Bug Fixes
SUP-4747: Resolved an issue that prevented the New Relic pods from collecting and sending metrics whenTF_VAR_enable_new_relic_k8s_datais set tofalseindocker-compose.override.yml.SUP-4815: Updated the ModSecurity Web Application Firewall (WAF) configuration to disable rules that in rare circumstances may block Self Managed Commerce connections.CLOUD-3107: Updated thedocker-compose upprocess to better handle any existing unmanaged DNS zones. Terraform will continue to manage existing DNS zones and provision new managed zones, keeping the behaviour consistent with previous CloudOps for Kubernetes releases.CLOUD-3329: Updated code to improve the reliability of resource cleanup when runningdocker-compose upwithTF_VAR_bootstrap_modeset toforce-cleanupindocker-compose.override.yml.CLOUD-3339: Updatedcert-managerTerraform code to allow complete removal of resources when runningdocker-compose upwithTF_VAR_bootstrap_modeset to eithercleanuporforce-cleanupindocker-compose.override.yml.CLOUD-3356: Revised code that is executed whenTF_VAR_bootstrap_modeis set toforce-cleanup, ensuring that Elastic Block Store volumes for deleted resources are reliably removed.CLOUD-3364: Improved the reliability of code used to check for existing Route53 domains, and moved this check to the beginning of thedocker-compose upprocess.CLOUD-3365: Added Kubernetes liveness and readiness probes to the New Relic agent deployment to better detect when the New Relic agent is unhealthy.CLOUD-3382: Corrected a parameter validation issue in themulti-purpose-commerce-toolJenkins pipeline that caused the warning message"unless deleteOldStack or deleteNewStack are specified, deleteDatabase and deleteActiveMQ do nothing"to be printed in the console when the related parameters were correctly specified.CLOUD-3386: Revised code used to parse theops-spec.jsonfile to correctly handle conditions where the source repository cannot be read. The parsing process will now fail with a descriptive message when an error condition occurs.SUP-4905: Updated the service account configuration used by recent versions of the Kubernetes Dashboard Helm chart. See Post Bootstrap Tasks for updated login instructions.
Upgrade Instructions
For upgrade instructions, see Upgrading CloudOps for Kubernetes.
3.4.0
New Features
CLOUD-2793: Updated the Amazon EKS Kubernetes version to 1.31. For more information on the changes, see End of Support for EKS 1.29.CLOUD-3062: Added the ability to identify the currently installed CloudOps for Kubernetes version as well as the version used to configure some AWS resources. For more information, see Identifying your CloudOps Version.CLOUD-3006: Updated the Kubernetes cluster nodes to Amazon Linux 2023. By default, when rebuilding the cluster node groups, the latest Amazon Linux 2023 EKS Amazon Machine Image (AMI) will be used by the new cluster members.CLOUD-3131: Added a page to the documentation describing how to update CloudOps for Kubernetes container images. See Update CloudOps for Kubernetes Container Images.SUP-3891: Added support for Commerce application-specific Java Virtual Machine (JVM) arguments. With this change you can now specify additional JVM arguments for the Commerce applications. To enable this you must also consume, and build your application container images with, a release of the Elastic Path Docker project that contains the correspondingSUP-3891changes.- For more information about specifying JVM arguments, see Configure Application Containers.
- For more information about rebuilding the container images, see Update CloudOps for Kubernetes Container Images.
CLOUD-3205: Updated the Maven memory values used in the following Commerce build jobs:build-deployment-package,run-cortex-system-testsandrun-select-commerce-tests. The JVM maximum heap size was increased from2048mto the recommended4000m, and native memory requests for the maven containers was increased from5632Mito8Gi.CLOUD-3210: Exposed parameters in thedocker-compose.ymlfile that can be used to change the Jenkins administrator password. For more information on changing the Jenkins administrator password, see Login Credentials.CLOUD-3238: Updated the default EC2 instance type fromc5.2xlargetoc6a.2xlarge. Amazon's on-demand pricing forc6a.2xlargeinstances is less than the on-demand pricing forc5.2xlargeinstances. Self Managed Commerce build times and Self Managed Commerce application performance are both improved with thec6a.2xlargeinstances as compared toc5.2xlargeinstances. For information about changing the cluster instance type, see Update EKS Node Groups.CLOUD-3246: Added permissions to theNodeGroupPolicyso that authorized users can access the EKS cluster members using AWS Session Manager. For information about using Session Manager, see Access and Tools.
Bug Fixes
CLOUD-2949: Updated the Maven Jenkins agent Dockerfile to resolve intermittent failures in thephantomjsdownload step.SUP-3907: Updated the ModSecurity Web Application Firewall rules to resolve an issue where special characters in password and cookie header fields are blocked.CLOUD-3237: Specified a missing Terraform dependency related tocert-managerconfiguration, to improve the reliability of the CloudOps for Kubernetes setup process.SUP-4272: Added back the version line to thedocker-compose.ymlfile to maintain backwards compatibility with older versions of Docker.CLOUD-3269: Removed a line from the nexus.xml template file that had no current function but caused additional and unnecessary output in the Nexus log. The change will take effect on newly-deployed Nexus services.
Deprecations & Removals
CLOUD-3240: Support for Cilium is deprecated and will be removed in a future CloudOps for Kubernetes release.CLOUD-2817: Obsolete upgrade tools were removed. These tools were previously used when upgrading older CloudOps for Kubernetes releases and are no longer needed.
See Deprecations and Removals.
Upgrade Instructions
For upgrade instructions, see Upgrading CloudOps for Kubernetes.