Add kustomization configuration for a px cli demo - #1
Merged
aimichelle merged 11 commits intoMay 25, 2023
Conversation
…e build Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
… existing k8s manifests Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
… data continuously in demo Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
…t waits until cassandra is ready Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
…us, zipkin tracing, etc) Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
ddelnano
force-pushed
the
ddelnano/updates-for-pixie-demo
branch
from
May 25, 2023 21:35
8b8fb6f to
2083255
Compare
ddelnano
commented
May 25, 2023
|
|
||
| FROM nginx:1.19.4 AS runtime | ||
| FROM $DOCKER_HUB/library/nginx:$NGINX_VERSION AS runtime | ||
|
|
Member
Author
There was a problem hiding this comment.
I made this change upstream as well spring-petclinic#15
ddelnano
commented
May 25, 2023
| - 9966:9966 | ||
| - 9967:9967 | ||
| environment: | ||
| CASSANDRA_USE_ASTRA: "false" |
Member
Author
There was a problem hiding this comment.
I tried to keep all of our edits in the kustomization.yaml, however, I found it useful to run the local docker-compose setup. This was the minimum change needed to make docker-compose work without the cloud db they advertise.
ddelnano
commented
May 25, 2023
| "Dog", "Ollie", LocalDate.of(2021, 5, 10)))).subscribe(); | ||
| for (int i = 0; i < 10; i++) | ||
| Mono.from(visitDao.upsert(new VisitEntity(petUuid, UUID.randomUUID(), | ||
| "General check up for Ollie", LocalDate.of(2023, 1, 25)))).subscribe(); |
Member
Author
There was a problem hiding this comment.
This ensures that the load generator container receives data when it makes requests to http://petclinic-backend:9966/petclinic/api/pets.
Member
Author
|
@aimichelle this is ready for review. |
aimichelle
approved these changes
May 25, 2023
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This adds the kustomization config needed to install a px cli demo for a cassandra application. After this is merged, I will follow up with the pixie repo change which will document how to use the kustomized files from this repo and add in the other dependencies (k8ssandra, etc).
Testing done
cd kubernetes; kompose convert -f ../docker-compose.ymlresults in a noop (P397)http://petclinic-backend:9966/petclinic/api/petsendpoint and cassandra database receive constant traffic