k0sproject / k0sproject/k0sctl
Multi controller install fails on OL9
- Dominant language
- Go
- Stars
- 582
- Forks
- 113
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 34
Description
When attempting to install k0s via k0sctl using the multi-controller setup it fails to install, this doesn't happen if only one controller (or controller+worker) and the rest of the nodes are workers. I have tested using node local load balancing and no load balancing but same issue arrises on both cases.
System Information:
os-release
```text
NAME="Oracle Linux Server"
VERSION="9.3"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Oracle Linux Server 9.3"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:9:3:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 9"
ORACLE_BUGZILLA_PRODUCT_VERSION=9.3
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=9.3
```
kernel: `Linux fwd-oracle 5.14.0-362.13.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 21 22:34:57 PST 2023 x86_64 x86_64 x86_64 GNU/Linux`
k0sctl config:
```yaml
apiVersion: k0sctl.k0sproject.io/v1beta1
kind: Cluster
metadata:
name: k0s-cluster
spec:
hosts:
- ssh:
address: 192.168.15.216
user: user
port: 22
keyPath: /home/user/.ssh/id_ed25519
hostname: mc-poc-m1
role: controller+worker
uploadBinary: true
k0sBinaryPath: /usr/local/bin/k0s
files:
- src: /var/lib/k0s/images/k0s-airgap-bundle-v1.28.5.tar
dstDir: /var/lib/k0s/images/
perm: 075
- ssh:
address: 192.168.14.186
user: user
port: 22
keyPath: /home/user/.ssh/id_ed25519
hostname: mc-poc-m2
role: controller+worker
uploadBinary: true
k0sBinaryPath: /usr/local/bin/k0s
files:
- src: /var/lib/k0s/images/k0s-airgap-bundle-v1.28.5.tar
dstDir: /var/lib/k0s/images/
perm: 075
- ssh:
address: 192.168.15.88
user: user
port: 22
keyPath: /home/user/.ssh/id_ed25519
hostname: mc-poc-m3
role: controller+worker
uploadBinary: true
k0sBinaryPath: /usr/local/bin/k0s
files:
- src: /var/lib/k0s/images/k0s-airgap-bundle-v1.28.5.tar
dstDir: /var/lib/k0s/images/
perm: 075
- ssh:
address: 192.168.14.252
user: user
port: 22
keyPath: /home/user/.ssh/id_ed25519
hostname: mc-poc-wq
role: worker
uploadBinary: true
k0sBinaryPath: /usr/local/bin/k0s
files:
- src: /var/lib/k0s/images/k0s-airgap-bundle-v1.28.5.tar
dstDir: /var/lib/k0s/images/
perm: 075
- ssh:
address: 192.168.15.131
user: user
port: 22
keyPath: /home/user/.ssh/id_ed25519
hostname: mc-poc-w2
role: worker
uploadBinary: true
k0sBinaryPath: /usr/local/bin/k0s
files:
- src: /var/lib/k0s/images/k0s-airgap-bundle-v1.28.5.tar
dstDir: /var/lib/k0s/images/
perm: 075
k0s:
version: v1.28.5+k0s.0
dynamicConfig: false
config:
spec:
network:
calico:
mode: vxlan
overlay: always
vxlanPort: 4789
vxlanVNI: 4096
mtu: 0
wireguard: true
clusterDomain: cluster.local
dualStack: {}
kubeProxy:
mode: iptables
podCIDR: 10.244.0.0/16
provider: calico
serviceCIDR: 10.96.0.0/12
nodeLocalLoadBalancing:
enabled: true
type: EnvoyProxy
telemetry:
enabled: false
status: {}
```
logs:
[k0sctl.log](https://github.com/k0sproject/k0sctl/files/14087809/k0sctl.log)
Based on this issue: https://github.com/k0sproject/k0s/issues/3337#issuecomment-1912654654
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.