kubernetes-learning-playground / imitate-k8s-kubectl-clientgo-apiserver Goto Github PK
View Code? Open in Web Editor NEW模拟k8s中的kubectl与clientgo与apiserver的练习
模拟k8s中的kubectl与clientgo与apiserver的练习
预计:全局初始化多个map,使用scheduler能力 过滤与打分让对象调度到不同的map中
按照k8s的流程,创建出简易的informer
不使用别人的脚手架,直接使用原生的gin启动server与封装http请求
声明式除了create update 之外,还可以有patch功能。 调研一下
可以按照kube-apiserver的写法搞搞,使用cobra封装一层加上 option->config->struct的方式。
使用全局的scheme注册表,所有资源都实现底层的runtime.Object接口。
可以直接调用runtime.Object对象,再结合gvk得到特定资源对象。
ResourceVersion UID CreateTimestamp UpdateTimestamp Labels 等字段的增加
新增用户性质的认证中间件,需要使用token来确认用户。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.