Giter VIP home page Giter VIP logo

randyou.github.io's People

Contributors

randyou avatar

Watchers

 avatar

randyou.github.io's Issues

Gitlab + Jenkins + Harbor + k8s 实现前端持续集成与部署 | 摸鱼的蜗牛

https://randyou.github.io/2020/07/07/gitlab-jenkins-harbor-k8s/

CI/CD 流程图前提环境已有 Gitlab已有 Jenkins已有 Harbor已有 K8S如果还没有以上的环境,先自行搭建。在 Harbor 中新建一个项目用来管理前端镜像新建 fe 项目进入 fe 项目,新建机器人账号保存令牌信息,将其配置到 Jenkins 中(略)准备一个 Web 项目使用 create-react-app 创建一个 React App,这里就叫 my-app步骤参考 h

k8s 从 Harbor 拉取镜像 | 摸鱼的蜗牛

https://randyou.github.io/2020/06/16/k8s-pull-from-harbor/

创建机器人账户,用来给 k8s 从一个私有项目拉取镜像登录 Harbor进入一个私有项目点击机器人账户页签,添加一个机器人账号输入名称如 test,可以勾选永不过期,权限只需要拉取权限就够了,保存保存后生成一个为 robot$test 的机器人账号和对应的令牌,保存成文件待用。创建 imagePullSecrets方式一:使用命令直接创建harbor-registry-key 是要创建的 secr

Dockerfile 备忘 | 摸鱼的蜗牛

https://randyou.github.io/2020/06/13/dockerfile-memo/

使用多阶段构建多阶段构建有效使用镜像层级缓存,加快构建速度 优先添加变化频率更低的文件,提升缓存命中率 最终镜像中不包含构建阶段使用的工具,大量减小镜像体积 使用更小的基础镜像更小的基础镜像有效节省大量磁盘空间,提高传输效率 使用 alpine 文件系统通常能获得更小的镜像 example12345678910111213FROM node:alpine AS builderWORKDIR &

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.