shell
帅气的人123
专注java和flutter学习进阶
展开
-
fork 项目合并
fork 项目合并 命令谨记 # git基本操作 git add --all git commit -m "你要提交的信息" # 添加远程你 fork 的地址 git remote add upstream git地址 # 查看你的所有远程地址列表 git remote -v # 拉取你的远程地址代码到本地 git fetch upstream # 合并指定分支到本地 git merge upstream/合并的目标分支 # 基础 push git push origin fork的分支 ...原创 2022-04-10 00:18:35 · 660 阅读 · 0 评论 -
k8s deployment
deployment 控制 pod ,使 pod 拥有多副本,自愈,扩缩容能力。 创建 deployment kubectl create deployment 名字 --image=镜像名字 副本设置 kubectl create deployment 名字 --image=镜像名字 --replcas=副本数 查看 deployment kubectl get deploy 删除 deployment kubeclt delete deployment 名字 ...原创 2022-01-09 19:37:51 · 339 阅读 · 0 评论