Giter Site home page Giter Site logo

kubernetes-learning-playground / imitate-k8s-kubectl-clientgo-apiserver Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 351 KB

模拟k8s中的kubectl与clientgo与apiserver的练习

Go 99.87% Shell 0.13%
kubectl kubernetes client-go golang kubernetes-apiserver

imitate-k8s-kubectl-clientgo-apiserver's People

Contributors

googs1025 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

okeas gdzy1987

imitate-k8s-kubectl-clientgo-apiserver's Issues

feat: 接入调度框架

预计:全局初始化多个map,使用scheduler能力 过滤与打分让对象调度到不同的map中

feat: cobra封装一层

可以按照kube-apiserver的写法搞搞,使用cobra封装一层加上 option->config->struct的方式。

feat: 新增scheme注册表

使用全局的scheme注册表,所有资源都实现底层的runtime.Object接口。
可以直接调用runtime.Object对象,再结合gvk得到特定资源对象。

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.