Giter Club home page Giter Club logo

cloud-kernel's Introduction

Open source experience

  • When I was in college, I wrote Tetris based on the terminal. I didn't rely on any UI library, and I played color blocks on the screen, erased color blocks, and moved the cursor. . .
  • The first project with more than 500 stars is lhttp is a websocket framework. At that time, golang basically had no very useful frameworks. .
  • I like Go so I wrote a Go project webgo using canvas. .
  • Founder of sealos, a cloud operating system with kubernetes as the core.
  • The founder of sealer
  • laf is a FaaS platform.

cloud-kernel's People

Contributors

cuisongliu avatar fanux avatar oldthreefeng avatar ysicing avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cloud-kernel's Issues

ubuntu优化

Ubuntu系统的错误不用管,1:加上#!/bin/bash,因为Ubuntu的Shell不是这个,默认执行会出错。2:不要拷贝sealos,都是下载最新的了。3:setenforce一般不装。4:Ubuntu的防火墙不是firewall

兼容alios

[ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist

这个错误需要加载内核模块 modprobe br_netfilter
alios上不会创建docker0需要自己手动创建

modprobe br_netfilter
echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables
ip link add name docker0 type bridge
ip addr add dev docker0 172.17.0.1/16

https://github.com/fanux/cloud-kernel/blob/master/kube/shell/docker.sh#L27 这里类型需要加上 alios

删除sealos导致测试失败

remotecmd "sealos init --master $master0 --master $master1 --master $master2 \

sshcmd sealos command
1149	2020-09-18 17:00:32 [INFO] [github.com/fanux/sealos/install/utils.go:98] [47.242.135.178]exec cmd is : sealos init --master 172.31.243.102 --master 172.31.243.103 --master 172.31.243.104     --node 172.31.243.105 --passwd Fanux#123 --version v1.19.2 --pkg-url /tmp/kube1.19.2.tar.gz
1150	2020-09-18 17:00:35 [DEBG] [github.com/fanux/sealos/install/utils.go:111] [47.242.135.178]command result is: bash: sealos: command not found
1151	
1152	2020-09-18 17:00:35 [EROR] [github.com/fanux/sealos/install/utils.go:114] [47.242.135.178]Error exec command failed: Process exited with status 127
1153	[CHECK] wait for everything ok
1154	2020-09-18 17:01:15 [INFO] [github.com/fanux/sealos/install/utils.go:98] [8.210.11.196]exec cmd is : kubectl get node && kubectl get pod --all-namespaces
1155	2020-09-18 17:01:17 [DEBG] [github.com/fanux/sealos/install/utils.go:111] [8.210.11.196]command result is: bash: kubectl: command not found
1156	
1157	2020-09-18 17:01:17 [EROR] [github.com/fanux/sealos/install/utils.go:114] [8.210.11.196]Error exec command failed: Process exited with status 127

新版本rootfs定义

.
├── Metadata # k8s版本信息,体系结构信息等
├── README.md
├── bin  # 二进制文件, 都会被拷贝到每个节点的/usr/bin下面
│   ├── crictl
│   ├── conntrack
│   ├── kubeadm
│   ├── kubectl
│   └── kubelet
├── etc  # 配置文件,Clusterfile里的全局变量在配置初始化时会渲染到这些配置中
│   ├── 10-kubeadm.conf 【必选】
|   ├── Clusterfile.tmpl 【可选】默认的Clusterfile文件,可覆盖
│   ├── docker.service # 【可选】如果是其它CRI即可不需要
│   ├── kubeadm.yaml.tmpl # 【可选】默认的kubeadm配置,可覆盖
│   └── kubelet.service # 【必选】
├── cni
│    └── calico
|          └── calico.yaml.tmpl # 覆盖代码中默认calico模板
├── staticPod
|      ├── master
|      |    └── webhook.yaml.tmpl
|      └── woker
|            └──lvscare.yaml.tmpl
├── images # 安装集群需要导入的镜像,通常是k8s依赖的系统组件级别的镜像
│   └── images.tar
└── scripts  # 脚本,Clusterfile里的全局变量在执行这些脚本时会变成环境变量
    ├── init.sh #【必选】
    └── kubelet-pre-start.sh #【必选】kubelet启动依赖

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.