-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Missing http/2 support in kube-apiserver #5148
Comments
Have you opened an issue with the other project? There's nothing in the Kubernetes spec or conformance tests that requires it to be made available via http/2. |
Yes I did. No reaction so far :(. I created issue here as well to find out more information about the subject like whether is it possible to enable http/2 on k3s side? Or is it necessary to recompile it? Is this difference from original kube-apiserver intentional in order to make binaries smaller? |
fix issue k3s-io#5148 Signed-off-by: Kamil Madac <kamil.madac@gmail.com>
fix issue k3s-io#5148 Signed-off-by: Kamil Madac <kamil.madac@gmail.com>
fix issue #5148 Signed-off-by: Kamil Madac <kamil.madac@gmail.com>
Validated Validated this against VERSION=v1.21.11-rc1+k3s1, VERSION=v1.22.8-rc1+k3s1, and VERSION=v1.23.5-rc1+k3s1 $ kgn
$ uname -a
$ kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot -- /bin/bash
$ kgn
$ kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot -- /bin/bash
$ kgn
$ kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot -- /bin/bash
|
Environmental Info:
K3s Version:
v1.22.6+k3s1 (3228d9c)
Node(s) CPU architecture, OS, and Version:
Linux ubuntu2004.localdomain 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
Single node vagrant VM
Describe the bug:
We need to deploy application (https://github.com/gardener/dashboard) which tries to communicate with k8s via http/2 protocol. That apllication can't run in k3s cluster. We found out that it fails when tries to communicate with kube api via http/2 protocol and for some reason it fails. We can reporoduce the issue with simple curl command.
Steps To Reproduce:
curl -sfL https://get.k3s.io | sh -
kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot -- /bin/bash
curl --http2-prior-knowledge -sSk "https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_PORT_443_TCP_PORT/" -vv
Expected behavior:
request will return
Actual behavior:
Additional context / logs:
No other logs available, but it works as expected on kubernetes deployed by kubespray.
Backporting
The text was updated successfully, but these errors were encountered: