k8s in action(03) deploying your first app2021-01-15 约 1626 字 预计阅读 4 分钟3.1 安装k8s集群 使用云厂商提供的k8s服务 kubeadm(https://github.com/kubernetes/kubeadm) 使用Docker Desktop(mac,win) 使用minikube(http://github阅读更多
使用github actions部署博客2021-01-10 约 928 字 预计阅读 2 分钟背景 使用hugo搭建了博客,可以正常运行了。博客分为两个仓库,分别是源代码和编译后的静态文件。 1 2 3 4 # github 1. blog仓库:存放源代码 2. qia阅读更多
k8s in action(02) understanding containers2021-01-02 约 131 字 预计阅读 1 分钟创建docker镜像 创建app.js文件 创建Dockerfile 1 2 3 4 FROMnode:16COPY app.js /app.jsCOPY html/ /htmlENTRYPOINT ["node", "app.js"] 构建: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 # 构建 docker build -t kiada:latest阅读更多
搭建博客2021-01-01 约 43 字 预计阅读 1 分钟安装hugo https://gohugo.io/ 创建博客 1 hugo new site blog 添加主题 1 git submodule add https://github.com/olOwOlo/hugo-theme-even themes/even 创建第一篇文章 1 hugo new post/first_post.md 自定义域名 https://gohugo.io/hosting-and-deployment/hosting-on-github/阅读更多