Git Product home page Git Product logo

mvallim / kubernetes-under-the-hood Goto Github PK

View Code? Open in Web Editor NEW
459.0 27.0 100.0 49.82 MB

This tutorial is someone planning to install a Kubernetes cluster and wants to understand how everything fits together.

Home Page: https://mvallim.github.io/kubernetes-under-the-hood

License: BSD 3-Clause "New" or "Revised" License

Shell 100.00%
kubernetes kubernetes-cluster kubernetes-setup virtualization virtualbox metallb pacemaker corosync corosync-cluster docker

kubernetes-under-the-hood's People

Contributors

ivamluz avatar mvallim avatar shaharby7 avatar trentdavida avatar woigt-ciandt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kubernetes-under-the-hood's Issues

Unable to access Demo Application Website from Host Computer

Hi Team,

I have been working my way through your Kubernetes under the hood project in order to deploy a small production Kubernetes server at work for use by our development team.

I have been able to deploy and setup all of the masters/nodes using your instructions as well as launch the demo application. However I am running into an issue with accessing the website service once deployed. The project says to go to http://kube-node01.kube.demo:{NodePort} however when i try to do this I get a server not found error.

Also when i try to nslookup kube-node01 from the host computer I am unable to find the ip address assigned so think potentially I am missing a IP route on the host to get to the DNS/node network? When ssh'd into the busybox I am able to nslookup kube-node01 succesfully and also curl the website and get the correct response.

Any help on trying to work out what is going wrong here would be much appreciated. I believe I have followed all the documentation correctly to this stage but may have missed something.

Thanks for you help,
Callum

How to setup storage GlusterFS

Hi guys, thanks for your great work, it's really helpful. I just have a small question on the documentation on the set up storage GlusterFS. In the section "Send commands to all panes", step 1, "join the Gluster nodes to the cluster", i saw the command is "ssh kube-node01", which mean it's issued from kube-node01(worker node I assume), but I think this should be issued from the newly created glusterFS node? Please correct me if I am wrong, thanks.

Kubernetes Network Model

Just a small doubt about the Kubernetes Network Model picture in Flannel documentation

NetworkModel

the picture show that pod interface numbered "eth1", "eth2" and "eth3" which is not correct,
as i far as i know, pods always hold "eth0" as an interface

e.g. create new pods on the same node
pod-1
image
pod-2
image

i know this maybe not a mistake and just used as illustration

Question about : etcd documentation

Hello,

I am learning about etcd and TLS and found your repo but I am stuck. Found a solution using cfssl but I want to use openssl directly. Nor peer or server extensions are available and I can't find the config.conf file you are using.

Could you share it or point me where I can find it ?

Robin,

documenation required to enable metallab in virtualbox

I want to build metal-lb load balancer with a range of IP address to assign for mariadb deployment using helm.

I've following 3 Kubernetes nodes and a jump server -
On each of those VMs I've 2 adapters

  1. NAT network
    K8s Network - 10.0.2.0/24
  2. Vboxnet0

#############################################################################
root@control-plane:/home/vboxuser# ifconfig | grep inet | grep -v inet6
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet 10.0.2.4 netmask 255.255.255.0 broadcast 10.0.2.255
inet 192.168.56.102 netmask 255.255.255.0 broadcast 192.168.56.255
inet 127.0.0.1 netmask 255.0.0.0
inet 10.10.235.128 netmask 255.255.255.255 broadcast 0.0.0.0
root@control-plane:/home/vboxuser#
#############################################################################
vboxuser@work-node1:$ ifconfig | grep inet | grep -v inet6
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet 10.0.2.5 netmask 255.255.255.0 broadcast 10.0.2.255
inet 192.168.56.103 netmask 255.255.255.0 broadcast 192.168.56.255
inet 127.0.0.1 netmask 255.0.0.0
inet 10.10.64.0 netmask 255.255.255.255 broadcast 0.0.0.0
vboxuser@work-node1:
$
#############################################################################
root@work-node2:/home/vboxuser# ifconfig | grep inet | grep -v inet6
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet 10.0.2.6 netmask 255.255.255.0 broadcast 10.0.2.255
inet 192.168.56.104 netmask 255.255.255.0 broadcast 192.168.56.255
inet 127.0.0.1 netmask 255.0.0.0
inet 10.10.181.128 netmask 255.255.255.255 broadcast 0.0.0.0
root@work-node2:/home/vboxuser#
#############################################################################
root@jump-server:/home/vboxuser# ifconfig | grep inet | grep -v inet6
inet 10.0.2.7 netmask 255.255.255.0 broadcast 10.0.2.255
inet 192.168.56.105 netmask 255.255.255.0 broadcast 192.168.56.255
inet 127.0.0.1 netmask 255.0.0.0
root@jump-server:/home/vboxuser#
#############################################################################

Based on your documentation - https://mvallim.github.io/kubernetes-under-the-hood/documentation/kube-metallb.html

how to configure the local routing ?
what should be routes and bit explanation.

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.