Code Monkey home page Code Monkey logo

Comments (12)

feiskyer avatar feiskyer commented on July 18, 2024

@DarkBlaez How the dashboard is deployed, It works ok in my settings:

kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml

Wait a while for pod up and then visit http://hostip:service-nodePort.

from frakti.

DarkBlaez avatar DarkBlaez commented on July 18, 2024

My question in reply is, are you starting from scratch, clean Centos 7.3, and following the deploy or allinone.sh, then adding a second node? Each time I try this and the reason I've found the issues is from doing a clean install. I do this as common practice. Otherwise if I develop code and check it in, there is no guarantee a fresh install will work since I can't account for prior dependencies being met do to past installs.

from frakti.

feiskyer avatar feiskyer commented on July 18, 2024

Hmm, right. We are only support bridge plugin today, so it is expected for users to configure subnet routes on each host. I will add the guide later.

Could you add subnet routes on each host and try again?

from frakti.

DarkBlaez avatar DarkBlaez commented on July 18, 2024

I would need install guide to step me through adding subnet route to each host. Have not done it prior

from frakti.

feiskyer avatar feiskyer commented on July 18, 2024

@DarkBlaez Filed PR #137 for setting subnet routes, could you have a try on it?

from frakti.

DarkBlaez avatar DarkBlaez commented on July 18, 2024

I will start with fresh VMs and let you know results. By the way in the routes where are 10.140.0.2 and 10.140.0.3 coming from?

from frakti.

feiskyer avatar feiskyer commented on July 18, 2024

Hmm, sorry for the mistake. They are IPs of each host. Made a fix in the PR.

from frakti.

DarkBlaez avatar DarkBlaez commented on July 18, 2024

Just for continuity in documentation, deploy.md will need the updated steps which were included in the allinone.sh

Centos
-baseurl=http://yum.kubernetes.io/repos/kubernetes-el7-x86_64-unstable
+baseurl=http://yum.kubernetes.io/repos/kubernetes-el7-x86_64

And the appropriate changes for Ubuntu just to maintain continuity in documentation

Also I assume that the CNI entries for master and each subsequent node should be different?

So on master:
"ipam": {
"type": "host-local",
"subnet": "10.244.1.0/24",
"routes": [
{ "dst": "0.0.0.0/0" }

Then node 1:
"ipam": {
"type": "host-local",
"subnet": "10.244.2.0/24",
"routes": [
{ "dst": "0.0.0.0/0" }
and so forth for each additional node, would this be a correct assumption?

Thanks
DB

from frakti.

feiskyer avatar feiskyer commented on July 18, 2024

@DarkBlaez Thanks. Would you like to file a PR for this?

from frakti.

DarkBlaez avatar DarkBlaez commented on July 18, 2024

Within the allinone.sh script I have noticed that when it runs for some reason the "setenforce 0" does not actually disable selinux. This may be do to the way the script runs. If I do each step manually then this gets set properly. I am going to step through this again doing it manually and accounting for the changes which were applied to the allinone.sh script which differs from deploy.md. I recreate fresh VMs and let you know the result

DB

from frakti.

DarkBlaez avatar DarkBlaez commented on July 18, 2024

Another item to note, this change is in the deploy.md but not in the allinone.sh. Is this needed for Centos 7?

deploy.md:
sed -i 's/native.cgroupdriver=systemd/native.cgroupdriver=cgroupfs/g' /usr/lib/systemd/system/docker.service

allinone.sh:

May be helpful to disable selinux. Using setenforce 0 does not seem to stick on reboot and upon reboot selinux is enforcing. I think some guides indicated either disabling selinux through /etc/selinux/config or completely disabling the service. I will further test and keep you posted before further changes are made

DB

from frakti.

DarkBlaez avatar DarkBlaez commented on July 18, 2024

Whether I install manually or through the allinone.sh the result is the same. Likewise, the ip routes are simplistic and would work great on a set of VMs sitting on the same subnet. A situation which is ideal at best. I will put this on hold and come back to the project once things are further along. I think once this supports plugable networks like Calico, Flannel , etc I think things will go smoother

from frakti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.