Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2724

Add tests for cgroup/COUCHBASE_CPU_COUNT changes

    XMLWordPrintable

Details

    • Task
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • kraken
    • testing
    • None
    • 17: Automation, future fixes, 21: Auto., crackn' on Krakken, 23: ARM, Trackin' Kraken, 25: Maintain
    • 5

    Description

      Changes are coming to server about how it detects the resources available to it when running in a container; including an env variable override to emulate the old behaviour. We need to test both the now-default behaviour, and the override. (More details available in linked ticket).

      Generally this will be 3 types of test:

      • Checking that CB Server recognises resource limits (accessible using the /metrics endpoint)
      • Checking that CB Server respects the resource limits (stress CB with pillowfight and check limits are not exceeded)
      • Checking that the newly added override flag is functional

      https://docs.google.com/document/d/1SjXgp914YMPpg0ynHZgT6LpoZsB00GCwh0kfrmQCLbY/edit

      There are a few testplans from various teams for this feature that CND/Operator might need to help out with:
      https://docs.google.com/document/d/110XGZnRDziS_vTv4-Ax0CeqOyNT8mejI5z2b5O1MB6I/edit
      https://docs.google.com/document/d/1mf4mAeN61rBNxGTF_M6956xyt7F_nIpTUWGw94f7nX4/edit

      Attachments

        Issue Links

          For Gerrit Dashboard: K8S-2724
          # Subject Branch Project Status CR V

          Activity

            This looks nearly complete, but will need some more review to get it across the line.

            ingenthr Matt Ingenthron added a comment - This looks nearly complete, but will need some more review to get it across the line.

            People

              gilad.kalchheim Gilad Kalchheim
              roo.thorp Roo Thorp
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change

                  PagerDuty