Skip to content
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

fix(issue-230): adding in startupProb to sidecar #234

Merged
merged 5 commits into from
Feb 23, 2024
Merged

Conversation

pattishin
Copy link
Contributor

@pattishin pattishin commented Feb 22, 2024

Fixes: #230

@pattishin pattishin requested a review from a team as a code owner February 22, 2024 19:46
@product-auto-label product-auto-label bot added api: run Issues related to the GoogleCloudPlatform/cloud-run-samples API. samples Issues that are directly related to samples. labels Feb 22, 2024
@pattishin
Copy link
Contributor Author

Checking in on build trigger test failure

@pattishin pattishin force-pushed the fix/issue-230 branch 3 times, most recently from e6340e3 to 3a20dac Compare February 23, 2024 02:08
@@ -40,7 +40,7 @@ then
fi

# Check Cloud Run MC logs for signs of successful request to hello container.
MC_HELLO_LOG=$(gcloud logging read "resource.type=cloud_run_revision AND resource.labels.service_name=${MC_SERVICE_NAME} AND labels.container_name=hello" --limit 1 | grep -e 'Hello from Cloud Run')
MC_HELLO_LOG=$(gcloud logging read "resource.type=cloud_run_revision AND resource.labels.service_name=${MC_SERVICE_NAME} AND labels.container_name=hello" --limit 2 | grep -e 'Hello from Cloud Run')
Copy link
Contributor Author

@pattishin pattishin Feb 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: In tests/e2e-test.sh, updated result limit to 2 to accomodate new startup tcp probe logs now displaying before expected service.

Logs:

  • textPayload: STARTUP TCP probe succeeded after 1 attempt for container "hello" on port 8888.
  • textPayload: 2024/02/2- --:--:-- Hello from Cloud Run! The container started successfully and is listening for HTTP requests on $PORT

@glasnt glasnt merged commit f5d1e8f into main Feb 23, 2024
19 checks passed
@glasnt glasnt deleted the fix/issue-230 branch February 23, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: run Issues related to the GoogleCloudPlatform/cloud-run-samples API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

multi-container sidecar startupProbe error
2 participants