generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 40
Setup docker-compose like k8s deployment #1054
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lewijacn
merged 56 commits into
opensearch-project:main
from
gregschohn:KubernetesExperimentation
Jan 13, 2025
Merged
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
19007a5
Unstructured configs that configure and deploy things to k8s
gregschohn 3e7d858
more k8s & helm experimentation.
gregschohn 785312e
Another checkpoint in slowly (& inconsistently) getting more services…
gregschohn 10fac7d
K8s Checkpoint. With minimal testing, the proxy, ES/OS, grafana seem…
gregschohn f79142e
K8s checkpoint. Working on getting kafka resources deployed as a hel…
gregschohn 0bffeca
Merge branch 'main' into KubernetesExperimentation
gregschohn 0e201c2
Minor cleanup
gregschohn 9c6f6f4
another checkpoint
gregschohn e33f89a
Merge remote-tracking branch 'schohn/KubernetesExperimentation' into …
lewijacn 1cd8782
Experiment with k8 structure pattern
lewijacn 4abd50e
Partial working state for test environment
lewijacn cdbe2b5
Checkpoint - Basic replayer functionality
lewijacn 03e3431
Update services.yaml endpoint
lewijacn 032227b
Basic working Replayer and RFS in local k8
lewijacn 8054cdc
Swap out to use Kafka operator
lewijacn 53057ae
Add opensearch operator (not working)
lewijacn 8614014
Checkpoint after moving to shared volume charts, otel collector in sh…
lewijacn e174444
Add documentation for getting started with K8 and minor changes
lewijacn 29ff913
another checkpoint
gregschohn cc31d0d
Start structure change
lewijacn 9b6115e
Merge branch 'main' into KubernetesExperimentation
gregschohn 5981d40
Merge branch 'KubernetesExperimentation' of github.com:gregschohn/ope…
gregschohn 233ac38
Checkpoint 10-24 fill in structure more, a couple more services need …
lewijacn b1567d4
Modify volume structure and checkpoint
lewijacn 76cab7f
Checkpoint probably working state after refactoring
lewijacn 00001e4
Reorder MA helm chart dependencies
gregschohn c70cf6d
Merge branch 'tanners-initial-k8' into KubernetesExperimentation
gregschohn 0a07d37
Update README for restructuring
lewijacn f9751f9
Move original captureProxy chart from k8s and fold the k8 version int…
gregschohn 38799c3
Cleanup to refactor the common helm helpers and to try to support ins…
gregschohn e6aa8eb
Simple but useful template that can be used JUST to make values templ…
gregschohn 59b0c62
Canonicalize/merge the charts for replayer, PVC components, and MA (o…
gregschohn 4ccc3f1
Checking bugfixes so that the proxy can startup with helm install com…
gregschohn 296886d
excise the roots for the jaeger and prometheus localTesting values so…
gregschohn ff16308
Checkpoint - Further changes that destabilize the helm charts but are…
gregschohn ef3018a
Checkpoint that's working on introducing global/shared configuration …
gregschohn 5fd0b96
Updates for basic AWS EKS testing
lewijacn 901cbfa
Move helmCommon into sharedResources directory
gregschohn bc5ff89
Add camel case parameter names in addition to snake case ones.
gregschohn 156142c
Checkpoint - BulkLoad, Console, and Replayer are coming along as K8s …
gregschohn 2ab2578
Checkpoint to start cleaning up namespaces and unifying namespace man…
gregschohn a4a2011
Checkpoint to start cleaning up namespaces and unifying namespace man…
gregschohn eb0f534
update RFS to accept camel case arguments to make it easier to work w…
gregschohn ea65a87
Checkpoint. With the default values, I can install aggregates/migrat…
gregschohn 1d21b9d
wait for kafka before starting up the capture proxy
gregschohn 8e10ce9
Merge branch 'main' into KubernetesExperimentation
gregschohn 6ba7a39
Merge branch 'KubernetesExperimentation' of github.com:gregschohn/ope…
gregschohn 23038b1
Checkin missing files and fixes so that the replayer, captured traffi…
gregschohn b6d3bae
Refactoring helm charts - especially common templates to be clearer a…
gregschohn 5e51f5b
Refactorings to simplify to helm packages
gregschohn 290edd0
Rough in-progress checkin to get a test console pod setup.
gregschohn 9443402
Merge branch 'tanners-initial-k8' into KubernetesExperimentation
gregschohn 98d4fa3
Remove old code and preserve a few bits that haven't been integrated …
gregschohn 98a3385
Improvements based upon PR feedback.
gregschohn 722b073
Merge branch 'main' into KubernetesExperimentation
gregschohn a31e9dc
PR feedback + a simple bugfix to compensate for the merge bug in helm…
gregschohn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
39 changes: 39 additions & 0 deletions
39
TrafficCapture/dockerSolution/src/main/docker/k8sConfigMapUtilScripts/Dockerfile
This file contains hidden or 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,39 @@ | ||
FROM amazonlinux:2023 | ||
|
||
ENV PIP_ROOT_USER_ACTION ignore | ||
ENV LANG C.UTF-8 | ||
|
||
RUN dnf install -y \ | ||
jq \ | ||
less \ | ||
python3.11 \ | ||
python3.11-devel \ | ||
python3.11-pip \ | ||
python3.11-wheel \ | ||
tar \ | ||
unzip \ | ||
vim \ | ||
wget \ | ||
&& \ | ||
dnf clean all && \ | ||
rm -rf /var/cache/dnf | ||
|
||
# Define the virtual environment path to use for all pipenv runs | ||
ENV WORKON_HOME=/ | ||
ENV PIPENV_CUSTOM_VENV_NAME=.venv | ||
ENV PIPENV_DEFAULT_PYTHON_VERSION=3.11 | ||
ENV PIPENV_MAX_DEPTH=1 | ||
|
||
RUN python3.11 -m pip install pipenv | ||
WORKDIR / | ||
RUN python3.11 -m venv .venv | ||
|
||
WORKDIR /root | ||
COPY Pipfile . | ||
COPY Pipfile.lock . | ||
RUN pipenv install --deploy | ||
|
||
COPY configmap2yaml/* /root/ | ||
RUN chmod ug+x /root/*.py | ||
|
||
ENTRYPOINT ["tail", "-f", "/dev/null"] |
14 changes: 14 additions & 0 deletions
14
TrafficCapture/dockerSolution/src/main/docker/k8sConfigMapUtilScripts/Pipfile
This file contains hidden or 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 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
kubernetes = ">=30.1.0" | ||
pyyaml = ">=6.0.2" | ||
Jinja2 = ">=3.1.4" | ||
|
||
[dev-packages] | ||
|
||
[requires] | ||
python_version = "3.11" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.