There's always a bunch of student hosts on hand , Machines from all kinds of channels .

It's a pain in the management all the time , I don't even remember where they are and what they are IP, Management is a headache .

When I was idle for a while, I wanted to toss about the edge computing cluster solution .

Hope to manage them , Make a general calculation scheme .

Yes dalao, Recommend to me k3s.

K3s | Lightweight Kubernetes | Internet of things and edge computing K8S Solution | Rancher

The truth is very good , however ....

notice Rancher It's both amazing and joyful .

17 In When it comes to things , The cluster solution uses rancher, Easy to use is easy to use , Many things are true, many things are true .

Experience it , When nodes are assembled into clusters, there are a lot of things to do , And it has its own management master, Used it for a while and gave up .

Later in a fish

@ Small white fish

In one of my conversations , We also see that kubeEdge This set of plans .

In line with the theme that playing dead machine is not worth life , It must be hugging it .

then ....

I wasted another weekend .

evaluation : Something that can't run well according to the official website documents , It's not worth my time .jpg

Not allowed to gang, I'll ask you again .

PS: Later I saw that it was donated by Huawei , I don't want to make trouble .

later , See a cloud that has been used for a long time out of the public beta of the edge computing cluster .

good heavens ,master I don't have to give it to you , Add your own machine directly to it as node node .

complete k8s Cluster solution , There is no difference between ordinary clusters used in peacetime .

perfect , That's what I want .

Cluster configuration is basically done by clicking on the page .

kubectl See the official or a cloud tutorial OK.

The cluster access credentials can also be set after downloading to the local .

The way to add nodes is brainless .

edgectl After downloading to local , Execute it. ./edgectl --help have a look

root@nucubuntu:~# ./edgectl --help


edgectl command [flags]

Available Commands:

check Check the edge node if to be add to clusters

install Install components to edge node

clear Clear edge node and recovery as usual


-h, --help Help for edgectl


Direct installation .

pc-name Take a name you like , A lowercase letter + Horizontal line + The combination of numbers is Ok, You can't underline

./edgectl install -n pc-name

When it's done , Success sees Successfull And so on .

After installation , This machine can be seen in the node management of a cloud cluster .

It can also be directly passed through kubectl Check the machine information .

* ~ kc get node


aliyun-changan Ready 23d v1.18.2

aliyun-huang Ready 23d v1.18.2

nuc-vm-ubuntu Ready 23d v1.18.2

* ~ kc describe node nuc-vm-ubuntu

Name: nuc-vm-ubuntu




Annotations: {"VtepMAC":"72:83:61:5b:7c:b7"} vxlan true 0

nodeunhealth: yes true

CreationTimestamp: Tue, 29 Dec 2020 11:00:29 +0800


Unschedulable: false


HolderIdentity: nuc-vm-ubuntu


RenewTime: Thu, 21 Jan 2021 22:45:23 +0800


Type Status LastHeartbeatTime LastTransitionTime Reason Message

NetworkUnavailable False Mon, 18 Jan 2021 10:05:43 +0800 Mon, 18 Jan 2021 10:05:43 +0800 FlannelIsUp Flannel is running on this node

MemoryPressure False Thu, 21 Jan 2021 22:42:47 +0800 Wed, 20 Jan 2021 17:07:46 +0800 KubeletHasSufficientMemory kubelet has sufficient memory available

DiskPressure False Thu, 21 Jan 2021 22:42:47 +0800 Wed, 20 Jan 2021 17:07:46 +0800 KubeletHasNoDiskPressure kubelet has no disk pressure

PIDPressure False Thu, 21 Jan 2021 22:42:47 +0800 Wed, 20 Jan 2021 17:07:46 +0800 KubeletHasSufficientPID kubelet has sufficient PID available

Ready True Thu, 21 Jan 2021 22:42:47 +0800 Wed, 20 Jan 2021 17:07:46 +0800 KubeletReady kubelet is posting ready status. AppArmor enabled



Hostname: nuc-vm-ubuntu


cpu: 2

ephemeral-storage: 19475088Ki

hugepages-2Mi: 0

memory: 8054976Ki

pods: 127


cpu: 1940m

ephemeral-storage: 17948241072

hugepages-2Mi: 0

memory: 7788736Ki

pods: 127

System Info:

Machine ID: 8056248ceff544a3972666b79b1f3fb6

System UUID: 0d728d29-d62c-e948-a3b9-01ee8625bfe3

Boot ID: 7bddb25d-d02c-4341-9db4-ef3840795e3d

Kernel Version: 5.4.0-62-generic

OS Image: Ubuntu 20.04.1 LTS

Operating System: linux

Architecture: amd64

Container Runtime Version: docker://18.6.3

Kubelet Version: v1.18.2

Kube-Proxy Version: v1.18.2



Non-terminated Pods: (18 in total)

Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits AGE

default crawl-douban-edge-1611231000-mmbmk 10m (0%) 200m (10%) 64Mi (0%) 256Mi (3%) 155m

kube-system application-grid-wrapper-dqrgd 10m (0%) 50m (2%) 20Mi (0%) 100Mi (1%) 23d

kube-system coredns-lf2fr 50m (2%) 50m (2%) 70Mi (0%) 170Mi (2%) 6d22h

kube-system edge-health-cvzg4 10m (0%) 50m (2%) 20Mi (0%) 100Mi (1%) 23d

kube-system flannel-7zw8b 50m (2%) 100m (5%) 50Mi (0%) 200Mi (2%) 23d

kube-system kube-proxy-gnmpv 10m (0%) 50m (2%) 50Mi (0%) 100Mi (1%) 23d

kube-system proxy-edge-4lkrk 0 (0%) 0 (0%) 0 (0%) 0 (0%) 23d

Allocated resources:

(Total limits may be over 100 percent, i.e., overcommitted.)

Resource Requests Limits

cpu 240m (12%) 2500m (128%)

memory 1490Mi (19%) 5790Mi (76%)

ephemeral-storage 0 (0%) 0 (0%)

hugepages-2Mi 0 (0%) 0 (0%)


* ~ kc top node


aliyun-changan 29m 3% 679Mi 43%

aliyun-huang 48m 5% 1137Mi 65%

nuc-vm-ubuntu 509m 26% 1869Mi 24%

Finally, it's basically like using one normally k8s The cluster is done .

Edge of computing k8s colony SuperEdge More articles about first experience

  1. kubeadm build K8s Cluster and Pod First experience

    be based on Kubeadm build K8s colony : Through the last blog , We have a basic understanding of k8s Basic concepts of , Maybe you're still a little fuzzy right now , Seriously, I'm also very vague . Only by continuous operation can we be proficient , Strengthen your understanding of him , Only in this way can we reach a higher level . I ...

  2. All level K8s Behind the cluster etcd Stability and performance optimization practices

    Background and challenges With the rapid growth of Tencent's self research cloud and public cloud users , One side , Tencent cloud container service TKE The number of services and audits has increased significantly , On the other hand, the type of container service we provide (TKE Managed and independent clusters .EKS Elastic cluster .edge Edge computing cluster .m ...

  3. k8s Key concepts and deployment k8s colony ( One )-- Technology flow ken

    Important concepts 1. cluster cluster yes Calculation . Collection of storage and network resources ,k8s Using these resources to run various container based applications . 2.master master yes cluster Brain , His main responsibility is to dispatch , Summary decision ...

  4. Prepare for war 11! The scale of ant gold clothing is ten thousand K8s How to design cluster management system ?

    author | Ant gold clothing technical expert Cang desert Focus on 『 Alibaba cloud native 』 official account , Reply key words "1024", Available in this article PPT. Preface Kubernetes With its advanced design concept and excellent technical architecture , In the container ...

  5. hyper-v Virtual machine centos multi-node k8s Cluster practice

    I experienced it before minikube, I fell into the pit and still haven't climbed out , Play single node with minikube Enough is enough , But the installation of fool's trial makes people right k8s Understanding is not very deep ( pit ), And there seems to be something strange about multi nodes So this time I'm going to use two virtual machines to simulate k ...

  6. K8s The online rate of cluster nodes reaches 99.9% above , Capacity expansion and efficiency improvement 50%, We did this 3 A deep transformation

    Click to download < Not the same double 11 technology : Alibaba economy cloud original practice > This article is excerpted from < Not the same double 11 technology : Alibaba economy cloud original practice > A Book , Click on the picture above to download ! author | Zhang Zhen ( Guarding the sun ) ...

  7. Deploy K8S colony

    1.Kubernetes 1.1. Concept kubernetes( Often referred to as k8s) For automatic deployment . Open source systems for extending and managing containerized applications . It aims to provide “ Automatic deployment across host clusters . The platform to extend and run the application container ”. Support ...

  8. [ Re posting ] When K8s The cluster has reached the scale of 10000 , How can Alibaba solve the performance problems of all components of the system ?

    Study some other day .   When K8s The cluster has reached the scale of 10000 , How can Alibaba solve the performance problems of all components of the system ...

  9. seventeen ,k8s Cluster indicators API Customize and API

    Catalog Resource indicators : Metrics-Server Resource indicators : Metric-Server Introduce Metric-Server Deploy download yaml file Because there are walls , So download ahead of time image Mirror image , Of course, it can also be repaired manually ...

  10. 1 build K8s colony

    Official website : ...

Random recommendation

  1. WKWebView And JavaScript The foundation of interaction

    login.html Code <!DOCTYPE html> <html> <head> <title> Use JavaScript</title> ...

  2. label Statement and break continue Use ( Chapter three )

    break&&outermost var num = 0; outermost: for(var i=0;i<10;i++){ for(var j=0;j<10;j++){ ...

  3. Web Server performance / Pressure test tools http_load、webbench、ab、Siege Use the tutorial - VPS detective

    Web Server performance / Pressure test tools http_load.webbench.ab.Siege Use the tutorial - VPS detective ...

  4. 9.22 noip Simulation questions

    flood (sliker.cpp/c/pas) 1000MS  64MB It should have rained for several days , But it didn't stop . Local tyrants CCY I just made money from other places 1e Yuan back , I don't know, except for my own villa , Other places will be flooded . CCY ...

  5. Talk about my session Cross domain approach

    scene : A company website has a module ( Test module ) You need to use a separate domain name ( To visit , That is, the website needs to use two different domain names to visit , Like the home page ( And test module ( ...

  6. IntelliJ idea Learning resources

    Work needs , I have to start from Eclipse Transfer to Idea, Found some good learning materials : 1, from eclipse Description of users migrated from : ...

  7. Docker Kubernetes Service Detailed explanation of network service proxy model

    Docker Kubernetes  Service Detailed explanation of network service proxy model Service service It's the realization of kubernetes A service of network communication The main function : Load balancing . Network rules are distributed to specific pod notes ...

  8. python generator 、 Decorator 、 Regular

    Here comes the bun [4], By [mayun] Ate ! Here comes the bun [4], By [mahuateng] Ate ! I made two steamed buns Here comes the bun [5], By [mayun] Ate ! Here comes the bun [5], By [mahuateng] Ate ! Made two bags ...

  9. 【 turn 】【MySql】Update Batch update and batch update of different values of multiple records

    Batch update mysql The update statement is simple , Update a field of a piece of data , It's usually written like this : UPDATE mytable SET myfield = 'value' WHERE other_field = 'other ...

  10. yii2 Of ActiveRecord

    One . Inquire about Returns an array of $cond[] = "and";// The condition array needs to add and, You don't need to add... To a single string . $cond[] = "payTime >= '{$start ...