Skip to content

Commit

Permalink
Configure API server to listen on all addresses
Browse files Browse the repository at this point in the history
Change taken from k8s-lima repo[1]. In my tests it does not make any
difference, posting for testing on other system.

[1] https://github.com/raghavendra-talur/k8s-lima

Thanks: Raghavendra Talur <rtalur@redhat.com>
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
  • Loading branch information
nirs committed Sep 13, 2024
1 parent 655ba97 commit ce3b880
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/drenv/providers/lima/k8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ provision:
kind: ClusterConfiguration
apiVersion: kubeadm.k8s.io/v1beta3
apiServer:
extraArgs:
advertise-address: "0.0.0.0"
certSANs: # --apiserver-cert-extra-sans
- "127.0.0.1"
networking:
Expand Down

0 comments on commit ce3b880

Please sign in to comment.