Explorar o código

deploy pro/offline-process-promotion:r169932 shutdown时,关闭线程池优化

datard %!s(int64=3) %!d(string=hai) anos
pai
achega
626ad2e3b7
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      deploy-tmp.yaml

+ 3 - 3
deploy-tmp.yaml

@@ -98,7 +98,7 @@ spec:
           imagePullPolicy: IfNotPresent
           name: filebeat
           volumeMounts:
-            - name: my-volume #日志同时挂载在nginx和filebeat中
+            - name: volume #日志同时挂载在nginx和filebeat中
               mountPath: /data
             - name: filebeat-config
               mountPath: /usr/share/filebeat/filebeat.yml
@@ -113,13 +113,13 @@ spec:
 
   volumeClaimTemplates:
     - metadata:
-        name: my-volume
+        name: volume
       spec:
         accessModes: [ "ReadWriteOnce" ]
         storageClassName: rbd
         resources:
           requests:
-            storage: 200Gi
+            storage: 100Gi
 ---
 apiVersion: v1
 kind: Service