Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def perform_operations_after_backfill_migration(self):

def perform_operations_during_live_capture_migration(self):
self.target_operations.get_document(cluster=self.target_cluster, index_name=self.index_name,
doc_id=self.doc_id3, max_attempts=10, delay=3.0)
doc_id=self.doc_id3, max_attempts=20, delay=3.0)
self.target_operations.get_document(cluster=self.target_cluster, index_name=self.index_name,
doc_id=self.doc_id4, max_attempts=10, delay=3.0)
doc_id=self.doc_id4, max_attempts=20, delay=3.0)


class Test0005MultiTypeSplitMigration(MATestBase):
Expand Down Expand Up @@ -183,6 +183,6 @@ def perform_operations_after_backfill_migration(self):

def perform_operations_during_live_capture_migration(self):
self.target_operations.get_document(cluster=self.target_cluster, index_name=self.split_index_name1,
doc_id=self.doc_id3, max_attempts=10, delay=3.0)
doc_id=self.doc_id3, max_attempts=20, delay=3.0)
self.target_operations.get_document(cluster=self.target_cluster, index_name=self.split_index_name2,
doc_id=self.doc_id4, max_attempts=10, delay=3.0)
doc_id=self.doc_id4, max_attempts=20, delay=3.0)
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ shared-configs:
directEndpoint: "http://elasticsearch-master:9200"
allowInsecure: true
authType: "no_auth"
version: "5.6.16"
version: "ES_7.10"
targetCluster:
allowRuntimeOverride: true
object:
Expand All @@ -32,7 +32,7 @@ shared-configs:
basicAuthPassword: "myStrongPassword123!"
# Should be in sync with above username/password
basicAuthHeader: "Basic YWRtaW46bXlTdHJvbmdQYXNzd29yZDEyMyE="
version: "2.16.0"
version: "OS_2.16"
kafkaBrokers:
allowRuntimeOverride: false
object:
Expand All @@ -51,7 +51,7 @@ shared-configs:
minReplicas: 0
metadataType: "from_snapshot"
#otelEndpoint: "http://localhost:4317"
sourceClusterVersion: "ES_5.6"
sourceClusterVersion: "ES_7.10"
# metricsSource:
# allowRuntimeOverride: false
# object:
Expand Down Expand Up @@ -111,7 +111,7 @@ bulk-document-loader:
configMapKey: "basicAuthPassword"
sourceVersion:
source: parameterConfig
value: "ES_5.6"
value: "ES_7.10"
allowRuntimeOverride: true
docTransformerConfigFile:
source: parameterConfig
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{{ $mountName := "all-configs" }}
{{ $envVarMountName := "env-vars" }}
{{ $sharedLogsVolumeEnabled := false }}
{{ $sharedLogsVolumeEnabled := .Values.sharedLogsVolumeEnabled }}
{{ $snapshotVolumeEnabled := .Values.snapshotVolumeEnabled }}
{{ $developerModeEnabled := .Values.developerModeEnabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -47,9 +48,10 @@ spec:
mountPath: /config
- name: {{ $envVarMountName }}
mountPath: /shared
{{/* Enable if developing the console library */}}
{{/* - name: local-console-link*/}}
{{/* mountPath: /root/lib/console_link*/}}
{{- if $developerModeEnabled }}
- name: local-console-libs
mountPath: /root/lib
{{- end }}
{{- if $snapshotVolumeEnabled }}
- name: snapshot-volume
mountPath: /snapshot
Expand All @@ -59,10 +61,12 @@ spec:
emptyDir: { }
- name: merged-config
emptyDir: { }
{{/* - name: local-console-link*/}}
{{/* hostPath:*/}}
{{/* path: /opensearch-migrations/TrafficCapture/dockerSolution/src/main/docker/migrationConsole/lib/console_link*/}}
{{/* type: Directory*/}}
{{- if $developerModeEnabled }}
- name: local-console-libs
hostPath:
path: /opensearch-migrations/TrafficCapture/dockerSolution/src/main/docker/migrationConsole/lib
type: Directory
{{- end }}
{{- if $sharedLogsVolumeEnabled }}
- name: shared-logs
persistentVolumeClaim:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
developerModeEnabled: false
sharedLogsVolumeEnabled: false
sharedLogsPvc: ""
snapshotVolumeEnabled: false
Expand Down
Loading