【新增】部署

This commit is contained in:
PandaGoAdmin
2022-01-18 16:21:45 +08:00
parent 692e383f3e
commit b7dc4da946
4 changed files with 4 additions and 4 deletions

View File

@@ -15,9 +15,9 @@ sudo /usr/local/bin/k3s-uninstall.sh
2. 构建Linux执行命令
go build -o pandax .
4. 构建docker镜像 (修改版本号 xmadmin/pandax:v1.0)
docker build -t xmadmin/pandax:v1.0 --rm .
docker build -t xmadmin/pandax:v1.4 --rm .
5. 上传daocker镜像
docker push xmadmin/pandax:v1.0
docker push xmadmin/pandax:v1.4
6. 生成 deploy.yaml
kubectl kustomize deploy/manifest -o deploy/deploy.yaml
7. k8s安装yaml