configMapInterpreter failure

Hello,
I’m trying to use the new k8s ConfigMap interpreter:

kind: io.l5d.k8s.configMap
experimental: true
namespace: test
name: dtabs
filename: common.dtab
transformers:
- kind: io.l5d.k8s.daemonset
  namespace: test
  port: incoming
  service: l5d

I can see the dtabs loaded into the playground, but it fails to route:

(residual: /#/io.l5d.k8s/test/http/a200) /host => /#/io.l5d.k8s/test/http
No Further Branch Matches

It worked fine previously with namerd+etcd. Looks like linkerd fails to talk to kubectl, but I can do it manually with curl from inside the linkerd container.

Do I miss something with the migration to 1.2.0?

In the logs I see:

-XX:+AggressiveOpts -XX:+CMSClassUnloadingEnabled -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:+CMSScavengeBeforeRemark -XX:InitialHeapSize=33554432 -XX:MaxHeapSize=1073741824 -XX:MaxNewSize=174485504 -XX:MaxTenuringThreshold=6 -XX:OldPLABSize=16 -XX:+PrintCommandLineFlags -XX:+ScavengeBeforeFullGC -XX:-TieredCompilation -XX:+UseCMSInitiatingOccupancyOnly -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseStringDeduplication
Sep 11, 2017 4:45:34 PM com.twitter.finagle.http.HttpMuxer$ $anonfun$new$1
INFO: HttpMuxer[/admin/metrics.json] = com.twitter.finagle.stats.MetricsExporter(<function1>)
Sep 11, 2017 4:45:34 PM com.twitter.finagle.http.HttpMuxer$ $anonfun$new$1
INFO: HttpMuxer[/admin/per_host_metrics.json] = com.twitter.finagle.stats.HostMetricsExporter(<function1>)
I 0911 16:45:34.981 UTC THREAD1: linkerd 1.2.0 (rev=7868f5195a87253c1a362923bea1f019d4821226) built at 20170907-175131
I 0911 16:45:35.196 UTC THREAD1: Finagle version 6.45.0 (rev=fadc80cdd804f2885ebc213964542d5568a4f485) built at 20170609-103217
I 0911 16:45:36.806 UTC THREAD1: Resolver[inet] = com.twitter.finagle.InetResolver(com.twitter.finagle.InetResolver@5c73f672)
I 0911 16:45:36.806 UTC THREAD1: Resolver[fixedinet] = com.twitter.finagle.FixedInetResolver(com.twitter.finagle.FixedInetResolver@8ee0c23)
I 0911 16:45:36.812 UTC THREAD1: Resolver[nil] = com.twitter.finagle.NilResolver$(com.twitter.finagle.NilResolver$@763cf5b9)
I 0911 16:45:36.816 UTC THREAD1: Resolver[flag] = com.twitter.server.FlagResolver(com.twitter.server.FlagResolver@2f508f3c)
I 0911 16:45:36.812 UTC THREAD1: Resolver[fail] = com.twitter.finagle.FailResolver$(com.twitter.finagle.FailResolver$@71f0b72e)
I 0911 16:45:36.807 UTC THREAD1: Resolver[neg] = com.twitter.finagle.NegResolver$(com.twitter.finagle.NegResolver$@4dc8c0ea)
I 0911 16:45:36.816 UTC THREAD1: Resolver[zk] = com.twitter.finagle.zookeeper.ZkResolver(com.twitter.finagle.zookeeper.ZkResolver@3ed03652)
I 0911 16:45:36.826 UTC THREAD1: Resolver[zk2] = com.twitter.finagle.serverset2.Zk2Resolver(com.twitter.finagle.serverset2.Zk2Resolver@173797f0)
I 0911 16:45:37.722 UTC THREAD1: tracer: io.buoyant.telemetry.recentRequests.RecentRequetsTracer@5ae4183c
I 0911 16:45:37.878 UTC THREAD1: Tracer: com.twitter.finagle.zipkin.thrift.ScribeZipkinTracer
I 0911 16:45:38.254 UTC THREAD1: serving http admin on /0.0.0.0:9990
I 0911 16:45:38.282 UTC THREAD1: serving outgoing on /0.0.0.0:4140
I 0911 16:45:38.323 UTC THREAD1: serving incoming on /0.0.0.0:4141
I 0911 16:45:38.334 UTC THREAD1: serving outgoing-https on /0.0.0.0:4143
I 0911 16:45:38.345 UTC THREAD1: serving incoming-https on /0.0.0.0:4144
I 0911 16:45:38.357 UTC THREAD1: serving outgoing-h2 on /0.0.0.0:4240
I 0911 16:45:38.371 UTC THREAD1: serving incoming-h2 on /0.0.0.0:4241
I 0911 16:45:38.377 UTC THREAD1: initialized
W 0911 16:45:56.002 UTC THREAD35 TraceId:7efa6e41f17e593f: Exception propagated to the default monitor (upstream address: /10.128.0.1:59474, downstream address: localhost/127.0.0.1:8001, label: configMapInterpreter).
Failure(k8s observation released, flags=0x02) with RemoteInfo -> Upstream Address: /10.128.0.1:59474, Upstream Client Id: Not Available, Downstream Address: localhost/127.0.0.1:8001, Downstream Client Id: configMapInterpreter, Trace Id: 7efa6e41f17e593f.7efa6e41f17e593f<:7efa6e41f17e593f
W 0911 16:47:27.936 UTC THREAD35 TraceId:2d096d087e192081: Exception propagated to the default monitor (upstream address: /10.128.0.1:59950, downstream address: localhost/127.0.0.1:8001, label: configMapInterpreter).
Failure(k8s observation released, flags=0x02) with RemoteInfo -> Upstream Address: /10.128.0.1:59950, Upstream Client Id: Not Available, Downstream Address: localhost/127.0.0.1:8001, Downstream Client Id: configMapInterpreter, Trace Id: 2d096d087e192081.2d096d087e192081<:2d096d087e192081
W 0911 16:56:10.316 UTC THREAD35 TraceId:50abe0654f25cfa1: Exception propagated to the default monitor (upstream address: /10.128.0.1:34196, downstream address: localhost/127.0.0.1:8001, label: configMapInterpreter).
Failure(k8s observation released, flags=0x02) with RemoteInfo -> Upstream Address: /10.128.0.1:34196, Upstream Client Id: Not Available, Downstream Address: localhost/127.0.0.1:8001, Downstream Client Id: configMapInterpreter, Trace Id: 50abe0654f25cfa1.50abe0654f25cfa1<:50abe0654f25cfa1
W 0911 16:56:24.770 UTC THREAD35 TraceId:08f568fc8ef28c3e: Exception propagated to the default monitor (upstream address: /10.128.0.1:34196, downstream address: localhost/127.0.0.1:8001, label: configMapInterpreter).
...

Thanks!

Ok, so now I must add the k8s namer to the config:

namers:
  - kind: io.l5d.k8s

It wasn’t required in the previous version.

Hi @smartptr, I’m glad you figured that out – that probably should go in the 1.2.0 migration guide!