How to permanently adjust configuration of included services like metrics-server? #4586
-
I have a small k3s cluster which I've installed in a non-default way, and this has provoked an issue with the default configuration of the included I understand that modifying the manifest found under In my case the problem is that I've took advantage of the possibility of using different interfaces for external and internal networking, but Server nodecluster-domain: "deimos.cluster.io"
tls-san:
- "k3sserver01.deimos.cloud"
flannel-backend: host-gw
flannel-iface: "ens19"
bind-address: "0.0.0.0"
https-listen-port: 6443
advertise-address: "10.0.0.1"
advertise-port: 6443
node-ip: "10.0.0.1"
node-external-ip: "200.0.0.5"
node-taint:
- "k3s-controlplane=true:NoExecute"
log: "/var/log/k3s.log"
disable:
- servicelb
protect-kernel-defaults: true
secrets-encryption: true
agent-token: "someStrangePassword" Agent nodeflannel-iface: "ens19"
node-ip: "10.0.0.11"
node-external-ip: "200.0.0.11"
server: "https://10.0.0.1:6443"
token: "serverPrefix::node:someStrangePassword"
log: "/var/log/k3s.log"
protect-kernel-defaults: true |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
No, there is no other way. The official answer would be to not use the integrated metrics server and deploy it manually. |
Beta Was this translation helpful? Give feedback.
No, there is no other way. The official answer would be to not use the integrated metrics server and deploy it manually.