fanux

fanux

卷得卷中卷,方为人上人 wechat: fangnux

Member Since 7 years ago

@alibaba, Hangzhou.China

Experience Points
616
follower
Lessons Completed
46
follow
Lessons Completed
794
stars
Best Reply Awards
70
repos

616 contributions in the last year

Pinned
⚡ 一条命令离线安装高可用kubernetes,3min装完,700M,100年证书,生产环境稳如老狗
⚡ Seal your applications all dependencies and kubernetes into CloudImage! Build Deliver and Run user-defined clusters in one command.
⚡ go websocket, a better way to buid your IM server
⚡ Lightweight Kubernetes manager
⚡ c++ terminal tetris game. 俄罗丝方块,c++版
⚡ An Efficient Enterprise-class Container Engine
Activity
Nov
26
2 days ago
push

fanux push AdaLam7/Grants-Program

fanux
fanux

Add dotpay, a opensource payment platform by pokadot.

commit sha: 426793f8670e8e1859b68e092b772c2d03610142

push time in 2 days ago
Activity icon
commit_comment

alibaba/sealer

Activity icon
commit_comment

alibaba/sealer

open pull request

fanux wants to merge alibaba/sealer

fanux
fanux

Doc: add golang .so plugin

Describe what this PR does / why we need it

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

fanux
fanux

rename file name to develop out of tree plugin

pull request

fanux merge to alibaba/sealer

fanux
fanux

Doc: add golang .so plugin

Describe what this PR does / why we need it

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

push

fanux push alibaba/sealer

fanux
fanux

feature: add out of tree plugin (#892)

commit sha: b01c64e007d1c01836c5793e65e0c5b60c690932

push time in 2 days ago
pull request

fanux pull request alibaba/sealer

fanux
fanux

feature: add out of tree plugin

Describe what this PR does / why we need it

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

pull request

fanux merge to alibaba/sealer

fanux
fanux

feature: add out of tree plugin

Describe what this PR does / why we need it

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

Activity icon
issue

fanux issue comment alibaba/sealer

fanux
fanux

Using registry SDK to cache docker images

We can integrate registry core code to cache docker images. So not need pull/push the image.

fanux
fanux
type SaveImage interface {
      Save(dir, imageName string) error
}

This interface can direct save docker image into /registry dir. Then when start a registry mount the /registry dir, we can pull the docker image from the private registry.

open pull request

fanux wants to merge alibaba/sealer

fanux
fanux

improve kyverno docs

Describe what this PR does / why we need it

this PR add some contents to documents about kyverno

fanux
fanux

Kyverno base image is not out of box, one of the basic official base image.

pull request

fanux merge to alibaba/sealer

fanux
fanux

improve kyverno docs

Describe what this PR does / why we need it

this PR add some contents to documents about kyverno

open pull request

fanux wants to merge alibaba/sealer

fanux
fanux

improve kyverno docs

Describe what this PR does / why we need it

this PR add some contents to documents about kyverno

fanux
fanux

introduce -> integrate

for safety reasons not only for safety reasons, offline delivery also needs this feature.

pull request

fanux merge to alibaba/sealer

fanux
fanux

improve kyverno docs

Describe what this PR does / why we need it

this PR add some contents to documents about kyverno

Nov
25
3 days ago
Activity icon
issue

fanux issue alibaba/sealer

fanux
fanux

Using registry SDK to cache docker images

We can integrate registry core code to cache docker images. So not need pull/push the image.

Activity icon
issue

fanux issue comment alibaba/sealer

fanux
fanux

kyverno can't affect Pods created by Kubefile CMD

What happened:

The kyverno can't affect Pods created by Kubefile CMD. For example, when build a cloud image based on kubernetes-raw_docker-kyverno:v1.19.8

The Kubefile: FROM kubernetes-raw_docker-kyverno:v1.19.8 CMD kubectl run ubuntuPod --image=ubuntu

Build success, then use this cloud image to run a cluster, run success, too. The ubuntuPod created but cann't running, that's all right. What's strange is when I execute "kubectl describe pod ubuntuPod", output shows that ubuntuPod wants to pull image "ubuntu", not "sea.hub:5000/library/ubuntu". It seems that kyverno not affect this pod.

To compare, after "sealer run" finish, execute "kubectl run ubuntuTest --image=ubuntu" at master node, then "kubectl describe pod ubuntuTest", output shows that ubuntuTest wants to pull image "sea.hub:5000/library/ubuntu"

What you expected to happen:

The pod ubuntuPod pull image "sea.hub:5000/library/ubuntu" instead of "ubuntu"

fanux
fanux

kyverno already start?

Activity icon
issue

fanux issue comment alibaba/sealer

fanux
fanux

【Clusterfile v2】runtime module upgrade

fanux
fanux
  1. https://github.com/alibaba/sealer/blob/main/pkg/runtime/init.go#L54 load kubeadm config, then upgrade some field, like kubeproxy config, certSANS etc...
  2. https://github.com/alibaba/sealer/blob/main/pkg/runtime/init.go#L187 set k.JoinToken, k.TokenCaCertHash, k.CertificateKey in kubeadm join config.
  3. https://github.com/alibaba/sealer/blob/main/pkg/runtime/masters.go#L460 set join master config.
  4. https://github.com/alibaba/sealer/blob/main/pkg/runtime/nodes.go#L40 generate join node config.
started
started time in 3 days ago
push

fanux push fanux/sealer

fanux
fanux

add runtime v2 join master

commit sha: 3a3cfe8220384bc513e4d1604bd77ab23351b0b0

push time in 3 days ago
push

fanux push fanux/sealer

fanux
fanux

add runtime v2 join master

commit sha: ec733be933811b64f7ec27631c2025f5a241dff9

push time in 3 days ago
push

fanux push fanux/sealer

fanux
fanux

add runtime v2 join master

commit sha: 91b30dabeaa59d3aaa2e3a78aeb6294515e54980

push time in 3 days ago
push

fanux push fanux/sealer

fanux
fanux

add runtime v2 join master

commit sha: ad006b55f4224463356f3330b98463b4dbac2ab2

push time in 3 days ago
push

fanux push fanux/sealer

fanux
fanux

add runtime v2 join master

commit sha: 456c8adf5d1b76559fcbb554f68b526a88fe26af

push time in 3 days ago
push

fanux push fanux/sealer

fanux
fanux

add runtime v2 join master

commit sha: 18b7c86ef9bd97cc05a59e182080c8c93b28613e

push time in 3 days ago
push

fanux push fanux/sealer

fanux
fanux

add runtime v2 join master

commit sha: 6a64ac5e6ada0c82742e73a83ef386ae7f83d31b

push time in 3 days ago
open pull request

fanux wants to merge alibaba/sealer

fanux
fanux

[wip] clusterfile v2 upgrade runtime, add init module

fanux
fanux

Fixed it using errChan:

if err != nil {
	errCh <- fmt.Errorf("[%s] link static file failed, error:%s", host, err.Error())
}
pull request

fanux merge to alibaba/sealer

fanux
fanux

[wip] clusterfile v2 upgrade runtime, add init module

Previous