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.
fix issue #5148
Signed-off-by: Kamil Madac kamil.madac@gmail.com
Proposed Changes
There are projects which communicates with kube api server via http/2 protocol only, like https://github.com/gardener/dashboard
But such projects are not working with k3s, because k3s does not have http/2 enabled unlike minikube or original kube-apiserver. This change enables http/2 on k3s-server to be on par with other k8s distributions.
Types of Changes
Enhancement
Verification
We can see that http/2 is used and k3s api returned valid json.
Linked Issues
#5148
User-Facing Change
NONE
Further Comments