Skip to content

Unable to deploy prometheus to the test cluster with make target #795

Closed
@somaritane

Description

Steps to reproduce:

  1. Deploy test clusters with make deploy-full-local-setup target
  2. Deploy prometheus to the test clusters with make deploy-prometheus target

Expected behavior:

  1. Prometheus should be deployed to the test clusters

Actual behavior:

  1. make deploy-prometheus target fails to deploy prometheus to the test clusters:

    > make deploy-prometheus
    ...
    Release "prometheus" does not exist. Installing it now.
    Error: timed out waiting for the condition
    make: *** [deploy-prometheus] Error 1

    prometheus-server-... pod is always in pending state with the following events:

    > k describe --context k3d-test-gslb1 -n k8gb po prometheus-server-6b868bd6c4-q7r86
    ...
    Events:
    Type     Reason            Age    From               Message
    ----     ------            ----   ----               -------
    Warning  FailedScheduling  2m37s  default-scheduler  0/2 nodes are available: 2 pod has unbound immediate PersistentVolumeClaims.
    Warning  FailedScheduling  2m35s  default-scheduler  0/2 nodes are available: 2 pod has unbound immediate PersistentVolumeClaims.
    

    pvc for prometheus-server stays in pending state with the following events:

    > k describe --context k3d-test-gslb1 -n k8gb persistentvolumeclaims prometheus-server
    ...
    Events:
    Type    Reason         Age                  From                         Message
    ----    ------         ----                 ----                         -------
    Normal  FailedBinding  1s (x14 over 3m12s)  persistentvolume-controller  no persistent volumes available for this claim and no storage class is set
    

Assignees:
Labels: bug

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions