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

[Release-1.27] - Disable http/grpc mux for etcd #8427

Closed
brandond opened this issue Sep 25, 2023 · 1 comment
Closed

[Release-1.27] - Disable http/grpc mux for etcd #8427

brandond opened this issue Sep 25, 2023 · 1 comment
Assignees
Milestone

Comments

@brandond
Copy link
Contributor

Backport fix for Disable http/grpc mux for etcd

@mdrahman-suse
Copy link

mdrahman-suse commented Oct 16, 2023

Validated on release-1.27 branch with commit bd04941

Environment Details

Infrastructure

  • Cloud
  • Hosted

Node(s) CPU architecture, OS, and Version:

Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-1031-aws x86_64)

Cluster Configuration:

1 server

Config.yaml:

write-kubeconfig-mode: 644
cluster-init: true
node-external-ip: <public-ip>

Testing Steps

  1. Copy config.yaml
$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s
  1. Install k3s
  2. Wait for the cluster to be up and running
  3. Check the logs using: $ sudo journalctl -u k3s | grep "Running http"
  4. Ensure no error message is displayed

Replication Results:

  • k3s version used for replication:
$ k3s -v
k3s version v1.27.6+k3s1 (bd04941a)
go version go1.20.8
  • Observed warn message in logs
$ sudo journalctl -u k3s | grep "Running http"
Oct 16 18:20:26 ip-xxx-xx-xx-230 k3s[1728]: {"level":"warn","ts":"2023-10-16T18:20:26.042449Z","caller":"embed/config.go:673","msg":"Running http and grpc server on single port. This is not recommended for production."}
Oct 16 18:20:26 ip-xxx-xx-xx-230 k3s[1728]: {"level":"warn","ts":"2023-10-16T18:20:26.042761Z","caller":"embed/config.go:673","msg":"Running http and grpc server on single port. This is not recommended for production."}

Validation Results:

  • k3s version used for validation:
$ k3s -v
k3s version v1.27.6+k3s-78e57bc9 (78e57bc9)
go version go1.20.8
  • Observed NO warn message in logs
$ sudo journalctl -u k3s | grep "Running http"
ubuntu@ip-xxx-xx-xx-230:~$

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

No branches or pull requests

3 participants