-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add kustomization configuration for a px cli demo #1
Add kustomization configuration for a px cli demo #1
Conversation
…e build Signed-off-by: Dom Del Nano <[email protected]>
Signed-off-by: Dom Del Nano <[email protected]>
… existing k8s manifests Signed-off-by: Dom Del Nano <[email protected]>
Signed-off-by: Dom Del Nano <[email protected]>
Signed-off-by: Dom Del Nano <[email protected]>
Signed-off-by: Dom Del Nano <[email protected]>
… data continuously in demo Signed-off-by: Dom Del Nano <[email protected]>
…t waits until cassandra is ready Signed-off-by: Dom Del Nano <[email protected]>
Signed-off-by: Dom Del Nano <[email protected]>
…us, zipkin tracing, etc) Signed-off-by: Dom Del Nano <[email protected]>
Signed-off-by: Dom Del Nano <[email protected]>
8b8fb6f
to
2083255
Compare
@@ -27,7 +30,8 @@ RUN echo "export const environment = {production: false, REST_API_URL: 'http:// | |||
# Use the DIST folder to package an image with NGINX. | |||
#################################################################### | |||
|
|||
FROM nginx:1.19.4 AS runtime | |||
FROM $DOCKER_HUB/library/nginx:$NGINX_VERSION AS runtime | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made this change upstream as well spring-petclinic#15
@@ -25,6 +26,7 @@ services: | |||
- 9966:9966 | |||
- 9967:9967 | |||
environment: | |||
CASSANDRA_USE_ASTRA: "false" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
"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(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This ensures that the load generator container receives data when it makes requests to http://petclinic-backend:9966/petclinic/api/pets
.
@aimichelle this is ready for review. |
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.yml
results in a noop (P397)http://petclinic-backend:9966/petclinic/api/pets
endpoint and cassandra database receive constant traffic