Browse Source

脚本部署

yangxg 3 năm trước cách đây
mục cha
commit
c350814cc3
3 tập tin đã thay đổi với 3 bổ sung4 xóa
  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