浏览代码

脚本部署

yangxg 3 年之前
父节点
当前提交
c350814cc3
共有 3 个文件被更改,包括 3 次插入4 次删除
  1. 1 1
      .gitignore
  2. 1 2
      deploy-tmp-kafka-manager.yaml
  3. 1 1
      k8s-deploy.sh

+ 1 - 1
.gitignore

@@ -96,4 +96,4 @@ fabric.properties
 
 # Android studio 3.1+ serialized cache file
 .idea/caches/build_file_checksums.ser
-
+.tmp

+ 1 - 2
deploy-tmp-kafka-manager.yaml

@@ -9,9 +9,8 @@ spec:
   type: NodePort
   ports:
   - name: kafka
-    port: 9000
+    port: 80
     targetPort: 9000
-    nodePort: 30031
   selector:
     app: kafka-manager
 ---

+ 1 - 1
k8s-deploy.sh

@@ -83,4 +83,4 @@ echo "git push"
 git push origin master
 
 cd $DEPLOY_HOME || exit
-#rm -rf .tmp
+rm -rf .tmp