Comments (6)
and in addition dns.network
"conflicts" with eth0.network
for eth0 settings.
Putting everyhting in eth0.network
works (with UseDomains
commented so far) and removing dns.network
.
from kubernetes-on-arm.
Yeah, I'm wondering which way is the best to do this.
Now, I added a dns.network
file which overrides the other .network
files
dns.network
uses eth0
and DHCP
by default.
The purpose is to include this line in /etc/resolv.conf
search default.svc.cluster.local svc.cluster.local cluster.local
That's systemd
's way of configuring this file.
Any suggestion to make this better?
from kubernetes-on-arm.
On 2nd cubietruck, I'll try to setup dns.network
instead of using eth0.network
(which is more straight forward and what I expected).
I would do more in fact what I did, that is to say add what was in the dns.network
into the eth0.network
. Seems more in line with official doc of systemd. Otherwhise, it should be mentionned in this project documentation.
from kubernetes-on-arm.
Ok, so on 2nd cubie:
- Editing only
dns.network
to switch from DHCP to static adress works and overrideeth0.network
- It still says that
UseDomains
is an unknown value in section network. but it does not prevent to set-up eth0.
As a consequence, /etc/resolv.conf does not contain:
search default.svc.cluster.local svc.cluster.local cluster.local
from kubernetes-on-arm.
... and so:
curl my-nginx.default.svc.cluster.local
works but not curl my-nginx
which is logical.
from kubernetes-on-arm.
I've fixed the UseDomains
issue and documented that one should edit dns.network
.
Thanks. (PS. v0.6.2
is soon here)
from kubernetes-on-arm.
Related Issues (20)
- error restarting haproxy -- ./haproxy_reload: line 26: syntax error: unexpected redirection HOT 2
- kube-config enable-worker can't find master... HOT 11
- Kubeadm with unstable deb repo HOT 8
- $TMPDIR is not synced to the SDCard.
- Cluster state taking a long time to update... HOT 2
- Accessing host instance devices... HOT 3
- Unable to bring up services after the leader reboot- The connection to the server localhost:8080 was refused
- kube-config install remains blocked
- Raspberry Pi Kubernetes HOT 2
- registry add-on
- "kubeadm getting started guide" link in README.md is broken
- DNS & flannel not starting HOT 3
- Networking issues with Docker 1.13 HOT 3
- Packages for Jessie
- Where is the Prometheus image? HOT 1
- problem with hpa in multiplatform arch with arm and amd64
- This scripts work ? HOT 1
- kubernetes pods stuck at Container creating
- Failed to create pod sandbox
- kubectl issue
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 kubernetes-on-arm.