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

Updated mode: http2 support #4004

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Updated mode: http2 support #4004

wants to merge 1 commit into from

Conversation

ankit864
Copy link
Contributor

@ankit864 ankit864 commented Jan 10, 2025

Support for HTTP2 mode & updated SmartStack schema.

@ankit864
Copy link
Contributor Author

@@ -1371,7 +1371,7 @@ def get_liveness_probe(
timeout_seconds=timeout_seconds,
)

if mode == "http" or mode == "https":
if mode in ["http", "https", "http2"]:
path = self.get_healthcheck_uri(service_namespace_config)
probe.http_get = V1HTTPGetAction(
path=path, port=self.get_container_port(), scheme=mode.upper()
Copy link
Contributor

Choose a reason for hiding this comment

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

mode.upper() will lead to LivenessProbe w/ scheme=HTTP which isn't supported , so we need to do some conversion here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants