diff --git a/deploy/dev/k8s/kube_templates/aisproxy_deployment.yml b/deploy/dev/k8s/kube_templates/aisproxy_deployment.yml index ceb1b51de2d..cfd9b9f1a1a 100644 --- a/deploy/dev/k8s/kube_templates/aisproxy_deployment.yml +++ b/deploy/dev/k8s/kube_templates/aisproxy_deployment.yml @@ -31,6 +31,10 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName + - name: MY_POD + valueFrom: + fieldRef: + fieldPath: metadata.name - name: AIS_NODE_ROLE value: "proxy" volumeMounts: diff --git a/deploy/dev/k8s/kube_templates/aistarget_deployment.yml b/deploy/dev/k8s/kube_templates/aistarget_deployment.yml index 648cb68e0ac..09b253864f1 100644 --- a/deploy/dev/k8s/kube_templates/aistarget_deployment.yml +++ b/deploy/dev/k8s/kube_templates/aistarget_deployment.yml @@ -34,6 +34,10 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName + - name: MY_POD + valueFrom: + fieldRef: + fieldPath: metadata.name - name: AIS_NODE_ROLE value: "target" volumeMounts: