Comments (2)
Hey @gianrubio -- really sorry for the delay in responding.
I'm not positive, but based on the stacktrace, it looks like your Kubernetes cluster might not have ThirdPartyResources enabled. The namerd k8s config in this repo uses the ThirdPartyResources API to store dtabs, using namerd's io.l5d.k8s
storage, described here:
https://linkerd.io/config/0.8.3/namerd/index.html#kubernetes
Can you try turning on ThirdPartyResources in your cluster to see if that fixes it? If that's not possible, then you could switch the namerd k8s config to use a different type of storage. If this is just for the purpose of testing, you could use io.l5d.inMemory
instead, which doesn't require a persistent backend. If you want to go that route, then you could apply the following change:
diff --git a/k8s-daemonset/k8s/namerd.yml b/k8s-daemonset/k8s/namerd.yml
index 36c5ea2..f66ac73 100644
--- a/k8s-daemonset/k8s/namerd.yml
+++ b/k8s-daemonset/k8s/namerd.yml
@@ -15,11 +15,18 @@ data:
port: 8001
storage:
- kind: io.l5d.k8s
- experimental: true
- host: localhost
- port: 8001
- namespace: default
+ kind: io.l5d.inMemory
+ namespaces:
+ external: |
+ /host => /#/io.l5d.k8s/default/http/hello;
+ /http/*/*/* => /host;
+ incoming: ""
+ outgoing: |
+ /srv => /#/io.l5d.k8s/default/http;
+ /host => /srv;
+ /tmp => /srv;
+ /http/*/* => /host;
+ /host/world => /srv/world-v1;
interfaces:
- kind: io.l5d.thriftNameInterpreter
And you wouldn't need to separately run the namerctl command to populate the dtab namespaces, since they're already supplied with the config. Let us know if either of these solutions work for you. Thanks!
from linkerd-examples.
@gianrubio We finally found the underlying cause of this issue, and have fixed it in the linkerd-examples master branch. Better late than never. 😉 Thanks for reporting, and feel free to give it a try again, using the instructions here:
from linkerd-examples.
Related Issues (20)
- DCOS linkerd-to-linkerd with egress HOT 5
- Error parsing flag "com.twitter.finagle.tracing.debugTrace": flag undefined HOT 2
- Update vendored grpc-go for helloworld (and any other go-grpc examples) to be >= grpc-go 1.3.0 HOT 1
- Permission problems running "hello world" example on 1.8.7-gke.1 HOT 3
- remove `beta` from linkerd-rbac.yml title
- add rbac to all linkerd configs
- How to add a service after linkerd started. HOT 1
- Consolidated example for Linkerd+Namerd
- additional test dimensions in lifecycle test environment
- TCP connection failed for host ip and the host port
- Failed to compile custom identifier plugin HOT 2
- Grafana seems to fail in the docker-compose command HOT 1
- Add Steps: Remove Getting Started panel from Grafana
- [Example] HTTP/HTTPS Proxy to external public websites?
- ECS example, host port 53 - address already in use HOT 1
- [DOC]: clarify if this repository is for linkerd v1 or v2 HOT 2
- Update examples to run in linkerd 2 HOT 1
- [gitops] the server could not find the requested resource HOT 4
- `use of internal package not allowed` when trying to build linkerd-tcp example
- Linkerd pods in Error state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkerd-examples.