# RKE generated kube-proxy configuration

**URL:** <https://forums.suse.com/t/rke-generated-kube-proxy-configuration/12238>\
**Category:** SUSE Rancher Prime\
**Created:** [November 2, 2018, 7:04pm UTC](https://forums.suse.com/t/rke-generated-kube-proxy-configuration/12238 "2018-11-02T19:04:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eroji](https://avatars.discourse-cdn.com/v4/letter/e/7c8e57/32.png) [@eroji](https://forums.suse.com/u/eroji)\
**Post date:** [November 2, 2018, 7:04pm UTC](https://forums.suse.com/t/rke-generated-kube-proxy-configuration/12238/1 "2018-11-02T19:04:16Z")

</div>

The RKE generated kube-proxy configuration indicates that the API server connection URL is [https://127.0.0.1:6443](https://127.0.0.1:6443) on all nodes. I am trying to wrap my head around how this is supposed to work, especially in a HA environment with multiple controlplane/master nodes. The vanilla Kubernetes configuration produced by kubeadm for instance puts one of the master node as the server URL, but if you have multi-master setup you then go edit the deployment YAML and replace that URL with one that is load-balanced among the master nodes.

```
apiVersion: v1
kind: Config
clusters:
- cluster:
    api-version: v1
    certificate-authority: /etc/kubernetes/ssl/kube-ca.pem
    server: "https://127.0.0.1:6443"
  name: "local"
contexts:
- context:
    cluster: "local"
    user: "kube-proxy-local"
  name: "local"
current-context: "local"
users:
- name: "kube-proxy-local"
  user:
    client-certificate: /etc/kubernetes/ssl/kube-proxy.pem
    client-key: /etc/kubernetes/ssl/kube-proxy-key.pem
```
