Netperf service in wrong namespace
When checking the endpoints of my cluster, I found out that netperf-server does not get any endpoint or port. Also, the service pod is deployed in Default instead of he-codeco-netma.
default netperf-server-j4z5xIPv4 <unset> <unset>
The issue is related to the namespace label instead of the namespace metadata variable in the k8s-netperf.yaml. Without this variable, Kubernetes places this pod in the default namespace.
apiVersion: v1
kind: Service
metadata:
name: netperf-server
labels:
name: netperf-server
namespace: he-codeco-netma <-----
app: netperf
If this is intended, please close the issue