K3s Service CIDR

Hi all,

I configured service-cidr in “/etc/rancher/k3s/config.yaml” like below:

services:
kube-api:
# IP range for any services created on Kubernetes
# # This must match the service_cluster_ip_range in kube-controller
service_cluster_ip_range: 10.254.32.0/22
kube-controller:
# CIDR pool used to assign IP addresses to pods in the cluster
cluster_cidr: 10.42.0.0/24
# # IP range for any services created on Kubernetes
# # This must match the service_cluster_ip_range in kube-api
service_cluster_ip_range: 10.254.32.0/22
kubelet:
cluster_dns_server: 10.254.32.10

But when I start “k3s server” I got the error messages below. Do It be necessary any additional configuration for kubernetes services to get their IP addresses in range “10.254.32.0/22” ?

E1010 22:49:39.990635 36520 repair.go:250] the cluster IP [IPv4]:10.43.0.1 for service kubernetes/default is not within the service CIDR 10.254.32.0/22; please recreate
E1010 22:49:39.990664 36520 repair.go:250] the cluster IP [IPv4]:10.43.0.10 for service kube-dns/kube-system is not within the service CIDR 10.254.32.0/22; please recreate
E1010 22:49:39.992290 36520 repair.go:250] the cluster IP [IPv4]:10.43.49.237 for service metrics-server/kube-system is not within the service CIDR 10.254.32.0/22; please recreate
E1010 22:49:40.006364 36520 repair.go:250] the cluster IP [IPv4]:10.43.0.1 for service kubernetes/default is not within the service CIDR 10.254.32.0/22; please recreate
E1010 22:49:40.006397 36520 repair.go:250] the cluster IP [IPv4]:10.43.0.10 for service kube-dns/kube-system is not within the service CIDR 10.254.32.0/22; please recreate
E1010 22:49:40.007541 36520 repair.go:250] the cluster IP [IPv4]:10.43.49.237 for service metrics-server/kube-system is not within the service CIDR 10.254.32.0/22; please recreate