kibana也ok了
This commit is contained in:
parent
aec2cd777d
commit
ebc378853c
@ -42,7 +42,7 @@ spec:
|
|||||||
- name: ES_JAVA_OPTS
|
- name: ES_JAVA_OPTS
|
||||||
value: "-Xms6g -Xmx6g"
|
value: "-Xms6g -Xmx6g"
|
||||||
- name: node.roles
|
- name: node.roles
|
||||||
value: "[master, data_hot]"
|
value: "[master, data_hot, data_content]"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "6Gi"
|
memory: "6Gi"
|
||||||
|
@ -22,7 +22,7 @@ spec:
|
|||||||
- containerPort: 5601
|
- containerPort: 5601
|
||||||
env:
|
env:
|
||||||
- name: ELASTICSEARCH_HOSTS
|
- name: ELASTICSEARCH_HOSTS
|
||||||
value: '["http://elasticsearch-0.elasticsearch-service.efk.svc.cluster.local:9200", "http://elasticsearch-1.elasticsearch-service.efk.svc.cluster.local:9200", "http://elasticsearch-2.elasticsearch-service.efk.svc.cluster.local:9200"]'
|
value: "http://elasticsearch-lb.efk.svc.cluster.local:9200"
|
||||||
- name: XPACK_SECURITY_ENCRYPTIONKEY
|
- name: XPACK_SECURITY_ENCRYPTIONKEY
|
||||||
value: "a_secure_random_string_of_32_characters"
|
value: "a_secure_random_string_of_32_characters"
|
||||||
- name: XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY
|
- name: XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY
|
||||||
@ -30,4 +30,4 @@ spec:
|
|||||||
- name: XPACK_REPORTING_ENCRYPTIONKEY
|
- name: XPACK_REPORTING_ENCRYPTIONKEY
|
||||||
value: "yet_another_secure_random_string_of_32_characters"
|
value: "yet_another_secure_random_string_of_32_characters"
|
||||||
- name: ELASTICSEARCH_SERVICEACCOUNTTOKEN
|
- name: ELASTICSEARCH_SERVICEACCOUNTTOKEN
|
||||||
value: "AAEAAWVsYXN0aWMva2liYW5hL215LXRva2VuOlo1dC0xNDFQVHQyajdBeEVtQzZjZ2c"
|
value: ""
|
||||||
|
@ -22,7 +22,7 @@ spec:
|
|||||||
- containerPort: 5601
|
- containerPort: 5601
|
||||||
env:
|
env:
|
||||||
- name: ELASTICSEARCH_HOSTS
|
- name: ELASTICSEARCH_HOSTS
|
||||||
value: '["http://elasticsearch-0.elasticsearch-service.efk.svc.cluster.local:9200", "http://elasticsearch-1.elasticsearch-service.efk.svc.cluster.local:9200", "http://elasticsearch-2.elasticsearch-service.efk.svc.cluster.local:9200"]'
|
value: "http://elasticsearch-lb.efk.svc.cluster.local:9200"
|
||||||
- name: XPACK_SECURITY_ENCRYPTIONKEY
|
- name: XPACK_SECURITY_ENCRYPTIONKEY
|
||||||
value: "a_secure_random_string_of_32_characters"
|
value: "a_secure_random_string_of_32_characters"
|
||||||
- name: XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY
|
- name: XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: NetworkPolicy
|
|
||||||
metadata:
|
|
||||||
name: allow-elasticsearch-communication
|
|
||||||
namespace: efk
|
|
||||||
spec:
|
|
||||||
podSelector:
|
|
||||||
matchLabels:
|
|
||||||
app: elasticsearch
|
|
||||||
policyTypes:
|
|
||||||
- Ingress
|
|
||||||
- Egress
|
|
||||||
ingress:
|
|
||||||
- from:
|
|
||||||
- podSelector:
|
|
||||||
matchLabels:
|
|
||||||
app: elasticsearch
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
port: 9200
|
|
||||||
- protocol: TCP
|
|
||||||
port: 9300
|
|
||||||
egress:
|
|
||||||
- to:
|
|
||||||
- podSelector:
|
|
||||||
matchLabels:
|
|
||||||
app: elasticsearch
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
port: 9200
|
|
||||||
- protocol: TCP
|
|
||||||
port: 9300
|
|
Loading…
x
Reference in New Issue
Block a user