Exposing debugger for ONOS 2.2
Change-Id: I1ad741b1e98be545c18abf264db0a87b591565f2
diff --git a/kubernetes-configs/onlab-pod1.yml b/kubernetes-configs/onlab-pod1.yml
index 329cc7a..33b1030 100644
--- a/kubernetes-configs/onlab-pod1.yml
+++ b/kubernetes-configs/onlab-pod1.yml
@@ -19,6 +19,20 @@
repository: 'onosproject/onos'
tag: 'latest'
+onos_env:
+- name: POD_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+- name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+- name: ONOS_APPS
+ value: "drivers,openflow-base"
+- name: DEFAULT_JAVA_DEBUG_OPTS
+ value: "-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=0.0.0.0:5005"
+
# ONOS applications
sadisAppUrl: "http://10.90.0.101:30160/repository/sadis-app-4.0.0-SNAPSHOT.oar"
sadisAppVersion: "4.0.0.SNAPSHOT"