Code Monkey home page Code Monkey logo

k8s's Introduction

Kubernetes (K8s)

Logo

My notes for setup Kubernetes Cluster


Table of contents

Pre-Requirements:

We assumed you've already got your servers setup for K8S. This included:

  • Ubuntu Servers in odd number (minimum 3 nodes). Our setup on 22.04 LTS but it should works with 20.04 LTS.
  • ssh access to your servers and able to run as root. NFS server for persistent storage.
  • Linux Sysadmin skills

Ecosystem

We're thinking about Ecosystem so we used 3 mini computers that consume 15w each! Yes 15w!

What's included

We assumed that you've already know the concepts of Kubernetes cluster by read up on documentation about Kubernetes. We're providing bootstrap script to help with the process but you need to do it in the right order. Also, BIG NOTICE that you need to edit the environments to match your need aka: nfs storage resources. The instruction below is for single master setup only. For multiple masters setup please see HA setup for Kubernetes.

1. Your nodes should be up-to-date with static ip setup before running the bootstrap script.
2. Init the cluster with kubeadm init --apiserver-advertise-address=<your-ip-address>
3. Install the CNI network of your choice. (We're using calico)
4. Check master node & join workers to master node
5. Install nfs for persistent storage
6. Install Portainer to gain control over the cluster in web GUI
7. Install ingress-nginx to be the Load Balancer
8. Install KubeVirt if your hardware support it to gain kvm access

Bugs and feature requests

Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue. Report bug Request feature

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Moreover, all HTML and CSS should conform to the Code Guide, maintained by Main author.

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at https://editorconfig.org/.

Creators

phamcs

Thanks

We want everyone beable to setup K8S for learning purposes. As a nerd you need to know this stuff as this technology will dominate applications deployment process for future. If you think this is helpful please consider donating for us.

BTC:

  • 1H9WXBXWwsu9tWJb5rdE9ZTUU4vae7VLUY

Copyright and license

Code and documentation copyright 2011-2018 the authors. Code released under the MIT License.

Enjoy ๐Ÿค˜

k8s's People

Contributors

phamcs avatar

Watchers

 avatar

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.