Skip to content

Commit

Permalink
Start structure change
Browse files Browse the repository at this point in the history
Signed-off-by: Tanner Lewis <[email protected]>
  • Loading branch information
lewijacn committed Oct 24, 2024
1 parent e174444 commit cc31d0d
Show file tree
Hide file tree
Showing 70 changed files with 302 additions and 315 deletions.
46 changes: 0 additions & 46 deletions deployment/k8/capture-proxy/templates/deployment.yml

This file was deleted.

56 changes: 0 additions & 56 deletions deployment/k8/capture-proxy/values.yaml

This file was deleted.

Binary file not shown.
31 changes: 0 additions & 31 deletions deployment/k8/elasticsearch/values.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions deployment/k8/environments/full-environment/Chart.lock

This file was deleted.

40 changes: 0 additions & 40 deletions deployment/k8/environments/full-environment/Chart.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions deployment/k8/environments/full-environment/values.yaml

This file was deleted.

9 changes: 9 additions & 0 deletions deployment/k8/migration-assistant/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
dependencies:
- name: migration-console
repository: file://../services/migration-console
version: 0.1.0
- name: capture-proxy
repository: file://../services/capture-proxy
version: 0.1.0
digest: sha256:7897ada3193d874398b7fdc67a8f45eeb650302c190fe07ef9b29494d678e2f2
generated: "2024-10-23T20:35:14.098691-05:00"
40 changes: 40 additions & 0 deletions deployment/k8/migration-assistant/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apiVersion: v2
name: migration-assistant
version: 0.1.0
dependencies:
# - name: elasticsearch
# version: "0.1.0"
# repository: "file://../services/elasticsearch"
# - name: opensearch-helm
# version: "0.1.0"
# repository: "file://../services/opensearch-helm"
# - name: kafka-op
# version: "0.1.0"
# repository: "file://../services/kafka-op"
- name: migration-console
version: "0.1.0"
repository: "file://../services/migration-console"
# - name: replayer
# version: "0.1.0"
# repository: "file://../services/replayer"
- name: capture-proxy
version: "0.1.0"
repository: "file://../services/capture-proxy"
# - name: reindex-from-snapshot
# version: "0.1.0"
# repository: "file://../services/reindex-from-snapshot"
# - name: shared-logs-vol
# version: "0.1.0"
# repository: "file://../services/shared/shared-logs-vol"
# - name: snapshot-vol
# version: "0.1.0"
# repository: "file://../services/shared/snapshot-vol"
# - name: jaeger
# version: "0.1.0"
# repository: "file://../services/jaeger"
# - name: prometheus
# version: "0.1.0"
# repository: "file://../services/prometheus"
# - name: grafana
# version: "0.1.0"
# repository: "file://../services/grafana"
65 changes: 65 additions & 0 deletions deployment/k8/migration-assistant/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@

migration-console:
enabled: true
replicaCount: 1
image:
repository: migrations/migration_console
pullPolicy: IfNotPresent
tag: "latest"
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
env:
SHARED_LOGS_DIR_PATH: /shared-logs-output/traffic-replayer-default
volumes:
# For minikube required: minikube mount <local_path>/opensearch-migrations:/opensearch-migrations
- name: services-yaml
hostPath:
path: /opensearch-migrations/TrafficCapture/dockerSolution/src/main/docker/migrationConsole/lib/console_link/services.yaml
type: File
- name: shared-logs
persistentVolumeClaim:
claimName: shared-logs-pvc
- name: snapshot-vol
persistentVolumeClaim:
claimName: snapshot-vol-pvc
volumeMounts:
- name: services-yaml
mountPath: /etc/migration_services.yaml
- name: shared-logs
mountPath: /shared-logs-output
- name: snapshot-vol
mountPath: /storage

capture-proxy:
enabled: true
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

6 changes: 0 additions & 6 deletions deployment/k8/migration-console/Chart.lock

This file was deleted.

46 changes: 0 additions & 46 deletions deployment/k8/migration-console/templates/deployment.yml

This file was deleted.

Loading

0 comments on commit cc31d0d

Please sign in to comment.