-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.
Description
The windows node exporter is installed on all windows worker nodes, but the required Service and Endpoint resources are no created at all.
There is a service object created, but it's from type ClusterIP, which in this case won't work.
The Service should be of type 'ExternalName' and the Endpoints should be updated by the operator on every node join/deletion operation.
For instance:
apiVersion: v1
kind: Service
metadata:
labels:
name: windows-exporter
name: windows-exporter
namespace: openshift-windows-machine-config-operator
spec:
type: ExternalName
ports:
- name: metrics
port: 9182
protocol: TCP
targetPort: 9182
externalName: nodexporter
---
apiVersion: v1
kind: Endpoints
metadata:
labels:
name: windows-exporter
name: windows-exporter
namespace: openshift-windows-machine-config-operator
subsets:
- addresses:
- ip: 1.1.1.1
targetRef:
kind: Node
name: winmach-q84jj
uid: ab8028e7-a0ed-4f83-89e5-b577be2231ed
- ip: 1.1.1.1
targetRef:
kind: Node
name: winmach-t5vgm
uid: 1b710328-88d5-4142-a78f-dd414705cc19
ports:
- name: metrics
port: 9182
protocol: TCP
mansikulkarni96
Metadata
Metadata
Assignees
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.