diff --git a/modules/cloud_service_providers/aws_cloud/aws_cloud.module b/modules/cloud_service_providers/aws_cloud/aws_cloud.module
index 870548fd..5735681d 100644
--- a/modules/cloud_service_providers/aws_cloud/aws_cloud.module
+++ b/modules/cloud_service_providers/aws_cloud/aws_cloud.module
@@ -3445,11 +3445,13 @@ function aws_cloud_get_schedule() {
  *
  * @param string $cloud_context
  *   The cloud context used to get instance types.
+ * @param bool $refresh
+ *   TRUE to refresh the data.
  *
  * @return array
  *   An array of instances.
  */
-function aws_cloud_get_instance_types($cloud_context) {
+function aws_cloud_get_instance_types($cloud_context, $refresh = TRUE) {
   $instance_types = [];
 
   try {
@@ -3459,7 +3461,8 @@ function aws_cloud_get_instance_types($cloud_context) {
 
     if (!empty($cloud_config)) {
       $instance_types = aws_cloud_get_instance_types_by_region(
-        $cloud_config->get('field_region')->value
+        $cloud_config->get('field_region')->value,
+        $refresh
       );
     }
     else {
@@ -3481,22 +3484,24 @@ function aws_cloud_get_instance_types($cloud_context) {
  *
  * @param string $region
  *   The region used to get instance types.
+ * @param bool $refresh
+ *   TRUE to refresh the data.
  *
  * @return array
  *   An array of instances.
  */
-function aws_cloud_get_instance_types_by_region($region) {
+function aws_cloud_get_instance_types_by_region($region, $refresh = TRUE) {
   $instance_types = [];
   $cache_key = _aws_cloud_get_instance_type_cache_key_by_region($region);
   $cache = \Drupal::cache()->get($cache_key);
+  $cloud_config = _aws_cloud_get_cloud_context_by_region($region);
+
   if ($cache) {
     $instance_types = $cache->data;
   }
-  else {
-    $cloud_config = _aws_cloud_get_cloud_context_by_region($region);
-
+  elseif ($refresh === TRUE) {
     if ($cloud_config !== FALSE) {
-      aws_cloud_update_instance_types($cloud_config, TRUE);
+      $instance_types = aws_cloud_update_instance_types($cloud_config, TRUE);
       \Drupal::messenger()->addStatus(t('Updated Instance Type Prices.'));
     }
     else {
@@ -3512,6 +3517,16 @@ function aws_cloud_get_instance_types_by_region($region) {
     }
   }
 
+  if ($cloud_config !== FALSE && $refresh === FALSE && empty($instance_types)) {
+    $msg = t('Pricing data unavailable.  @link', [
+      '@link' => Link::fromTextAndUrl(
+        t('Click to refresh all pricing data.'),
+        Url::fromRoute('aws_cloud.instance_type_prices.list_update_all')
+      )->toString(),
+    ]);
+    \Drupal::messenger()->addWarning($msg);
+  }
+
   return $instance_types;
 }
 
diff --git a/modules/cloud_service_providers/aws_cloud/aws_cloud.routing.yml b/modules/cloud_service_providers/aws_cloud/aws_cloud.routing.yml
index 4c3cca44..734d5bd1 100644
--- a/modules/cloud_service_providers/aws_cloud/aws_cloud.routing.yml
+++ b/modules/cloud_service_providers/aws_cloud/aws_cloud.routing.yml
@@ -259,6 +259,13 @@ aws_cloud.instance_type_prices.list_update:
   options:
     perm: 'view aws cloud instance type prices'
 
+aws_cloud.instance_type_prices.list_update_all:
+  path: '/clouds/aws_cloud/instance_type_price/update_all'
+  defaults:
+    _controller: '\Drupal\aws_cloud\Controller\Ec2\InstanceTypePriceController::updateAll'
+  requirements:
+    _permission: 'view all cloud service providers,view aws cloud instance type prices'
+
 # AWS Cloud Instances Routes.
 entity.aws_cloud_instance.stop_form:
   path: '/clouds/aws_cloud/{cloud_context}/instance/{aws_cloud_instance}/stop'
diff --git a/modules/cloud_service_providers/aws_cloud/src/Controller/Ec2/InstanceTypePriceController.php b/modules/cloud_service_providers/aws_cloud/src/Controller/Ec2/InstanceTypePriceController.php
index 9ae92451..29388e05 100644
--- a/modules/cloud_service_providers/aws_cloud/src/Controller/Ec2/InstanceTypePriceController.php
+++ b/modules/cloud_service_providers/aws_cloud/src/Controller/Ec2/InstanceTypePriceController.php
@@ -71,6 +71,23 @@ class InstanceTypePriceController extends ControllerBase implements InstanceType
     return $build;
   }
 
+  /**
+   * {@inheritdoc}
+   */
+  public function updateAll() {
+    $entities = $this->cloudConfigPluginManager->loadConfigEntities('aws_cloud');
+    $this->messenger()->deleteAll();
+    foreach ($entities ?: [] as $entity) {
+      // Update any instance types if needed.
+      aws_cloud_update_instance_types($entity);
+      $this->messenger()->addStatus($this->t('Updated instance type prices for @name', [
+        '@name' => $entity->getName(),
+      ]));
+    }
+    $this->routeBuilder->rebuild();
+    return $this->redirect('<front>');
+  }
+
   /**
    * {@inheritdoc}
    */
diff --git a/modules/cloud_service_providers/aws_cloud/src/Controller/Ec2/InstanceTypePriceControllerInterface.php b/modules/cloud_service_providers/aws_cloud/src/Controller/Ec2/InstanceTypePriceControllerInterface.php
index 08113b3b..5823ba3b 100644
--- a/modules/cloud_service_providers/aws_cloud/src/Controller/Ec2/InstanceTypePriceControllerInterface.php
+++ b/modules/cloud_service_providers/aws_cloud/src/Controller/Ec2/InstanceTypePriceControllerInterface.php
@@ -29,4 +29,12 @@ interface InstanceTypePriceControllerInterface {
    */
   public function update($cloud_context);
 
+  /**
+   * Update all instance type price lists.
+   *
+   * @return \Symfony\Component\HttpFoundation\RedirectResponse
+   *   A redirect response object that may be returned by the controller.
+   */
+  public function updateAll();
+
 }
diff --git a/modules/cloud_service_providers/aws_cloud/src/Service/Pricing/InstanceTypePriceDataProvider.php b/modules/cloud_service_providers/aws_cloud/src/Service/Pricing/InstanceTypePriceDataProvider.php
index c7af214a..94f7cb1a 100644
--- a/modules/cloud_service_providers/aws_cloud/src/Service/Pricing/InstanceTypePriceDataProvider.php
+++ b/modules/cloud_service_providers/aws_cloud/src/Service/Pricing/InstanceTypePriceDataProvider.php
@@ -104,6 +104,8 @@ class InstanceTypePriceDataProvider extends CloudServiceBase {
    *   The sort.
    * @param string $order_field
    *   The order field.
+   * @param bool $refresh
+   *   TRUE to refresh the data.
    *
    * @return array
    *   The pricing data.
@@ -112,9 +114,10 @@ class InstanceTypePriceDataProvider extends CloudServiceBase {
     $cloud_context,
     $instance_type = NULL,
     $sort = NULL,
-    $order_field = NULL
+    $order_field = NULL,
+    $refresh = TRUE
   ) {
-    $instance_types = aws_cloud_get_instance_types($cloud_context);
+    $instance_types = aws_cloud_get_instance_types($cloud_context, $refresh);
     return $this->getInstanceTypePriceData($instance_types, $instance_type, $sort, $order_field);
   }
 
@@ -129,6 +132,8 @@ class InstanceTypePriceDataProvider extends CloudServiceBase {
    *   The sort condition.
    * @param string $order_field
    *   The order field.
+   * @param bool $refresh
+   *   TRUE to refresh the data.
    *
    * @return array
    *   The pricing data.
@@ -137,9 +142,10 @@ class InstanceTypePriceDataProvider extends CloudServiceBase {
     $region,
     $instance_type = NULL,
     $sort = NULL,
-    $order_field = NULL
+    $order_field = NULL,
+    $refresh = TRUE
   ) {
-    $instance_types = aws_cloud_get_instance_types_by_region($region);
+    $instance_types = aws_cloud_get_instance_types_by_region($region, $refresh);
     return $this->getInstanceTypePriceData($instance_types, $instance_type, $sort, $order_field);
   }
 
diff --git a/modules/cloud_service_providers/k8s/config/install/k8s.settings.yml b/modules/cloud_service_providers/k8s/config/install/k8s.settings.yml
index cd891f03..70c68148 100644
--- a/modules/cloud_service_providers/k8s/config/install/k8s.settings.yml
+++ b/modules/cloud_service_providers/k8s/config/install/k8s.settings.yml
@@ -6,3 +6,4 @@ k8s_keep_resource_storage_time_range: 2
 k8s_yaml_file_extensions: 'yaml yml'
 k8s_view_items_per_page: 50
 k8s_view_expose_items_per_page: true
+k8s_update_pricing_data_cache: false
diff --git a/modules/cloud_service_providers/k8s/config/schema/k8s.settings.schema.yml b/modules/cloud_service_providers/k8s/config/schema/k8s.settings.schema.yml
index 142de986..c4a95e10 100644
--- a/modules/cloud_service_providers/k8s/config/schema/k8s.settings.schema.yml
+++ b/modules/cloud_service_providers/k8s/config/schema/k8s.settings.schema.yml
@@ -23,3 +23,5 @@ k8s.settings:
       type: integer
     k8s_view_expose_items_per_page:
       type: boolean
+    k8s_update_pricing_data_cache:
+      type: boolean
diff --git a/modules/cloud_service_providers/k8s/k8s.install b/modules/cloud_service_providers/k8s/k8s.install
index 4292b312..772d147c 100644
--- a/modules/cloud_service_providers/k8s/k8s.install
+++ b/modules/cloud_service_providers/k8s/k8s.install
@@ -2123,6 +2123,16 @@ function k8s_update_8291() {
   \Drupal::service('cloud')->updateYmlDefinitions($files, 'k8s');
 }
 
+/**
+ * Set default value for k8s_update_pricing_data_cache.
+ */
+function k8s_update_8292() {
+  $config_factory = \Drupal::configFactory();
+  $config = $config_factory->getEditable('k8s.settings');
+  $config->set('k8s_update_pricing_data_cache', FALSE);
+  $config->save();
+}
+
 /**
  * Implements hook_update_dependencies().
  */
diff --git a/modules/cloud_service_providers/k8s/src/Controller/K8sNamespaceCostsChartController.php b/modules/cloud_service_providers/k8s/src/Controller/K8sNamespaceCostsChartController.php
index a709d2a8..a9c7af03 100644
--- a/modules/cloud_service_providers/k8s/src/Controller/K8sNamespaceCostsChartController.php
+++ b/modules/cloud_service_providers/k8s/src/Controller/K8sNamespaceCostsChartController.php
@@ -2,7 +2,9 @@
 
 namespace Drupal\k8s\Controller;
 
+use Drupal\cloud\Traits\CloudContentEntityTrait;
 use Drupal\Component\Serialization\Yaml;
+use Drupal\Core\Config\ConfigFactoryInterface;
 use Drupal\Core\Url;
 use Drupal\Core\Access\AccessResult;
 use Drupal\Core\Controller\ControllerBase;
@@ -21,6 +23,8 @@ use Symfony\Component\Routing\Route;
  */
 class K8sNamespaceCostsChartController extends ControllerBase {
 
+  use CloudContentEntityTrait;
+
   /**
    * The route provider.
    *
@@ -42,6 +46,13 @@ class K8sNamespaceCostsChartController extends ControllerBase {
    */
   protected $database;
 
+  /**
+   * Flag whether to refresh pricing data during block rendering.
+   *
+   * @var bool
+   */
+  protected $refresh = FALSE;
+
   /**
    * CloudConfigLocationController constructor.
    *
@@ -51,11 +62,19 @@ class K8sNamespaceCostsChartController extends ControllerBase {
    *   Request.
    * @param \Drupal\Core\Database\Connection $database
    *   The database service.
+   * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
+   *   The factory for configuration objects.
    */
-  public function __construct(RouteProviderInterface $route_provider, Request $request, Connection $database) {
+  public function __construct(RouteProviderInterface $route_provider, Request $request, Connection $database, ConfigFactoryInterface $config_factory) {
     $this->routeProvider = $route_provider;
     $this->request = $request;
     $this->database = $database;
+    $this->configFactory = $config_factory;
+
+    // Set the refresh flag.
+    $this->refresh = $this->configFactory
+      ->get('k8s.settings')
+      ->get('k8s_update_pricing_data_cache');
   }
 
   /**
@@ -71,7 +90,8 @@ class K8sNamespaceCostsChartController extends ControllerBase {
     return new static(
       $container->get('router.route_provider'),
       $container->get('request_stack')->getCurrentRequest(),
-      $container->get('database')
+      $container->get('database'),
+      $container->get('config.factory')
     );
   }
 
@@ -108,21 +128,8 @@ class K8sNamespaceCostsChartController extends ControllerBase {
    *   A JSON response of a K8s Namespace Costs.
    */
   public function getAllK8sNamespaceCosts() {
-    $node_ids = $this->entityTypeManager()
-      ->getStorage('k8s_node')
-      ->getQuery()
-      ->execute();
-    $nodes = $this->entityTypeManager()
-      ->getStorage('k8s_node')->loadMultiple($node_ids);
-
-    $namespace_ids = $this->entityTypeManager()
-      ->getStorage('k8s_namespace')
-      ->getQuery()
-      ->execute();
-
-    $namespaces = $this->entityTypeManager()
-      ->getStorage('k8s_namespace')->loadMultiple($namespace_ids);
-
+    $nodes = $this->getEntitiesByType('k8s_node');
+    $namespaces = $this->getEntitiesByType('k8s_namespace');
     return $this->calculateNamespaceCosts($namespaces, $nodes);
   }
 
@@ -156,24 +163,34 @@ class K8sNamespaceCostsChartController extends ControllerBase {
 
     // If cloud_context is passed, filter entities with it.
     if (!empty($cloud_contexts)) {
-      foreach ($cloud_contexts ?: [] as $cloud_context) {
-        $nodes = array_merge($nodes, $this->entityTypeManager()
-          ->getStorage('k8s_node')->loadByProperties(
-          [
-            'cloud_context' => $cloud_context,
-          ]
-        ));
-
-        $namespaces = array_merge($namespaces, isset($k8s_namespace)
-          ? $this->entityTypeManager()->getStorage('k8s_namespace')
-            ->loadByProperties([
-              'id' => $k8s_namespace->id(),
-            ])
-          : $this->entityTypeManager()->getStorage('k8s_namespace')
-            ->loadByProperties([
-              'cloud_context' => $cloud_context,
-            ]));
+      $k8s_nodes = [];
+      $k8s_namespaces = [];
+      try {
+        foreach ($cloud_contexts ?: [] as $cloud_context) {
+          $k8s_nodes = $this->entityTypeManager()
+            ->getStorage('k8s_node')->loadByProperties(
+              [
+                'cloud_context' => $cloud_context,
+              ]
+            );
+
+          $k8s_namespaces = isset($k8s_namespace)
+            ? $this->entityTypeManager()->getStorage('k8s_namespace')
+              ->loadByProperties([
+                'id' => $k8s_namespace->id(),
+              ])
+            : $this->entityTypeManager()->getStorage('k8s_namespace')
+              ->loadByProperties([
+                'cloud_context' => $cloud_context,
+              ]);
+        }
+      }
+      catch (\Exception $e) {
+        $this->handleException($e);
       }
+      // Merging the arrays outside the for loop for performance.
+      $nodes = array_merge($k8s_nodes);
+      $namespaces = array_merge($k8s_namespaces);
     }
     return !empty($cloud_project)
       ? $this->calculateNamespaceCosts($namespaces, $nodes)
@@ -220,39 +237,43 @@ class K8sNamespaceCostsChartController extends ControllerBase {
 
     $pod_metrics = $this->getAllPodsMetrics($cloud_context, $period);
 
-    $response = [];
-    foreach ($namespaces ?: [] as $namespace) {
-      $pods = $this->entityTypeManager
-        ->getStorage('k8s_pod')->loadByProperties(
-          [
-            'cloud_context' => $namespace->getCloudContext(),
-            'namespace' => $namespace->getName(),
-          ]
-        );
-      $data = [
-        'namespace' => !empty($cloud_context) ? $namespace->getName() : $namespace->getCloudContext() . ':' . $namespace->getName(),
-      ];
-      foreach ($pod_metrics ?: [] as $time => $pod_datas) {
-        $cpu_usage = (float) 0;
-        $memory_usage = (float) 0;
-        $pod_usage = count($pods);
-        foreach ($pods ?: [] as $pod) {
-          $key = $namespace->getName() . ':' . $pod->getName();
-          if (isset($pod_datas[$key])) {
-            $pod_data = $pod_datas[$key];
-            $cpu_usage += $pod_data['cpu'];
-            $memory_usage += $pod_data['memory'];
+    try {
+      $response = [];
+      foreach ($namespaces ?: [] as $namespace) {
+        $pods = $this->entityTypeManager
+          ->getStorage('k8s_pod')->loadByProperties(
+            [
+              'cloud_context' => $namespace->getCloudContext(),
+              'namespace' => $namespace->getName(),
+            ]
+          );
+        $data = [
+          'namespace' => !empty($cloud_context) ? $namespace->getName() : $namespace->getCloudContext() . ':' . $namespace->getName(),
+        ];
+        foreach ($pod_metrics ?: [] as $time => $pod_datas) {
+          $cpu_usage = (float) 0;
+          $memory_usage = (float) 0;
+          $pod_usage = count($pods);
+          foreach ($pods ?: [] as $pod) {
+            $key = $namespace->getName() . ':' . $pod->getName();
+            if (isset($pod_datas[$key])) {
+              $pod_data = $pod_datas[$key];
+              $cpu_usage += $pod_data['cpu'];
+              $memory_usage += $pod_data['memory'];
+            }
           }
+          $costs = ($cpu_usage / $cpu_capacity + $memory_usage / $memory_capacity + $pod_usage / $pod_capacity) / 3 * $total_costs;
+          $data['costs'][] = [
+            'timestamp' => $time,
+            'cost' => $costs,
+          ];
         }
-        $costs = ($cpu_usage / $cpu_capacity + $memory_usage / $memory_capacity + $pod_usage / $pod_capacity) / 3 * $total_costs;
-        $data['costs'][] = [
-          'timestamp' => $time,
-          'cost' => $costs,
-        ];
+        $response[] = $data;
       }
-      $response[] = $data;
     }
-
+    catch (\Exception $e) {
+      $this->handleException($e);
+    }
     return new JsonResponse($response);
   }
 
@@ -267,13 +288,14 @@ class K8sNamespaceCostsChartController extends ControllerBase {
    * @return int
    *   The total costs of nodes.
    */
-  private function getTotalNodesCosts(array $nodes, $cost_type = '') {
+  private function getTotalNodesCosts(array $nodes, $cost_type = '') : int {
     $costs = 0;
 
     if (!$this->moduleHandler()->moduleExists('aws_cloud')) {
       return $costs;
     }
 
+    /* @var \Drupal\aws_cloud\Service\Pricing\InstanceTypePriceDataProvider $price_date_provider */
     $price_date_provider = \Drupal::service('aws_cloud.instance_type_price_data_provider');
 
     foreach ($nodes ?: [] as $node) {
@@ -293,7 +315,7 @@ class K8sNamespaceCostsChartController extends ControllerBase {
         continue;
       }
 
-      $price_data = $price_date_provider->getDataByRegion($region);
+      $price_data = $price_date_provider->getDataByRegion($region, NULL, NULL, NULL, $this->refresh);
       foreach ($price_data ?: [] as $item) {
         if ($item['instance_type'] === $instance_type) {
           if (!empty($item[$cost_type])) {
@@ -336,7 +358,7 @@ class K8sNamespaceCostsChartController extends ControllerBase {
    * @return array
    *   The pod metrics array.
    */
-  private function getAllPodsMetrics($cloud_context = NULL, $period = 14) {
+  private function getAllPodsMetrics($cloud_context = NULL, $period = 14) : array {
     $query = $this->database
       ->select('watchdog', 'w')
       ->fields('w', ['message', 'timestamp'])
@@ -470,4 +492,30 @@ class K8sNamespaceCostsChartController extends ControllerBase {
     }
   }
 
+  /**
+   * Helper method to load entities by entity type.
+   *
+   * @param string $entity_type
+   *   Entity type to load.
+   *
+   * @return array
+   *   Loaded entities array.
+   */
+  private function getEntitiesByType($entity_type) : array {
+    $entities = [];
+    try {
+      $ids = $this->entityTypeManager()
+        ->getStorage($entity_type)
+        ->getQuery()
+        ->execute();
+
+      $entities = $this->entityTypeManager()
+        ->getStorage($entity_type)->loadMultiple($ids);
+    }
+    catch (\Exception $e) {
+      $this->handleException($e);
+    }
+    return $entities;
+  }
+
 }
diff --git a/modules/cloud_service_providers/k8s/src/Form/Config/K8sAdminSettings.php b/modules/cloud_service_providers/k8s/src/Form/Config/K8sAdminSettings.php
index 92b0e481..4511252b 100644
--- a/modules/cloud_service_providers/k8s/src/Form/Config/K8sAdminSettings.php
+++ b/modules/cloud_service_providers/k8s/src/Form/Config/K8sAdminSettings.php
@@ -188,6 +188,13 @@ class K8sAdminSettings extends ConfigFormBase {
       '#required' => TRUE,
     ];
 
+    $form['k8s_update_pricing_data_cache'] = [
+      '#type' => 'checkbox',
+      '#title' => $this->t('Allow pricing data to be updated during rendering of K8s Blocks.'),
+      '#description' => $this->t('This allows the pricing data to be updated if not found in cache. Turning this on could result in performance issues if there are many regions to update.'),
+      '#default_value' => $config->get('k8s_update_pricing_data_cache'),
+    ];
+
     return parent::buildForm($form, $form_state);
   }
 
diff --git a/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sBaseBlock.php b/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sBaseBlock.php
index c4995350..b7683870 100644
--- a/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sBaseBlock.php
+++ b/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sBaseBlock.php
@@ -139,6 +139,13 @@ abstract class K8sBaseBlock extends BlockBase implements ContainerFactoryPluginI
    */
   protected $pagerManager;
 
+  /**
+   * Flag whether to refresh pricing data during block rendering.
+   *
+   * @var bool
+   */
+  protected $refresh = FALSE;
+
   /**
    * Constructs a new K8sNodeHeatmapBlock instance.
    *
@@ -219,6 +226,11 @@ abstract class K8sBaseBlock extends BlockBase implements ContainerFactoryPluginI
     $this->k8sService = $k8s_service;
     $this->request = $request_stack->getCurrentRequest();
     $this->pagerManager = $pager_manager;
+
+    // Set the refresh flag.
+    $this->refresh = $this->configFactory
+      ->get('k8s.settings')
+      ->get('k8s_update_pricing_data_cache');
   }
 
   /**
diff --git a/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sNamespaceCostsBlock.php b/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sNamespaceCostsBlock.php
index 9c869d73..780d8068 100644
--- a/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sNamespaceCostsBlock.php
+++ b/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sNamespaceCostsBlock.php
@@ -106,21 +106,26 @@ class K8sNamespaceCostsBlock extends K8sBaseBlock {
 
     // If cloud_context is passed, filter entities with it.
     if (!empty($cloud_contexts)) {
+      $k8s_nodes = [];
+      $k8s_namespaces = [];
       foreach ($cloud_contexts ?: [] as $cloud_context) {
-        $nodes = array_merge($nodes, $this->entityTypeManager
+        $k8s_nodes = $this->entityTypeManager
           ->getStorage('k8s_node')->loadByProperties(
             [
               'cloud_context' => $cloud_context,
             ]
-          ));
-
-        $namespaces = array_merge($namespaces, $this->entityTypeManager
+          );
+        $k8s_namespaces = $this->entityTypeManager
           ->getStorage('k8s_namespace')->loadByProperties(
             [
               'cloud_context' => $cloud_context,
             ]
-          ));
+          );
       }
+      // Merge the arrays outside of the for loop.
+      // Merging an array inside a for loop is memory intensive.
+      $namespaces = array_merge($k8s_namespaces);
+      $nodes = array_merge($k8s_nodes);
 
       // If nodes or namespaces are empty, ask the user
       // to try updating the cloud_context to bring in
@@ -148,7 +153,7 @@ class K8sNamespaceCostsBlock extends K8sBaseBlock {
 
     $build = [];
 
-    $total_costs = $this->k8sService->getTotalCosts($nodes);
+    $total_costs = $this->k8sService->getTotalCosts($nodes, $this->configuration['aws_cloud_ec2_cost_type'], $this->refresh);
 
     // $cpu_capacity = $this->getCpuCapacity($nodes);
     $cpu_capacity = array_sum(array_map(static function ($node) {
diff --git a/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sNodeCostsBlock.php b/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sNodeCostsBlock.php
index 92c3df80..c54fe36b 100644
--- a/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sNodeCostsBlock.php
+++ b/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sNodeCostsBlock.php
@@ -113,7 +113,11 @@ class K8sNodeCostsBlock extends K8sBaseBlock {
       ],
     ];
 
-    $build['k8s_node_costs'] = $this->costFieldsRenderer->render($region, $instance_types);
+    $cost = $this->costFieldsRenderer->render($region, $instance_types, $this->refresh);
+    $build['k8s_node_costs'] = !empty($cost) ? $cost : [
+      '#type' => 'markup',
+      '#markup' => $this->t('No pricing data available. Please check back later.'),
+    ];
 
     $this->cloudService->reorderForm($build, $fieldset_defs);
 
diff --git a/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sProjectCostsBlock.php b/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sProjectCostsBlock.php
index daf9558f..8cf48012 100644
--- a/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sProjectCostsBlock.php
+++ b/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sProjectCostsBlock.php
@@ -139,7 +139,7 @@ class K8sProjectCostsBlock extends K8sBaseBlock {
     $build = [];
 
     $cost_type = $this->configuration['aws_cloud_ec2_cost_type'];
-    $total_costs = $this->k8sService->getTotalCosts($nodes, $cost_type);
+    $total_costs = $this->k8sService->getTotalCosts($nodes, $cost_type, $this->refresh);
 
     $cpu_capacity = array_sum(array_map(static function ($node) {
       return $node->getCpuCapacity();
diff --git a/modules/cloud_service_providers/k8s/src/Service/CostFieldsRenderer.php b/modules/cloud_service_providers/k8s/src/Service/CostFieldsRenderer.php
index 3f06fa52..f5461496 100644
--- a/modules/cloud_service_providers/k8s/src/Service/CostFieldsRenderer.php
+++ b/modules/cloud_service_providers/k8s/src/Service/CostFieldsRenderer.php
@@ -32,7 +32,8 @@ class CostFieldsRenderer implements CostFieldsRendererInterface {
    */
   public function render(
     $region,
-    array $instance_types
+    array $instance_types,
+    $refresh = TRUE
   ) {
     $build = [];
 
@@ -44,7 +45,7 @@ class CostFieldsRenderer implements CostFieldsRendererInterface {
 
     $price_date_provider = \Drupal::service('aws_cloud.instance_type_price_data_provider');
     $fields = $price_date_provider->getFields();
-    $price_data = $price_date_provider->getDataByRegion($region);
+    $price_data = $price_date_provider->getDataByRegion($region, NULL, NULL, NULL, $refresh);
     $price_info = [];
     foreach ($instance_types ?: [] as $instance_type) {
       foreach ($price_data ?: [] as $item) {
diff --git a/modules/cloud_service_providers/k8s/src/Service/CostFieldsRendererInterface.php b/modules/cloud_service_providers/k8s/src/Service/CostFieldsRendererInterface.php
index 908f4224..7011b05c 100644
--- a/modules/cloud_service_providers/k8s/src/Service/CostFieldsRendererInterface.php
+++ b/modules/cloud_service_providers/k8s/src/Service/CostFieldsRendererInterface.php
@@ -14,13 +14,16 @@ interface CostFieldsRendererInterface {
    *   The region.
    * @param array $instance_types
    *   The instance types.
+   * @param bool $refresh
+   *   TRUE to refresh the data.
    *
    * @return array
    *   The build array of cost fields.
    */
   public function render(
     $region,
-    array $instance_types
+    array $instance_types,
+    $refresh = TRUE
   );
 
 }
diff --git a/modules/cloud_service_providers/k8s/src/Service/K8sService.php b/modules/cloud_service_providers/k8s/src/Service/K8sService.php
index a86cc8ff..a8f02e98 100644
--- a/modules/cloud_service_providers/k8s/src/Service/K8sService.php
+++ b/modules/cloud_service_providers/k8s/src/Service/K8sService.php
@@ -2833,11 +2833,13 @@ class K8sService extends CloudServiceBase implements K8sServiceInterface {
    *   The k8s_node entities.
    * @param string $cost_type
    *   The cost type.
+   * @param bool $refresh
+   *   TRUE to refresh pricing data.
    *
    * @return int
    *   The total costs of nodes.
    */
-  public function getTotalCosts(array $nodes, $cost_type = 'on_demand_yearly') {
+  public function getTotalCosts(array $nodes, $cost_type = 'on_demand_yearly', $refresh = TRUE) {
     $costs = 0;
 
     if (!$this->moduleHandler->moduleExists('aws_cloud')) {
@@ -2868,7 +2870,7 @@ class K8sService extends CloudServiceBase implements K8sServiceInterface {
         continue;
       }
 
-      $price_data = $price_date_provider->getDataByRegion($region);
+      $price_data = $price_date_provider->getDataByRegion($region, NULL, NULL, NULL, $refresh);
       foreach ($price_data ?: [] as $item) {
         if ($item['instance_type'] === $instance_type) {
           if (!empty($item[$cost_type])) {
diff --git a/modules/cloud_service_providers/k8s/src/Service/K8sServiceInterface.php b/modules/cloud_service_providers/k8s/src/Service/K8sServiceInterface.php
index 2c6d5d37..6594382c 100644
--- a/modules/cloud_service_providers/k8s/src/Service/K8sServiceInterface.php
+++ b/modules/cloud_service_providers/k8s/src/Service/K8sServiceInterface.php
@@ -1427,8 +1427,10 @@ interface K8sServiceInterface {
    *   The k8s_node entities.
    * @param string $cost_type
    *   The cost type.
+   * @param bool $refresh
+   *   TRUE to refresh pricing data.
    */
-  public function getTotalCosts(array $nodes, $cost_type = 'on_demand_yearly');
+  public function getTotalCosts(array $nodes, $cost_type = 'on_demand_yearly', $refresh = TRUE);
 
   /**
    * Get amount of resource usage per a namespace.
