Giter VIP home page Giter VIP logo

pixiu's Introduction

Pixiu(貔貅) Overview

Pixiu 旨在对 kubernetes 原生功能的补充和强化

  • 提供 kubernetes 层面的镜像管理能力

    • 可通过 kubectlclient-go 对集群中的 images 进行管理
    # kubectl get imgs
    NAME         AGE   IMAGE
    image-test   33h   nginx:1.9.2
    
    • 通过注释,在创建 deployment 等资源的时候,开启镜像拉取功能,自动在指定 node 完成镜像准备
  • 无状态应用的分批发布

    # kubectl get advancedDeployment
    NAME         READY   UP-TO-DATE   AVAILABLE   AGE
    example-ad   3       3            3           4d2h
    
  • 通过注释的方式,新增 deploymentstatefulset 的自动扩缩容能力

Installing (demo版)

pixiu 安装非常简单,通过 kubectl 执行 apply 如下文件即可完成安装,真正做到猩猩都能使用.

# 安装 crds
kubectl apply -f config/crds

# 安装控制器
kubectl apply -f config/deploy

然后通过 kubectl get pod -n pixiu-system 能看到 pixiu 已经启动成功.

# kubectl get all -n pixiu-system
NAME                                            READY   STATUS    RESTARTS   AGE
pod/pixiu-controller-manager-859c8b94f6-9f8bh   1/1     Running   0          10m
pod/pixiu-daemon-7qf27                          1/1     Running   0          4m40s

构建

  • 代码生成 make client-gen
  • 编译二进制执行文件 make build(如果希望编译特定 app,请带上 WHAT=${app_name} 参数)
  • 构建镜像 make image(如果希望构建特定 app 镜像,请带上 WHAT=${app_name} 参数)

pixiu's People

Contributors

caoyingjunz avatar hohenser avatar crazytaxii avatar darianjmy avatar

Watchers

James Cloos avatar

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.