|
@@ -47,7 +47,7 @@ spec:
|
|
|
# topologyKey: kubernetes.io/hostname
|
|
|
containers:
|
|
|
- name: realtime-yuewen
|
|
|
- image: hub.evbj.easou.com/pro/realtime-yuewen:r181337
|
|
|
+ image: hub.evbj.easou.com/pro/realtime-yuewen:r181338
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
env:
|
|
|
- name: MY_NODE_NAME
|
|
@@ -99,21 +99,21 @@ spec:
|
|
|
port: 8080
|
|
|
initialDelaySeconds: 40
|
|
|
periodSeconds: 15
|
|
|
- - image: hub.evbj.easou.com/pro/fluent-bit
|
|
|
- imagePullPolicy: IfNotPresent
|
|
|
- name: fluent-bit
|
|
|
- ports:
|
|
|
- - containerPort: 2020
|
|
|
- name: metrics
|
|
|
- protocol: TCP
|
|
|
- terminationMessagePath: /dev/termination-log
|
|
|
- terminationMessagePolicy: File
|
|
|
- volumeMounts:
|
|
|
- - name: volume #日志同时挂载在nginx和filebeat中
|
|
|
- mountPath: /data
|
|
|
- - name: fluent-bit-config
|
|
|
- mountPath: /opt/bitnami/fluent-bit/conf/fluent-bit.conf
|
|
|
- subPath: fluent-bit.conf
|
|
|
+# - image: hub.evbj.easou.com/pro/fluent-bit
|
|
|
+# imagePullPolicy: IfNotPresent
|
|
|
+# name: fluent-bit
|
|
|
+# ports:
|
|
|
+# - containerPort: 2020
|
|
|
+# name: metrics
|
|
|
+# protocol: TCP
|
|
|
+# terminationMessagePath: /dev/termination-log
|
|
|
+# terminationMessagePolicy: File
|
|
|
+# volumeMounts:
|
|
|
+# - name: volume #日志同时挂载在nginx和filebeat中
|
|
|
+# mountPath: /data
|
|
|
+# - name: fluent-bit-config
|
|
|
+# mountPath: /opt/bitnami/fluent-bit/conf/fluent-bit.conf
|
|
|
+# subPath: fluent-bit.conf
|
|
|
volumes:
|
|
|
- name: fluent-bit-config
|
|
|
configMap:
|