@@ -61,61 +61,51 @@ spec:
6161 env :
6262 - name : REDISCONNECT_LOGBACK_CONFIG
6363 value : " /opt/redislabs/redis-connect/config/logback.xml"
64- # value: "/opt/redislabs/redis-connect/config/fromconfigmap/logback.xml"
65- - name : REDISCONNECT_CONFIG
64+ # value: "/opt/redislabs/redis-connect/config/fromconfigmap/logback.xml"
65+ - name : REDISCONNECT_JOB_MANAGER_CONFIG_PATH
6666 value : " /opt/redislabs/redis-connect/config/fromconfigmap"
67- - name : REDISCONNECT_REST_API_ENABLED
68- value : " false"
69- - name : REDISCONNECT_REST_API_PORT
70- value : " 8282"
7167 - name : REDISCONNECT_JAVA_OPTIONS
72- value : " -Xms256m -Xmx1g -Dcredentials.rotation.eventlistener.enabled=true"
68+ value : " -Xms1g -Xmx2g"
69+ - name : REDISCONNECT_EXTLIB_DIR
70+ value : " /opt/redislabs/redis-connect/extlib"
7371 volumeMounts :
7472 - name : config-volume
7573 mountPath : /opt/redislabs/redis-connect/config/fromconfigmap # must match env:REDISCONNECT_CONFIG in this file.
76- # - name: custom-stage-volume
77- # mountPath: /opt/redislabs/redis-connect/extlib # Redis Connect expects the custom stage jars here
74+ - name : custom-stage-volume
75+ mountPath : /opt/redislabs/redis-connect/extlib # Redis Connect expects the custom stage jars here
7876 volumes :
7977 - name : config-volume
8078 configMap :
8179 name : redis-connect-config
8280 items :
83- - key : JobConfig.yml
84- path : JobConfig.yml
85- - key : JobManager.yml
86- path : JobManager.yml
87- - key : Setup.yml
88- path : Setup.yml
89- - key : env.yml
90- path : env.yml
91- - key : mapper1.yml
92- path : mappers/mapper1.yml
81+ - key : jobmanager.properties
82+ value : jobmanager.properties
9383# #### uncomment the following six lines if you have custom
9484# transformation implementation and replace the jar with
9585# your own.
9686# ####
97- # - name: custom-stage-volume
98- # configMap:
99- # name: redis-connect-config
100- # items: # define as many custom stages as you have here
101- # - key: redis-connect-custom-stage-demo-1.0-SNAPSHOT.jar
102- # path: redis-connect-custom-stage-demo-1.0-SNAPSHOT.jar
87+ - name : custom-stage-volume
88+ configMap :
89+ name : redis-connect-custom-stage
90+ items : # define as many custom stages as you have here
91+ - key : redis-connect-custom-stage-demo-1.0-SNAPSHOT.jar
92+ path : redis-connect-custom-stage-demo-1.0-SNAPSHOT.jar
10393 # - name: tmpfsdir
10494 # emptyDir: # node-ephemeral volume
10595 # medium: Memory
10696 # - name: redis-connect-pv
10797 # persistentVolumeClaim:
10898 # claimName: redis-connect-pvc
10999---
110- # RedisConnect service with name 'redis-connect-service'
111- # apiVersion: v1
112- # kind: Service
113- # metadata:
114- # name: redis-connect-api-service # name should not be 'redis-connect'
115- # spec:
116- # type: ClusterIP
117- # ports:
118- # - port: 80
119- # targetPort: 8282
120- # selector:
121- # app: redis-connect-api-service
100+ # RedisConnect service with name 'redis-connect-api- service'
101+ apiVersion : v1
102+ kind : Service
103+ metadata :
104+ name : redis-connect-api-service # name should not be 'redis-connect'
105+ spec :
106+ type : ClusterIP
107+ ports :
108+ - port : 80
109+ targetPort : 8282
110+ selector :
111+ app : redis-connect-api-service
0 commit comments