Giter Club home page Giter Club logo

Taylor Wang's Projects

artipub icon artipub

Article publishing platform that automatically distributes your articles to various media channels

backstage icon backstage

Backstage is an open platform for building developer portals

core icon core

The core infrastructure backend (API, database, etc).

ddd icon ddd

Domain-Driven Design framework for Python

docker-kivy_build icon docker-kivy_build

This repo homes a Docker image which supports a developer to build Kivy Android apps using buildozer and pre-fetched SDK, NDK and files to optimize download of resources.

flutter icon flutter

Flutter makes it easy and fast to build beautiful mobile apps.

identity icon identity

ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data.

kjyw icon kjyw

快捷运维,代号kjyw,项目基于shell、python,运维脚本工具库,收集各类运维常用工具脚本,实现快速安装nginx、mysql、php、redis、nagios、运维经常使用的脚本等等...

kubernetes-installation-on-ubuntu20.04 icon kubernetes-installation-on-ubuntu20.04

Kubernetes Install On Ubuntu 20.4 Install Docker ************************************************************ sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt-get update curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update systemctl stauts docker systemctl status docker sudo mkdir /etc/docker cat <<EOF | sudo tee /etc/docker/daemon.json { "exec-opts": ["native.cgroupdriver=systemd"], "log-driver": "json-file", "log-opts": { "max-size": "100m" }, "storage-driver": "overlay2" } EOF sudo systemctl enable docker sudo systemctl daemon-reload sudo systemctl restart docker Follow the step for all nodes to install Kubernetes ******************************************** sudo apt update sudo apt -y upgrade && sudo systemctl reboot sudo apt install apt-transport-https curl curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" >> ~/kubernetes.list sudo apt update sudo mv ~/kubernetes.list /etc/apt/sources.list.d sudo apt update sudo apt-get install -y kubelet kubeadm kubectl kubernetes-cni docker version sudo swapoff -a vim /etc/fstab free -mh lsmod | grep br_netfilter sudo modprobe br_netfilter lsmod | grep br_netfilter sudo sysctl net.bridge.bridge-nf-call-iptables=1 ************************************************************ ********************************************************** *********************************************************** sudo kubeadm init --pod-network-cidr=10.244.0.0/16 mkdir -p $HOME/.kube kubectl get node kubectl get pod -A kubectl get node kubectl get pod -A kubectl get node kubectl get componentstatus kubectl get node kubectl get pod -A wget https://docs.projectcalico.org/manifests/custom-resources.yaml ;;;edit and set ip block is 10.244.0.0/16 wget https://docs.projectcalico.org/manifests/tigera-operator.yaml kubectl create -f tigera-operator.yaml kubectl create -f custom-resources.yaml Finally Check the Cluster Status *************************************************************************************** root@master:~# kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE calico-apiserver calico-apiserver-5b68b6b54-mp6zg 1/1 Running 0 20m calico-apiserver calico-apiserver-5b68b6b54-tgksb 1/1 Running 0 20m calico-system calico-kube-controllers-59c45ff85c-pfnvq 1/1 Running 0 22m calico-system calico-node-6b2p9 1/1 Running 0 22m calico-system calico-node-phsp7 1/1 Running 0 22m calico-system calico-node-r6w5p 1/1 Running 0 22m calico-system calico-typha-589df868cc-7s66z 1/1 Running 0 22m calico-system calico-typha-589df868cc-n4b97 1/1 Running 0 22m kube-system coredns-64897985d-7fjvc 1/1 Running 0 28m kube-system coredns-64897985d-d8t7c 1/1 Running 0 28m kube-system etcd-master 1/1 Running 0 29m kube-system kube-apiserver-master 1/1 Running 0 29m kube-system kube-controller-manager-master 1/1 Running 0 29m kube-system kube-proxy-7fwnf 1/1 Running 0 27m kube-system kube-proxy-hp4j8 1/1 Running 0 28m kube-system kube-proxy-xzq9f 1/1 Running 0 27m kube-system kube-scheduler-master 1/1 Running 0 29m tigera-operator tigera-operator-59d6fdcd79-ndwsk 1/1 Running 0 25m root@master:~# kubectl get componentstatus Warning: v1 ComponentStatus is deprecated in v1.19+ NAME STATUS MESSAGE ERROR controller-manager Healthy ok scheduler Healthy ok etcd-0 Healthy {"health":"true","reason":""} ******************************************************************************** Troubleshooting ************************************************************************************ kubeadm reset iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X For Joining Token ******************************** kubeadm token create --print-join-command

lxml icon lxml

The lxml XML toolkit for Python

odoo icon odoo

Odoo. Open Source Apps To Grow Your Business.

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.