Skip to content
This repository was archived by the owner on Apr 27, 2022. It is now read-only.
This repository was archived by the owner on Apr 27, 2022. It is now read-only.

[prometheus monitoring ] expose metrics port for pod workers.  #102

@zak-hassan

Description

@zak-hassan

Workers with metrics enabled it only exposes port 8081 and not the prometheus endpoint.

bash$ ./oshinko create test --metrics=prometheus
shared cluster "test" created
bash$ oc get pods
NAME             READY     STATUS    RESTARTS   AGE
test-m-1-42v74   1/1       Running   0          25s
test-w-1-79b7x   1/1       Running   0          25s
bash$ oc describe pod test-w-1-79b7x |grep "Port"
    Port:           8081/TCP

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions