Comments (3)
dtab seems to work.
Call hello directly from an ubuntu pod inside k8s does not work.
root@ubuntu:/# curl -s http://10.2.11.102:7777
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
from linkerd-examples.
Hi @gosharplite! Are you using CNI in your k8s cluster? If so, you'll need to set hostNetwork: true
on your linkerd pods in the daemonset config as well as set hostNetwork: true
on the io.l5d.k8s.daemonset
transformer and io.l5d.k8s.localnode
transformer in the linkerd configs.
Here's an example config that sets hostNetwork: true
in those places: https://github.com/apprenda/kismatic/blob/master/ansible/roles/addon-linkerd/templates/linkerd.yml
from linkerd-examples.
Yes, I'm using CNI. I did add hostNetwork: true
in the daemonset config, but I did not set hostNetwork: true
on the io.l5d.k8s.daemonset transformer and io.l5d.k8s.localnode transformer in the linkerd configs.
NODE_NAME
is also needed in the daemonset config. dstPrefix: /
is not needed in the linkerd configs.
After fixing daemonset and linkerd configs, expected results show up.
$ http_proxy=10.128.112.27:31396 curl -s http://hello
Hello (10.2.15.144) world (10.2.15.174)!
All yml files are here FYR.
Thanks for your help :)
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.