Welcome to the Linux Foundation Forum!

Exercise 4.2 Stress Test

Hi

I am running two node cluster on my MacMini which has 64GB RAM. For each node I have allocated 16GB and I tried allocating more memory. But so far I have not been able to hit the memory limit. What should I do? reallocate lower memory for VMs or keep tweaking parameters that I pass to hog.yaml?

Appreciate your thoughts.

Regards

Rama

Comments

  • prama01886
    prama01886 Posts: 17

    My thinking was to get the pod to restart and I never managed to get a single restart.

    Configuration wise - CP node is now 8GB and 2VCPUs, Worker node is also 8GB and 2VCPUs.

    I have tried with the following args:
    spec:
    containers:
    - image: vish/stress
    imagePullPolicy: Always
    name: stress
    resources:
    limits:
    cpu: "1"
    memory: "10Gi"
    requests:
    cpu: "0.5"
    memory: "500Mi"
    args:
    - -cpus
    - "2"
    - -mem-total
    - "950Mi"
    - -mem-alloc-size
    - "100Mi"
    - -mem-alloc-sleep
    - "1s"

    So trying to see different options to tweak so that I will be able to see the stress pod restart,

  • prama01886
    prama01886 Posts: 17

    Thank you this worked.

Categories

Upcoming Training