Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenEBS pods getting evicted #1897

Open
marcusbooyah opened this issue Apr 5, 2024 · 0 comments
Open

OpenEBS pods getting evicted #1897

marcusbooyah opened this issue Apr 5, 2024 · 0 comments
Labels
bug Identifies a bug or other failure

Comments

@marcusbooyah
Copy link
Member

marcusbooyah commented Apr 5, 2024

It looks like this is because resource requests are not being set so they are getting evicted when low on memory.

The priority class name is also wrong in this case: priorityClassName: user-medium

 status:
  phase: Failed
  conditions:
    - type: Initialized
      status: 'True'
      lastProbeTime: null
      lastTransitionTime: '2024-03-12T11:51:39Z'
    - type: Ready
      status: 'False'
      lastProbeTime: null
      lastTransitionTime: '2024-03-12T11:52:43Z'
      reason: ContainersNotReady
      message: >-
        containers with unready status: [cstor-pool-mgmt cstor-pool
        maya-exporter]
    - type: ContainersReady
      status: 'False'
      lastProbeTime: null
      lastTransitionTime: '2024-03-12T11:52:43Z'
      reason: ContainersNotReady
      message: >-
        containers with unready status: [cstor-pool-mgmt cstor-pool
        maya-exporter]
    - type: PodScheduled
      status: 'True'
      lastProbeTime: null
      lastTransitionTime: '2024-03-12T11:51:39Z'
  message: >-
    The node was low on resource: memory. Container cstor-pool-mgmt was using
    27484Ki, which exceeds its request of 0. Container maya-exporter was using
    9736Ki, which exceeds its request of 0. Container cstor-pool was using
    51480Ki, which exceeds its request of 0. 
  reason: Evicted
  hostIP: 10.100.42.154
  podIP: 10.254.59.37
  podIPs:
    - ip: 10.254.59.37
  startTime: '2024-03-12T11:51:39Z'
  containerStatuses:
    - name: cstor-pool
      state:
        terminated:
          exitCode: 137
          reason: ContainerStatusUnknown
          message: The container could not be located when the pod was terminated
          startedAt: null
          finishedAt: null
      lastState:
        terminated:
          exitCode: 137
          reason: ContainerStatusUnknown
          message: >-
            The container could not be located when the pod was deleted.  The
            container used to be Running
          startedAt: null
          finishedAt: null
      ready: false
      restartCount: 1
      image: registry.neon.local/neonkube/openebs-cstor-pool:3.2.0
      imageID: ''
      started: false
    - name: cstor-pool-mgmt
      state:
        terminated:
          exitCode: 137
          reason: ContainerStatusUnknown
          message: The container could not be located when the pod was terminated
          startedAt: null
          finishedAt: null
      lastState:
        terminated:
          exitCode: 137
          reason: ContainerStatusUnknown
          message: >-
            The container could not be located when the pod was deleted.  The
            container used to be Running
          startedAt: null
          finishedAt: null
      ready: false
      restartCount: 1
      image: registry.neon.local/neonkube/openebs-cstor-pool-manager:3.2.0
      imageID: ''
      started: false
    - name: maya-exporter
      state:
        terminated:
          exitCode: 137
          reason: ContainerStatusUnknown
          message: The container could not be located when the pod was terminated
          startedAt: null
          finishedAt: null
      lastState:
        terminated:
          exitCode: 137
          reason: ContainerStatusUnknown
          message: >-
            The container could not be located when the pod was deleted.  The
            container used to be Running
          startedAt: null
          finishedAt: null
      ready: false
      restartCount: 1
      image: registry.neon.local/neonkube/openebs-m-exporter:3.2.0
      imageID: ''
      started: false
  qosClass: BestEffort
@marcusbooyah marcusbooyah added the bug Identifies a bug or other failure label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies a bug or other failure
Projects
None yet
Development

No branches or pull requests

1 participant