forked from opensearch-project/opensearch-migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify volume structure and checkpoint
Signed-off-by: Tanner Lewis <lewijacn@amazon.com>
- Loading branch information
Showing
25 changed files
with
231 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,26 @@ | ||
# Default values for capture proxy. | ||
replicaCount: 1 | ||
image: | ||
repository: migrations/capture_proxy | ||
pullPolicy: IfNotPresent | ||
tag: "latest" | ||
service: | ||
type: LoadBalancer | ||
port: 9201 # Port exposed to external | ||
targetPort: 9200 # Container port | ||
container: | ||
command: > | ||
/runJavaWithClasspath.sh org.opensearch.migrations.trafficcapture.proxyserver.CaptureProxy | ||
--kafkaConnection kafka-cluster-kafka-bootstrap:9092 | ||
--destinationUri https://elasticsearch:19200 | ||
--insecureDestination | ||
--listenPort 9200 | ||
--sslConfigFile /usr/share/elasticsearch/config/proxy_tls.yml | ||
--otelCollectorEndpoint http://localhost:4317 | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: v2 | ||
name: elasticsearch-searchguard | ||
description: A Helm chart to install Elasticsearch with Searchguard | ||
type: application | ||
version: 0.1.0 | ||
appVersion: "1.16.0" |
File renamed without changes.
File renamed without changes.
27 changes: 27 additions & 0 deletions
27
deployment/k8/services/elasticsearch-searchguard/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Default values for elasticsearch-searchguard. | ||
replicaCount: 1 | ||
image: | ||
repository: migrations/elasticsearch_searchguard | ||
pullPolicy: IfNotPresent | ||
tag: "latest" | ||
service: | ||
type: LoadBalancer | ||
port: 19200 # Port exposed to external | ||
targetPort: 9200 # Container port | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
env: | ||
- name: path.repo | ||
value: "/storage/snapshot" | ||
volumes: | ||
- name: snapshot-vol | ||
persistentVolumeClaim: | ||
claimName: snapshot-vol-pvc | ||
volumeMounts: | ||
- name: snapshot-vol | ||
mountPath: /storage |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
# Configuration for Strimzi Kafka Operator | ||
clusterName: kafka-cluster | ||
kafkaVersion: 3.8.0 | ||
kafkaMetadataVersion: 3.8-IV0 | ||
nodePool: | ||
replicas: 1 | ||
volume: | ||
size: 10Gi | ||
deleteClaim: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
deployment/k8/services/migration-console/migration_services.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
source_cluster: | ||
endpoint: "https://capture-proxy:9201" | ||
allow_insecure: true | ||
basic_auth: | ||
username: "admin" | ||
password: "admin" | ||
target_cluster: | ||
endpoint: "https://opensearch-cluster-master:9200" | ||
allow_insecure: true | ||
basic_auth: | ||
username: "admin" | ||
password: "myStrongPassword123!" | ||
metrics_source: | ||
prometheus: | ||
endpoint: "http://prometheus:9090" | ||
backfill: | ||
reindex_from_snapshot: | ||
docker: | ||
replay: | ||
docker: | ||
snapshot: | ||
snapshot_name: "rfs-snapshot" | ||
fs: | ||
repo_path: "/storage/snapshot" | ||
otel_endpoint: "http://localhost:4317" | ||
metadata_migration: | ||
from_snapshot: | ||
min_replicas: 0 | ||
otel_endpoint: "http://localhost:4317" | ||
kafka: | ||
broker_endpoints: "kafka-cluster-kafka-bootstrap:9092" | ||
standard: "" |
14 changes: 14 additions & 0 deletions
14
deployment/k8/services/migration-console/templates/configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: services-yaml-config-map | ||
data: | ||
{{- (.Files.Glob "migration_services.yaml").AsConfig | nindent 2 }} | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: test-env | ||
data: | ||
STAGE: 'dev' |
Oops, something went wrong.