diff --git a/kustomize/bases/ecommerce-exporter/ecommerce-exporter-deployment.yaml b/kustomize/bases/ecommerce-exporter/ecommerce-exporter-deployment.yaml index 5bc8409..6983e57 100644 --- a/kustomize/bases/ecommerce-exporter/ecommerce-exporter-deployment.yaml +++ b/kustomize/bases/ecommerce-exporter/ecommerce-exporter-deployment.yaml @@ -17,11 +17,11 @@ spec: args: ['-c', '/config/ecommerce-exporter.yml'] resources: requests: - memory: 100Mi - cpu: 100m + memory: 200Mi + cpu: 200m limits: - memory: 100Mi - cpu: 100m + memory: 200Mi + cpu: 200m ports: - containerPort: 8000 name: http diff --git a/kustomize/bases/prometheus/prometheus.yaml b/kustomize/bases/prometheus/prometheus.yaml index dcc5914..6d0fc76 100644 --- a/kustomize/bases/prometheus/prometheus.yaml +++ b/kustomize/bases/prometheus/prometheus.yaml @@ -4,7 +4,7 @@ metadata: name: prometheus spec: serviceAccountName: prometheus - retention: 30d + retention: 28d retentionSize: 9GB ruleSelector: matchLabels: @@ -40,7 +40,7 @@ spec: cpu: 2000m memory: 2Gi limits: - cpu: 2000m + cpu: 3000m memory: 2Gi storage: volumeClaimTemplate: diff --git a/kustomize/overlays/prod/configurations/ecommerce-exporter/ecommerce-exporter.yml b/kustomize/overlays/prod/configurations/ecommerce-exporter/ecommerce-exporter.yml index 6a4bdf5..da2c6c8 100644 --- a/kustomize/overlays/prod/configurations/ecommerce-exporter/ecommerce-exporter.yml +++ b/kustomize/overlays/prod/configurations/ecommerce-exporter/ecommerce-exporter.yml @@ -6,7 +6,7 @@ products: selector: '.priceToPay .a-offscreen::text' - parser: json url: https://www.newegg.ca/product/api/ProductRealtime?ItemNumber=19-118-347&RecommendItem=&BestSellerItemList=9SIAA4YJ3X7676%2C9SIADGEGRN9541%2C9SIA7BBGRN9510&IsVATPrice=true - selector: '.MainItem.UnitCost' + selector: '.MainItem.FinalPrice' - parser: json url: https://www.bestbuy.ca/api/offers/v1/products/15778668/offers?postalCode=J4L selector: '.[] | .salePrice,.regularPrice' @@ -23,7 +23,7 @@ products: selector: '.priceToPay .a-offscreen::text' - parser: json url: https://www.newegg.ca/product/api/ProductRealtime?ItemNumber=19-118-343&RecommendItem=&BestSellerItemList=9SIAA4YGC82324%2C9SIADGEGMY7603%2C9SIAVH1J0A6685&IsVATPrice=true - selector: '.MainItem.UnitCost' + selector: '.MainItem.FinalPrice' - parser: json url: https://www.bestbuy.ca/api/offers/v1/products/15778672/offers?postalCode=J4L selector: '.[] | .salePrice,.regularPrice' @@ -40,7 +40,7 @@ products: selector: '.priceToPay .a-offscreen::text' - parser: json url: https://www.newegg.ca/product/api/ProductRealtime?ItemNumber=9SIAB98DXP3361&RecommendItem=&BestSellerItemList=9SIB9H0H0H0660&IsVATPrice=true - selector: '.MainItem.UnitCost' + selector: '.MainItem.FinalPrice' - parser: json url: https://www.bestbuy.ca/api/offers/v1/products/16580299/offers?postalCode=J4L selector: '.[] | .salePrice,.regularPrice' @@ -51,7 +51,7 @@ products: selector: '.priceToPay .a-offscreen::text' - parser: json url: https://www.newegg.ca/product/api/ProductRealtime?ItemNumber=13-119-541&RecommendItem=&BestSellerItemList=9SIADGEGZU2598&IsVATPrice=true - selector: '.MainItem.UnitCost' + selector: '.MainItem.FinalPrice' - parser: json url: https://www.bestbuy.ca/api/offers/v1/products/15954559/offers?postalCode=J4L selector: '.[] | .salePrice,.regularPrice' @@ -68,7 +68,7 @@ products: selector: '.priceToPay .a-offscreen::text' - parser: json url: https://www.newegg.ca/product/api/ProductRealtime?ItemNumber=13-144-531&RecommendItem=&BestSellerItemList=9SIA9H5HS67633%2C9SIA7BBHWY8396%2C9SIADDZJ183773&IsVATPrice=true - selector: '.MainItem.UnitCost' + selector: '.MainItem.FinalPrice' - parser: json url: https://www.bestbuy.ca/api/offers/v1/products/16486621/offers?postalCode=J4L selector: '.[] | .salePrice,.regularPrice'