diff --git a/deployments/liqo/templates/liqo-crd-replicator-deployment.yaml b/deployments/liqo/templates/liqo-crd-replicator-deployment.yaml index fd76e83456..4fb86a138b 100644 --- a/deployments/liqo/templates/liqo-crd-replicator-deployment.yaml +++ b/deployments/liqo/templates/liqo-crd-replicator-deployment.yaml @@ -50,7 +50,7 @@ spec: resources: {{- toYaml .Values.crdReplicator.pod.resources | nindent 12 }} ports: - name: metrics - containerPort: 8082 + containerPort: 8080 protocol: TCP {{- if ((.Values.common).nodeSelector) }} nodeSelector: diff --git a/deployments/liqo/templates/liqo-virtualkubelet-podmonitor.yaml b/deployments/liqo/templates/liqo-virtualkubelet-podmonitor.yaml index a55d390fdd..0cb43eb201 100644 --- a/deployments/liqo/templates/liqo-virtualkubelet-podmonitor.yaml +++ b/deployments/liqo/templates/liqo-virtualkubelet-podmonitor.yaml @@ -16,8 +16,7 @@ spec: any: true selector: matchLabels: - app.kubernetes.io/name: "virtual-kubelet" - app.kubernetes.io/component: "virtual-kubelet" + offloading.liqo.io/component: virtual-kubelet podMetricsEndpoints: - port: metrics {{- with .Values.virtualKubelet.metrics.podMonitor.interval }}