Skip to content

Incorrect liveness probe configuration for Ironic POD #440

@matthewei

Description

@matthewei

if we set disableDownloader: true and we can get the flowing result. through the pod can work well. but the livenessProbe isn't right.

  - command:
    - /bin/runhttpd
    env:
    - name: IRONIC_LISTEN_PORT
      value: "6385"
    - name: HTTP_PORT
      value: "6180"
    - name: LISTEN_ALL_INTERFACES
      value: "true"
    - name: USE_IRONIC_INSPECTOR
      value: "false"
    - name: PROVISIONING_INTERFACE
      value: bond0
    image: registry.paas/cmetal/ironic:v0.1.1
    imagePullPolicy: IfNotPresent
    livenessProbe:
      exec:
        command:
        - curl
        - --head
        - --insecure
        - --location
        - --silent
        - --show-error
        - --output
        - /dev/null
        - http://127.0.0.1:6180/images/ironic-python-agent.kernel
      failureThreshold: 12
      initialDelaySeconds: 1
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 5
    name: httpd

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIndicates an issue lacks a `triage/foo` label and requires one.triage/needs-informationIndicates an issue needs more information in order to work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions