update tob rename tcs to training
parent
2924d1f9ad
commit
4c7a676f14
|
@ -2,19 +2,19 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: elastic-tcs-0
|
||||
name: elastic-training-0
|
||||
spec:
|
||||
storageClassName: elastic-tcs
|
||||
storageClassName: elastic-training
|
||||
capacity:
|
||||
storage: 30Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
local:
|
||||
path: /data/elastic-tcs/es_data
|
||||
path: /data/elastic-training/es_data
|
||||
claimRef:
|
||||
kind: PersistentVolumeClaim
|
||||
namespace: tcs
|
||||
name: elastic-tcs-elastic-0
|
||||
namespace: training
|
||||
name: elastic-training-elastic-0
|
||||
nodeAffinity:
|
||||
required:
|
||||
nodeSelectorTerms:
|
||||
|
@ -28,19 +28,19 @@ spec:
|
|||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: elastic-tcs-1
|
||||
name: elastic-training-1
|
||||
spec:
|
||||
storageClassName: elastic-tcs
|
||||
storageClassName: elastic-training
|
||||
capacity:
|
||||
storage: 30Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
local:
|
||||
path: /data/elastic-tcs/es_data
|
||||
path: /data/elastic-training/es_data
|
||||
claimRef:
|
||||
kind: PersistentVolumeClaim
|
||||
namespace:
|
||||
name: elastic-tcs-elastic-1
|
||||
name: elastic-training-elastic-1
|
||||
nodeAffinity:
|
||||
required:
|
||||
nodeSelectorTerms:
|
||||
|
@ -54,19 +54,19 @@ spec:
|
|||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: elastic-tcs-2
|
||||
name: elastic-training-2
|
||||
spec:
|
||||
storageClassName: elastic-tcs
|
||||
storageClassName: elastic-training
|
||||
capacity:
|
||||
storage: 30Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
local:
|
||||
path: /data/elastic-tcs/es_data
|
||||
path: /data/elastic-training/es_data
|
||||
claimRef:
|
||||
kind: PersistentVolumeClaim
|
||||
namespace: tcs
|
||||
name: elastic-tcs-elastic-2
|
||||
namespace: training
|
||||
name: elastic-training-elastic-2
|
||||
nodeAffinity:
|
||||
required:
|
||||
nodeSelectorTerms:
|
||||
|
@ -104,7 +104,7 @@ spec:
|
|||
securityContext:
|
||||
privileged: true
|
||||
volumeMounts:
|
||||
- name: elastic-tcs
|
||||
- name: elastic-training
|
||||
mountPath: /usr/share/elasticsearch/data
|
||||
containers:
|
||||
- name: elasticsearch
|
||||
|
@ -117,7 +117,7 @@ spec:
|
|||
name: transport
|
||||
env:
|
||||
- name: cluster.name
|
||||
value: bfs-elastic-tcs-1
|
||||
value: bfs-elastic-training-1
|
||||
- name: network.host
|
||||
value: 0.0.0.0
|
||||
- name: node.name
|
||||
|
@ -144,14 +144,14 @@ spec:
|
|||
cpu: 100m
|
||||
memory: 512Mi
|
||||
volumeMounts:
|
||||
- name: elastic-tcs
|
||||
- name: elastic-training
|
||||
mountPath: /usr/share/elasticsearch/data
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: elastic-tcs
|
||||
name: elastic-training
|
||||
spec:
|
||||
accessModes: ['ReadWriteOnce']
|
||||
storageClassName: "elastic-tcs"
|
||||
storageClassName: "elastic-training"
|
||||
resources:
|
||||
requests:
|
||||
storage: 30Gi
|
||||
|
|
|
@ -39,7 +39,7 @@ data:
|
|||
output.kafka:
|
||||
hosts: ["10.2.0.12:30002","10.2.0.12:30003","10.2.0.12:30004"]
|
||||
|
||||
topic: 'beaconfire-logback-tcs'
|
||||
topic: 'beaconfire-logback-training'
|
||||
partition.round_robin:
|
||||
reachable_only: false
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ data:
|
|||
kibana.yml: |-
|
||||
server.name: kibana
|
||||
server.host: 0.0.0.0
|
||||
server.publicBaseUrl: http://kibana-tcs.beaconfireinc.com
|
||||
server.publicBaseUrl: http://kibana-training.beaconfireinc.com
|
||||
elasticsearch.hosts: [ "http://elastic:9200" ]
|
||||
node.options: |-
|
||||
--max-old-space-size=4096
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: elastic-tcs
|
||||
name: elastic-training
|
||||
provisioner: openebs.io/local
|
||||
allowVolumeExpansion: true
|
||||
volumeBindingMode: WaitForFirstConsumer
|
||||
|
|
|
@ -26,9 +26,9 @@ data:
|
|||
connections:
|
||||
kafka-cluster:
|
||||
properties:
|
||||
bootstrap.servers: "kafka.tcs.svc.cluster.local:9092"
|
||||
bootstrap.servers: "kafka.training.svc.cluster.local:9092"
|
||||
schema-registry:
|
||||
url: "http://schemaregistry.tcs.svc.cluster.local:8081"
|
||||
url: "http://schemaregistry.training.svc.cluster.local:8081"
|
||||
type: "confluent"
|
||||
|
||||
---
|
||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
|||
dataVolumeCapacity: 10Gi
|
||||
logVolumeCapacity: 10Gi
|
||||
storageClass:
|
||||
name: tcs-kafka
|
||||
name: training-kafka
|
||||
---
|
||||
apiVersion: platform.confluent.io/v1beta1
|
||||
kind: Kafka
|
||||
|
@ -62,7 +62,7 @@ spec:
|
|||
init: confluentinc/confluent-init-container:2.6.0
|
||||
dataVolumeCapacity: 20Gi
|
||||
storageClass:
|
||||
name: tcs-kafka
|
||||
name: training-kafka
|
||||
metricReporter:
|
||||
enabled: true
|
||||
listeners:
|
||||
|
@ -70,7 +70,7 @@ spec:
|
|||
externalAccess:
|
||||
type: nodePort
|
||||
nodePort:
|
||||
host: kafka-tcs.beaconfireinc.com
|
||||
host: kafka-training.beaconfireinc.com
|
||||
nodePortOffset: 30001
|
||||
# dependencies:
|
||||
# 多个kakfa集群复用zk
|
||||
|
@ -103,5 +103,5 @@ spec:
|
|||
externalAccess:
|
||||
type: nodePort
|
||||
nodePort:
|
||||
host: kafka-tcs.beaconfireinc.com
|
||||
host: kafka-training.beaconfireinc.com
|
||||
nodePortOffset: 30005
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: tcs-kafka
|
||||
name: training-kafka
|
||||
provisioner: openebs.io/local
|
||||
reclaimPolicy: Retain
|
||||
allowVolumeExpansion: true
|
||||
|
|
|
@ -43,7 +43,7 @@ spec:
|
|||
volumes:
|
||||
- name: mongo-data
|
||||
hostPath:
|
||||
path: /data/tcs/mongo
|
||||
path: /data/training/mongo
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
|
|
|
@ -33,7 +33,7 @@ spec:
|
|||
- name: "REDIS_ARGS"
|
||||
value: "--requirepass beaconfire@123"
|
||||
volumeMounts:
|
||||
- name: tcs-redis
|
||||
- name: training-redis
|
||||
mountPath: /data
|
||||
resources:
|
||||
limits:
|
||||
|
@ -59,9 +59,9 @@ spec:
|
|||
successThreshold: 1
|
||||
failureThreshold: 3
|
||||
volumes:
|
||||
- name: tcs-redis
|
||||
- name: training-redis
|
||||
hostPath:
|
||||
path: /data/tcs/redis
|
||||
path: /data/training/redis
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
|
|
Loading…
Reference in New Issue