k0sproject / k0sctl

A bootstrapping and management tool for k0s clusters.
Other
390 stars 77 forks source link

Unable to upload files to `/etc/k0s/containerd.d/` #638

Closed onedr0p closed 8 months ago

onedr0p commented 9 months ago

Problem

Hi 👋🏼 I am trying to upload files to the /etc/k0s/containerd.d/ directory using the files in the hosts section but I get the error in the logs section below.

Version

k0sctl version
version: v0.17.4
commit: 372a589

Config

---
apiVersion: k0sctl.k0sproject.io/v1beta1
kind: Cluster
metadata:
  name: k0s-cluster
spec:
  hosts:
    - role: controller+worker
      ssh:
        address: 192.168.42.203
        user: devin
      installFlags:
        - --disable-components=metrics-server
        - --no-taints
      files:
        - name: containerd-config
          src: resources/containerd/
          dstDir: /etc/k0s/containerd.d/
          perm: 0644
          user: root
          group: root
  k0s:
    # renovate: datasource=github-releases depName=k0sproject/k0s
    version: "v1.28.5+k0s.0"
    dynamicConfig: false
    config:
      spec:
        controllerManager:
          extraArgs:
            bind-address: "0.0.0.0" # Required to monitor kube-controller-manager with kube-prometheus-stack
        scheduler:
          extraArgs:
            bind-address: "0.0.0.0" # Required to monitor kube-scheduler with kube-prometheus-stack
        api:
          sans:
            - 192.168.42.203
        network:
          kubeProxy:
            disabled: true
          provider: custom
        extensions:
          helm:
            repositories:
              - name: cilium
                url: https://helm.cilium.io
            charts:
              - name: cilium
                chartname: cilium/cilium
                # renovate: datasource=github-releases depName=cilium/cilium
                version: "1.14.5"
                namespace: kube-system
                values: |2
                  autoDirectNodeRoutes: true
                  bpf:
                    masquerade: true
                  bgp:
                    enabled: false
                  cluster:
                    name: home-cluster
                    id: 1
                  containerRuntime:
                    integration: containerd
                    socketPath: /var/run/k0s/containerd.sock
                  endpointRoutes:
                    enabled: true
                  hubble:
                    enabled: false
                  ipam:
                    mode: kubernetes
                  ipv4NativeRoutingCIDR: 10.42.0.0/16
                  k8sServiceHost: 192.168.42.203
                  k8sServicePort: 6443
                  kubeProxyReplacement: true
                  kubeProxyReplacementHealthzBindAddr: 0.0.0.0:10256
                  l2announcements:
                    enabled: true
                    leaseDuration: 120s
                    leaseRenewDeadline: 60s
                    leaseRetryPeriod: 1s
                  loadBalancer:
                    algorithm: maglev
                    mode: dsr
                  localRedirectPolicy: true
                  operator:
                    replicas: 1
                    rollOutPods: true
                  rollOutCiliumPods: true
                  routingMode: native
                  securityContext:
                    privileged: true

Files

# resources/containerd/spegel.toml
[plugins."io.containerd.grpc.v1.cri".containerd]
  discard_unpacked_layers = false
[plugins."io.containerd.grpc.v1.cri".registry]
  config_path = "/var/lib/k0s/containerd/certs.d"
# resources/containerd/unprivileged-ports.toml
[plugins."io.containerd.grpc.v1.cri"]
  enable_unprivileged_ports = true
  enable_unprivileged_icmp = true

Logs

time="17 Jan 24 15:29 EST" level=info msg="###### New session ######"
time="17 Jan 24 15:29 EST" level=debug msg="Loaded configuration:\n---\napiVersion: k0sctl.k0sproject.io/v1beta1\nkind: Cluster\nmetadata:\n  name: k0s-cluster\nspec:\n  hosts:\n    - role: controller+worker\n      ssh:\n        address: 192.168.42.203\n        user: devin\n      installFlags:\n        - --disable-components=metrics-server\n        - --no-taints\n      files:\n        - name: containerd-config\n          src: resources/containerd/\n          dstDir: /etc/k0s/containerd.d/\n          perm: 0644\n          user: root\n          group: root\n  k0s:\n    # renovate: datasource=github-releases depName=k0sproject/k0s\n    version: \"v1.28.5+k0s.0\"\n    dynamicConfig: false\n    config:\n      spec:\n        telemetry:\n          enabled: false\n        controllerManager:\n          extraArgs:\n            bind-address: \"0.0.0.0\" # Required to monitor kube-controller-manager with kube-prometheus-stack\n        scheduler:\n          extraArgs:\n            bind-address: \"0.0.0.0\" # Required to monitor kube-scheduler with kube-prometheus-stack\n        api:\n          sans:\n            - 192.168.42.203\n        network:\n          kubeProxy:\n            disabled: true\n          provider: custom\n        extensions:\n          helm:\n            repositories:\n              - name: cilium\n                url: https://helm.cilium.io\n            charts:\n              - name: cilium\n                chartname: cilium/cilium\n                # renovate: datasource=github-releases depName=cilium/cilium\n                version: \"1.14.5\"\n                namespace: kube-system\n                values: |2\n                  autoDirectNodeRoutes: true\n                  bpf:\n                    masquerade: true\n                  bgp:\n                    enabled: false\n                  cluster:\n                    name: home-cluster\n                    id: 1\n                  containerRuntime:\n                    integration: containerd\n                    socketPath: /var/run/k0s/containerd.sock\n                  endpointRoutes:\n                    enabled: true\n                  hubble:\n                    enabled: false\n                  ipam:\n                    mode: kubernetes\n                  ipv4NativeRoutingCIDR: 10.42.0.0/16\n                  k8sServiceHost: 192.168.42.203\n                  k8sServicePort: 6443\n                  kubeProxyReplacement: true\n                  kubeProxyReplacementHealthzBindAddr: 0.0.0.0:10256\n                  l2announcements:\n                    enabled: true\n                    leaseDuration: 120s\n                    leaseRenewDeadline: 60s\n                    leaseRetryPeriod: 1s\n                  loadBalancer:\n                    algorithm: maglev\n                    mode: dsr\n                  localRedirectPolicy: true\n                  operator:\n                    replicas: 1\n                    rollOutPods: true\n                  rollOutCiliumPods: true\n                  routingMode: native\n                  securityContext:\n                    privileged: true\n"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: using identity file /Users/devin/.ssh/id_ed25519"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: using identity file /Users/devin/.ssh/id_rsa"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Set k0s version'"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Connect to hosts'"
time="17 Jan 24 15:29 EST" level=info msg="\x1b[32m==> Running phase: Connect to hosts\x1b[0m"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: StrictHostkeyChecking is set to 'no'"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: HashKnownHosts is set to \"no\", won't hash newly added keys"
time="17 Jan 24 15:29 EST" level=debug msg="using SSH_AUTH_SOCK=/var/folders/0z/9mv9kq9934x7hhpxwwvsvgm00000gn/T//ssh-vBWIcSBlHOeJ/agent.2052"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: using an unencrypted private key from /Users/devin/.ssh/id_ed25519"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: using an unencrypted private key from /Users/devin/.ssh/id_rsa"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `uname | grep -q Linux`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `cat /etc/os-release || cat /usr/lib/os-release`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: PRETTY_NAME=\"Debian GNU/Linux 12 (bookworm)\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: NAME=\"Debian GNU/Linux\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: VERSION_ID=\"12\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: VERSION=\"12 (bookworm)\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: VERSION_CODENAME=bookworm"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: ID=debian"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: HOME_URL=\"https://www.debian.org/\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: SUPPORT_URL=\"https://www.debian.org/support\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: BUG_REPORT_URL=\"https://bugs.debian.org/\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `[ \"$(id -u)\" = 0 ]`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -n true`"
time="17 Jan 24 15:29 EST" level=info msg="[ssh] 192.168.42.203:22: connected"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Detect host operating systems'"
time="17 Jan 24 15:29 EST" level=info msg="\x1b[32m==> Running phase: Detect host operating systems\x1b[0m"
time="17 Jan 24 15:29 EST" level=info msg="[ssh] 192.168.42.203:22: is running Debian GNU/Linux 12 (bookworm)"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Acquire exclusive host lock'"
time="17 Jan 24 15:29 EST" level=info msg="\x1b[32m==> Running phase: Acquire exclusive host lock\x1b[0m"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- test -d /run/lock`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `mktemp`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: /tmp/tmp.VbfbZUHB8G"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- cat > \"/tmp/tmp.VbfbZUHB8G\"`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: writing 70 bytes to command stdin: 6102e3fb7567ef557f9200ef205122c9e5353fcb5e357d00f5e6a6652c942cc9-59387"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- mv -n \"/tmp/tmp.VbfbZUHB8G\" \"/run/lock/k0sctl\"`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `test -f \"/tmp/tmp.VbfbZUHB8G\"`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- rm -f \"/tmp/tmp.VbfbZUHB8G\"`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- test -d /run/lock`"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Prepare hosts'"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: started periodic update of lock file /run/lock/k0sctl timestamp"
time="17 Jan 24 15:29 EST" level=info msg="\x1b[32m==> Running phase: Prepare hosts\x1b[0m"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- command -v -- \"curl\" 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: /usr/bin/curl"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- command -v -- \"hostname\" 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: /usr/bin/hostname"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `grep 'container=docker' /proc/1/environ 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Gather host facts'"
time="17 Jan 24 15:29 EST" level=info msg="\x1b[32m==> Running phase: Gather host facts\x1b[0m"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `uname -m`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: x86_64"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `cat /etc/machine-id || cat /var/lib/dbus/machine-id`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: b26da7500fed4ea6b753e2280ed4bf75"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `hostname 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: k8s-test-0"
time="17 Jan 24 15:29 EST" level=info msg="[ssh] 192.168.42.203:22: using k8s-test-0 as hostname"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH; (ip route list scope global | grep -E \"\\b(172|10|192\\.168)\\.\") || (ip route list | grep -m1 default)`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: default via 192.168.42.1 dev eno1"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: 10.244.0.0/24 via 10.244.0.93 dev cilium_host proto kernel src 10.244.0.93"
time="17 Jan 24 15:29 EST" level=info msg="[ssh] 192.168.42.203:22: discovered eno1 as private interface"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH ip -o addr show dev eno1 scope global`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: 2: eno1    inet 192.168.42.203/24 brd 192.168.42.255 scope global dynamic eno1\\       valid_lft 83263sec preferred_lft 83263sec"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Validate hosts'"
time="17 Jan 24 15:29 EST" level=info msg="\x1b[32m==> Running phase: Validate hosts\x1b[0m"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- true`"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Gather k0s facts'"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- command -v -- \"k0s\" 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: /usr/local/bin/k0s"
time="17 Jan 24 15:29 EST" level=info msg="\x1b[32m==> Running phase: Gather k0s facts\x1b[0m"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- /usr/local/bin/k0s version`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: v1.28.5+k0s.0"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: has k0s binary version v1.28.5+k0s.0"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- test -e /etc/k0s/k0s.yaml 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- cat -- /etc/k0s/k0s.yaml 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=info msg="[ssh] 192.168.42.203:22: found existing configuration"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- stat /run/systemd/system`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: File: /run/systemd/system"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: Size: 40        \tBlocks: 0          IO Block: 4096   directory"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: Device: 0,23\tInode: 266         Links: 2"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: Access: 2024-01-17 14:36:41.421440241 -0500"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: Modify: 2024-01-17 14:36:41.373440243 -0500"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: Change: 2024-01-17 14:36:41.373440243 -0500"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: Birth: 2024-01-17 14:36:41.373440243 -0500"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- systemctl show -p FragmentPath k0scontroller.service 2> /dev/null | cut -d\"=\" -f2`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: /etc/systemd/system/k0scontroller.service"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- /usr/local/bin/k0s status -o json`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Version\": \"v1.28.5+k0s.0\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Pid\": 805,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"PPid\": 0,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Role\": \"controller\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"SysInit\": \"\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"StubFile\": \"\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Output\": \"\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Workloads\": true,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"SingleNode\": false,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Args\": ["
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"/usr/local/bin/k0s\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"controller\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"--config=/etc/k0s/k0s.yaml\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"--data-dir=/var/lib/k0s\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"--disable-components=metrics-server\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"--enable-worker=true\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"--no-taints=true\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: ],"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"WorkerToAPIConnectionStatus\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Message\": \"\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Success\": true"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"ClusterConfig\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"metadata\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"name\": \"k0s\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"creationTimestamp\": null"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kind\": \"ClusterConfig\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"apiVersion\": \"k0s.k0sproject.io/v1beta1\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"spec\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"api\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"address\": \"192.168.42.203\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"k0sApiPort\": 9443,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"port\": 6443,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"sans\": ["
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"192.168.42.203\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"127.0.0.1\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: ]"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"controllerManager\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"extraArgs\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"bind-address\": \"0.0.0.0\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"scheduler\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"extraArgs\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"bind-address\": \"0.0.0.0\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"storage\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"etcd\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"externalCluster\": null,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"peerAddress\": \"192.168.42.203\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"type\": \"etcd\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"network\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"calico\": null,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"dualStack\": {},"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kubeProxy\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"disabled\": true,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"mode\": \"iptables\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"metricsBindAddress\": \"0.0.0.0:10249\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"iptables\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"syncPeriod\": \"0s\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"minSyncPeriod\": \"0s\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"ipvs\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"syncPeriod\": \"0s\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"minSyncPeriod\": \"0s\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"tcpTimeout\": \"0s\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"tcpFinTimeout\": \"0s\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"udpTimeout\": \"0s\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kuberouter\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"autoMTU\": true,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"mtu\": 0,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"metricsPort\": 8080,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"hairpin\": \"Enabled\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"ipMasq\": false,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"peerRouterASNs\": \"\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"peerRouterIPs\": \"\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"nodeLocalLoadBalancing\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"type\": \"EnvoyProxy\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"envoyProxy\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/envoy-distroless\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v1.24.12\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"apiServerBindPort\": 7443,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"konnectivityServerBindPort\": 7132"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"podCIDR\": \"10.244.0.0/16\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"provider\": \"custom\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"serviceCIDR\": \"10.96.0.0/12\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"clusterDomain\": \"cluster.local\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"telemetry\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"enabled\": false"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"installConfig\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"users\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"etcdUser\": \"etcd\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kineUser\": \"kube-apiserver\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"konnectivityUser\": \"konnectivity-server\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kubeAPIserverUser\": \"kube-apiserver\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kubeSchedulerUser\": \"kube-scheduler\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"images\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"konnectivity\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/apiserver-network-proxy-agent\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v0.1.4\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"pushgateway\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/pushgateway-ttl\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"1.4.0-k0s.0\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"metricsserver\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"registry.k8s.io/metrics-server/metrics-server\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v0.6.4\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kubeproxy\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/kube-proxy\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v1.28.5\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"coredns\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/coredns\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"1.11.1\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"pause\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"registry.k8s.io/pause\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"3.8\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"calico\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"cni\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/calico-cni\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v3.26.1-1\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"node\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/calico-node\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v3.26.1-1\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kubecontrollers\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/calico-kube-controllers\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v3.26.1-1\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kuberouter\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"cni\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/kube-router\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v1.6.0-iptables1.8.9-1\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"cniInstaller\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/cni-node\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"1.1.1-k0s.1\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"default_pull_policy\": \"IfNotPresent\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"extensions\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"storage\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"type\": \"external_storage\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"create_default_storage_class\": false"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"helm\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"concurrencyLevel\": 5,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"repositories\": ["
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"name\": \"cilium\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"url\": \"https://helm.cilium.io\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"caFile\": \"\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"certFile\": \"\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"insecure\": false,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"keyfile\": \"\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"username\": \"\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"password\": \"\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: ],"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"charts\": ["
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"name\": \"cilium\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"chartname\": \"cilium/cilium\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"1.14.5\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"values\": \"autoDirectNodeRoutes: true\\nbpf:\\n  masquerade: true\\nbgp:\\n  enabled: false\\ncluster:\\n  name: home-cluster\\n  id: 1\\ncontainerRuntime:\\n  integration: containerd\\n  socketPath: /var/run/k0s/containerd.sock\\nendpointRoutes:\\n  enabled: true\\nhubble:\\n  enabled: false\\nipam:\\n  mode: kubernetes\\nipv4NativeRoutingCIDR: 10.42.0.0/16\\nk8sServiceHost: 192.168.42.203\\nk8sServicePort: 6443\\nkubeProxyReplacement: true\\nkubeProxyReplacementHealthzBindAddr: 0.0.0.0:10256\\nl2announcements:\\n  enabled: true\\n  leaseDuration: 120s\\n  leaseRenewDeadline: 60s\\n  leaseRetryPeriod: 1s\\nloadBalancer:\\n  algorithm: maglev\\n  mode: dsr\\nlocalRedirectPolicy: true\\noperator:\\n  replicas: 1\\n  rollOutPods: true\\nrollOutCiliumPods: true\\nroutingMode: native\\nsecurityContext:\\n  privileged: true\\n\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"namespace\": \"kube-system\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"timeout\": 0,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"order\": 0"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: ]"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"konnectivity\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"adminPort\": 8133,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"agentPort\": 8132"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"K0sVars\": {"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"AdminKubeConfigPath\": \"/var/lib/k0s/pki/admin.conf\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"BinDir\": \"/var/lib/k0s/bin\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"CertRootDir\": \"/var/lib/k0s/pki\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"DataDir\": \"/var/lib/k0s\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"EtcdCertDir\": \"/var/lib/k0s/pki/etcd\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"EtcdDataDir\": \"/var/lib/k0s/etcd\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"KineSocketPath\": \"/run/k0s/kine/kine.sock:2379\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"KonnectivitySocketDir\": \"/run/k0s/konnectivity-server\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"KubeletAuthConfigPath\": \"/var/lib/k0s/kubelet.conf\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"KubeletVolumePluginDir\": \"/usr/libexec/k0s/kubelet-plugins/volume/exec\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"ManifestsDir\": \"/var/lib/k0s/manifests\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"RunDir\": \"/run/k0s\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"KonnectivityKubeConfigPath\": \"/var/lib/k0s/pki/konnectivity.conf\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"OCIBundleDir\": \"/var/lib/k0s/images\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"DefaultStorageType\": \"etcd\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"RuntimeConfigPath\": \"/run/k0s/k0s.yaml\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"StatusSocketPath\": \"/run/k0s/status.sock\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"StartupConfigPath\": \"/etc/k0s/k0s.yaml\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"EnableDynamicConfig\": false,"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"HelmHome\": \"/var/lib/k0s/helmhome\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"HelmRepositoryCache\": \"/var/lib/k0s/helmhome/cache\","
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: \"HelmRepositoryConfig\": \"/var/lib/k0s/helmhome/repositories.yaml\""
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- env -i LC_ALL=C stat -c '%s|%y|%a|%F' -- /etc/k0s/containerd.d/spegel.toml`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: remote stat failed: failed to stat /etc/k0s/containerd.d/spegel.toml: command failed: client exec: ssh session wait: Process exited with status 1"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: marked for upgrade because file was changed for upload resources/containerd/spegel.toml"
time="17 Jan 24 15:29 EST" level=info msg="[ssh] 192.168.42.203:22: is running k0s controller+worker version v1.28.5+k0s.0"
time="17 Jan 24 15:29 EST" level=warning msg="[ssh] 192.168.42.203:22: k0s will be upgraded"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- test -e /var/lib/k0s/pki/admin.conf 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- env \"KUBECONFIG=/var/lib/k0s/pki/admin.conf\" /usr/local/bin/k0s kubectl get -n kube-system namespace kube-system -o template={{.metadata.uid}}`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: acc17990-410b-4c3b-91ea-285f454daf97"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Validate facts'"
time="17 Jan 24 15:29 EST" level=info msg="\x1b[32m==> Running phase: Validate facts\x1b[0m"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Download k0s binaries to local host'"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Upload k0s binaries to hosts'"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Download k0s on hosts'"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: k0s version on target host is already v1.28.5+k0s.0"
time="17 Jan 24 15:29 EST" level=debug msg="Preparing phase 'Upload files to hosts'"
time="17 Jan 24 15:29 EST" level=info msg="\x1b[32m==> Running phase: Upload files to hosts\x1b[0m"
time="17 Jan 24 15:29 EST" level=info msg="[ssh] 192.168.42.203:22: uploading containerd-config"
time="17 Jan 24 15:29 EST" level=info msg="[ssh] 192.168.42.203:22: uploading file resources/containerd/spegel.toml => /etc/k0s/containerd.d/spegel.toml (1 of 2)"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: ensuring directory /etc/k0s/containerd.d"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- test -e /etc/k0s/containerd.d 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- env -i LC_ALL=C stat -c '%s|%y|%a|%F' -- /etc/k0s/containerd.d/spegel.toml`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: remote stat failed: failed to stat /etc/k0s/containerd.d/spegel.toml: command failed: client exec: ssh session wait: Process exited with status 1"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `stat --help 2>&1`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `stat -c '%#f %s %.9Y //%n//' -- /etc/k0s/containerd.d/spegel.toml 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `stat -c '%#f %s %.9Y //%n//' -- /etc/k0s/containerd.d 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: 0x41ed 4096 1705520271.822730100 ///etc/k0s/containerd.d//"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `install -m 0644 /dev/null /etc/k0s/containerd.d/spegel.toml`"
time="17 Jan 24 15:29 EST" level=info msg="\x1b[31m* Running clean-up for phase: Acquire exclusive host lock\x1b[0m"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: stopped lock cycle, removing file"
time="17 Jan 24 15:29 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- rm -f -- /run/lock/k0sctl 2> /dev/null`"
time="17 Jan 24 15:29 EST" level=info msg="\x1b[31m==> Apply failed\x1b[0m"
time="17 Jan 24 15:29 EST" level=fatal msg="apply failed - log file saved to /Users/devin/Library/Caches/k0sctl/k0sctl.log: failed on 1 hosts:\n - [ssh] 192.168.42.203:22: invalid path: open remote file /etc/k0s/containerd.d/spegel.toml for writing: open /etc/k0s/containerd.d/spegel.toml: command failed: client exec: ssh session wait: Process exited with status 1"
onedr0p commented 9 months ago

I tried doing it this way too but I also got a error:

Config

      files:
        - name: containerd-spegel
          src: resources/containerd/spegel.toml
          dstDir: /etc/k0s/containerd.d/
          perm: 0644
          user: root
          group: root
        - name: containerd-unprivileged-ports
          src: resources/containerd/unprivileged-ports.toml
          dstDir: /etc/k0s/containerd.d/
          perm: 0644
          user: root
          group: root

Logs

time="17 Jan 24 15:43 EST" level=info msg="###### New session ######"
time="17 Jan 24 15:43 EST" level=debug msg="Loaded configuration:\n---\napiVersion: k0sctl.k0sproject.io/v1beta1\nkind: Cluster\nmetadata:\n  name: k0s-cluster\nspec:\n  hosts:\n    - role: controller+worker\n      ssh:\n        address: 192.168.42.203\n        user: devin\n      installFlags:\n        - --disable-components=metrics-server\n        - --no-taints\n      files:\n        - name: containerd-spegel\n          src: resources/containerd/spegel.toml\n          dstDir: /etc/k0s/containerd.d/\n          perm: 0644\n          user: root\n          group: root\n        - name: containerd-unprivileged-ports\n          src: resources/containerd/unprivileged-ports.toml\n          dstDir: /etc/k0s/containerd.d/\n          perm: 0644\n          user: root\n          group: root\n  k0s:\n    # renovate: datasource=github-releases depName=k0sproject/k0s\n    version: \"v1.28.5+k0s.0\"\n    dynamicConfig: false\n    config:\n      spec:\n        telemetry:\n          enabled: false\n        controllerManager:\n          extraArgs:\n            bind-address: \"0.0.0.0\" # Required to monitor kube-controller-manager with kube-prometheus-stack\n        scheduler:\n          extraArgs:\n            bind-address: \"0.0.0.0\" # Required to monitor kube-scheduler with kube-prometheus-stack\n        api:\n          sans:\n            - 192.168.42.203\n        network:\n          kubeProxy:\n            disabled: true\n          provider: custom\n        extensions:\n          helm:\n            repositories:\n              - name: cilium\n                url: https://helm.cilium.io\n            charts:\n              - name: cilium\n                chartname: cilium/cilium\n                # renovate: datasource=github-releases depName=cilium/cilium\n                version: \"1.14.5\"\n                namespace: kube-system\n                values: |2\n                  autoDirectNodeRoutes: true\n                  bpf:\n                    masquerade: true\n                  bgp:\n                    enabled: false\n                  cluster:\n                    name: home-cluster\n                    id: 1\n                  containerRuntime:\n                    integration: containerd\n                    socketPath: /var/run/k0s/containerd.sock\n                  endpointRoutes:\n                    enabled: true\n                  hubble:\n                    enabled: false\n                  ipam:\n                    mode: kubernetes\n                  ipv4NativeRoutingCIDR: 10.42.0.0/16\n                  k8sServiceHost: 192.168.42.203\n                  k8sServicePort: 6443\n                  kubeProxyReplacement: true\n                  kubeProxyReplacementHealthzBindAddr: 0.0.0.0:10256\n                  l2announcements:\n                    enabled: true\n                    leaseDuration: 120s\n                    leaseRenewDeadline: 60s\n                    leaseRetryPeriod: 1s\n                  loadBalancer:\n                    algorithm: maglev\n                    mode: dsr\n                  localRedirectPolicy: true\n                  operator:\n                    replicas: 1\n                    rollOutPods: true\n                  rollOutCiliumPods: true\n                  routingMode: native\n                  securityContext:\n                    privileged: true\n"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: using identity file /Users/devin/.ssh/id_ed25519"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: using identity file /Users/devin/.ssh/id_rsa"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Set k0s version'"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Connect to hosts'"
time="17 Jan 24 15:43 EST" level=info msg="\x1b[32m==> Running phase: Connect to hosts\x1b[0m"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: StrictHostkeyChecking is set to 'no'"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: HashKnownHosts is set to \"no\", won't hash newly added keys"
time="17 Jan 24 15:43 EST" level=debug msg="using SSH_AUTH_SOCK=/var/folders/0z/9mv9kq9934x7hhpxwwvsvgm00000gn/T//ssh-vBWIcSBlHOeJ/agent.2052"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: using an unencrypted private key from /Users/devin/.ssh/id_ed25519"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: using an unencrypted private key from /Users/devin/.ssh/id_rsa"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `uname | grep -q Linux`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `cat /etc/os-release || cat /usr/lib/os-release`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: PRETTY_NAME=\"Debian GNU/Linux 12 (bookworm)\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: NAME=\"Debian GNU/Linux\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: VERSION_ID=\"12\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: VERSION=\"12 (bookworm)\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: VERSION_CODENAME=bookworm"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: ID=debian"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: HOME_URL=\"https://www.debian.org/\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: SUPPORT_URL=\"https://www.debian.org/support\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: BUG_REPORT_URL=\"https://bugs.debian.org/\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `[ \"$(id -u)\" = 0 ]`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -n true`"
time="17 Jan 24 15:43 EST" level=info msg="[ssh] 192.168.42.203:22: connected"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Detect host operating systems'"
time="17 Jan 24 15:43 EST" level=info msg="\x1b[32m==> Running phase: Detect host operating systems\x1b[0m"
time="17 Jan 24 15:43 EST" level=info msg="[ssh] 192.168.42.203:22: is running Debian GNU/Linux 12 (bookworm)"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Acquire exclusive host lock'"
time="17 Jan 24 15:43 EST" level=info msg="\x1b[32m==> Running phase: Acquire exclusive host lock\x1b[0m"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- test -d /run/lock`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `mktemp`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: /tmp/tmp.4ISCO1oscz"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- cat > \"/tmp/tmp.4ISCO1oscz\"`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: writing 70 bytes to command stdin: 6102e3fb7567ef557f9200ef205122c9e5353fcb5e357d00f5e6a6652c942cc9-59913"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- mv -n \"/tmp/tmp.4ISCO1oscz\" \"/run/lock/k0sctl\"`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `test -f \"/tmp/tmp.4ISCO1oscz\"`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- rm -f \"/tmp/tmp.4ISCO1oscz\"`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- test -d /run/lock`"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Prepare hosts'"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: started periodic update of lock file /run/lock/k0sctl timestamp"
time="17 Jan 24 15:43 EST" level=info msg="\x1b[32m==> Running phase: Prepare hosts\x1b[0m"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- command -v -- \"curl\" 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: /usr/bin/curl"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- command -v -- \"hostname\" 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: /usr/bin/hostname"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `grep 'container=docker' /proc/1/environ 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Gather host facts'"
time="17 Jan 24 15:43 EST" level=info msg="\x1b[32m==> Running phase: Gather host facts\x1b[0m"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `uname -m`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: x86_64"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `cat /etc/machine-id || cat /var/lib/dbus/machine-id`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: b26da7500fed4ea6b753e2280ed4bf75"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `hostname 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: k8s-test-0"
time="17 Jan 24 15:43 EST" level=info msg="[ssh] 192.168.42.203:22: using k8s-test-0 as hostname"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH; (ip route list scope global | grep -E \"\\b(172|10|192\\.168)\\.\") || (ip route list | grep -m1 default)`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: default via 192.168.42.1 dev eno1"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: 10.244.0.0/24 via 10.244.0.93 dev cilium_host proto kernel src 10.244.0.93"
time="17 Jan 24 15:43 EST" level=info msg="[ssh] 192.168.42.203:22: discovered eno1 as private interface"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH ip -o addr show dev eno1 scope global`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: 2: eno1    inet 192.168.42.203/24 brd 192.168.42.255 scope global dynamic eno1\\       valid_lft 82393sec preferred_lft 82393sec"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Validate hosts'"
time="17 Jan 24 15:43 EST" level=info msg="\x1b[32m==> Running phase: Validate hosts\x1b[0m"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- true`"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Gather k0s facts'"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- command -v -- \"k0s\" 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: /usr/local/bin/k0s"
time="17 Jan 24 15:43 EST" level=info msg="\x1b[32m==> Running phase: Gather k0s facts\x1b[0m"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- /usr/local/bin/k0s version`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: v1.28.5+k0s.0"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: has k0s binary version v1.28.5+k0s.0"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- test -e /etc/k0s/k0s.yaml 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- cat -- /etc/k0s/k0s.yaml 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=info msg="[ssh] 192.168.42.203:22: found existing configuration"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- stat /run/systemd/system`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: File: /run/systemd/system"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: Size: 40        \tBlocks: 0          IO Block: 4096   directory"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: Device: 0,23\tInode: 266         Links: 2"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: Access: 2024-01-17 14:36:41.421440241 -0500"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: Modify: 2024-01-17 14:36:41.373440243 -0500"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: Change: 2024-01-17 14:36:41.373440243 -0500"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: Birth: 2024-01-17 14:36:41.373440243 -0500"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- systemctl show -p FragmentPath k0scontroller.service 2> /dev/null | cut -d\"=\" -f2`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: /etc/systemd/system/k0scontroller.service"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- /usr/local/bin/k0s status -o json`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Version\": \"v1.28.5+k0s.0\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Pid\": 805,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"PPid\": 0,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Role\": \"controller\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"SysInit\": \"\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"StubFile\": \"\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Output\": \"\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Workloads\": true,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"SingleNode\": false,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Args\": ["
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"/usr/local/bin/k0s\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"controller\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"--config=/etc/k0s/k0s.yaml\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"--data-dir=/var/lib/k0s\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"--disable-components=metrics-server\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"--enable-worker=true\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"--no-taints=true\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: ],"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"WorkerToAPIConnectionStatus\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Message\": \"\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"Success\": true"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"ClusterConfig\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"metadata\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"name\": \"k0s\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"creationTimestamp\": null"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kind\": \"ClusterConfig\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"apiVersion\": \"k0s.k0sproject.io/v1beta1\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"spec\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"api\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"address\": \"192.168.42.203\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"k0sApiPort\": 9443,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"port\": 6443,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"sans\": ["
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"192.168.42.203\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"127.0.0.1\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: ]"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"controllerManager\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"extraArgs\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"bind-address\": \"0.0.0.0\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"scheduler\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"extraArgs\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"bind-address\": \"0.0.0.0\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"storage\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"etcd\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"externalCluster\": null,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"peerAddress\": \"192.168.42.203\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"type\": \"etcd\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"network\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"calico\": null,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"dualStack\": {},"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kubeProxy\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"disabled\": true,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"mode\": \"iptables\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"metricsBindAddress\": \"0.0.0.0:10249\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"iptables\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"syncPeriod\": \"0s\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"minSyncPeriod\": \"0s\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"ipvs\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"syncPeriod\": \"0s\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"minSyncPeriod\": \"0s\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"tcpTimeout\": \"0s\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"tcpFinTimeout\": \"0s\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"udpTimeout\": \"0s\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kuberouter\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"autoMTU\": true,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"mtu\": 0,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"metricsPort\": 8080,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"hairpin\": \"Enabled\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"ipMasq\": false,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"peerRouterASNs\": \"\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"peerRouterIPs\": \"\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"nodeLocalLoadBalancing\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"type\": \"EnvoyProxy\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"envoyProxy\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/envoy-distroless\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v1.24.12\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"apiServerBindPort\": 7443,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"konnectivityServerBindPort\": 7132"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"podCIDR\": \"10.244.0.0/16\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"provider\": \"custom\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"serviceCIDR\": \"10.96.0.0/12\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"clusterDomain\": \"cluster.local\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"telemetry\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"enabled\": false"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"installConfig\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"users\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"etcdUser\": \"etcd\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kineUser\": \"kube-apiserver\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"konnectivityUser\": \"konnectivity-server\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kubeAPIserverUser\": \"kube-apiserver\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kubeSchedulerUser\": \"kube-scheduler\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"images\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"konnectivity\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/apiserver-network-proxy-agent\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v0.1.4\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"pushgateway\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/pushgateway-ttl\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"1.4.0-k0s.0\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"metricsserver\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"registry.k8s.io/metrics-server/metrics-server\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v0.6.4\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kubeproxy\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/kube-proxy\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v1.28.5\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"coredns\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/coredns\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"1.11.1\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"pause\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"registry.k8s.io/pause\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"3.8\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"calico\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"cni\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/calico-cni\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v3.26.1-1\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"node\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/calico-node\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v3.26.1-1\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kubecontrollers\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/calico-kube-controllers\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v3.26.1-1\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"kuberouter\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"cni\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/kube-router\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"v1.6.0-iptables1.8.9-1\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"cniInstaller\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"image\": \"quay.io/k0sproject/cni-node\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"1.1.1-k0s.1\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"default_pull_policy\": \"IfNotPresent\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"extensions\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"storage\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"type\": \"external_storage\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"create_default_storage_class\": false"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"helm\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"concurrencyLevel\": 5,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"repositories\": ["
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"name\": \"cilium\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"url\": \"https://helm.cilium.io\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"caFile\": \"\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"certFile\": \"\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"insecure\": false,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"keyfile\": \"\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"username\": \"\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"password\": \"\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: ],"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"charts\": ["
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"name\": \"cilium\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"chartname\": \"cilium/cilium\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"version\": \"1.14.5\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"values\": \"autoDirectNodeRoutes: true\\nbpf:\\n  masquerade: true\\nbgp:\\n  enabled: false\\ncluster:\\n  name: home-cluster\\n  id: 1\\ncontainerRuntime:\\n  integration: containerd\\n  socketPath: /var/run/k0s/containerd.sock\\nendpointRoutes:\\n  enabled: true\\nhubble:\\n  enabled: false\\nipam:\\n  mode: kubernetes\\nipv4NativeRoutingCIDR: 10.42.0.0/16\\nk8sServiceHost: 192.168.42.203\\nk8sServicePort: 6443\\nkubeProxyReplacement: true\\nkubeProxyReplacementHealthzBindAddr: 0.0.0.0:10256\\nl2announcements:\\n  enabled: true\\n  leaseDuration: 120s\\n  leaseRenewDeadline: 60s\\n  leaseRetryPeriod: 1s\\nloadBalancer:\\n  algorithm: maglev\\n  mode: dsr\\nlocalRedirectPolicy: true\\noperator:\\n  replicas: 1\\n  rollOutPods: true\\nrollOutCiliumPods: true\\nroutingMode: native\\nsecurityContext:\\n  privileged: true\\n\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"namespace\": \"kube-system\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"timeout\": 0,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"order\": 0"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: ]"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"konnectivity\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"adminPort\": 8133,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"agentPort\": 8132"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: },"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"K0sVars\": {"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"AdminKubeConfigPath\": \"/var/lib/k0s/pki/admin.conf\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"BinDir\": \"/var/lib/k0s/bin\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"CertRootDir\": \"/var/lib/k0s/pki\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"DataDir\": \"/var/lib/k0s\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"EtcdCertDir\": \"/var/lib/k0s/pki/etcd\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"EtcdDataDir\": \"/var/lib/k0s/etcd\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"KineSocketPath\": \"/run/k0s/kine/kine.sock:2379\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"KonnectivitySocketDir\": \"/run/k0s/konnectivity-server\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"KubeletAuthConfigPath\": \"/var/lib/k0s/kubelet.conf\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"KubeletVolumePluginDir\": \"/usr/libexec/k0s/kubelet-plugins/volume/exec\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"ManifestsDir\": \"/var/lib/k0s/manifests\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"RunDir\": \"/run/k0s\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"KonnectivityKubeConfigPath\": \"/var/lib/k0s/pki/konnectivity.conf\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"OCIBundleDir\": \"/var/lib/k0s/images\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"DefaultStorageType\": \"etcd\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"RuntimeConfigPath\": \"/run/k0s/k0s.yaml\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"StatusSocketPath\": \"/run/k0s/status.sock\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"StartupConfigPath\": \"/etc/k0s/k0s.yaml\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"EnableDynamicConfig\": false,"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"HelmHome\": \"/var/lib/k0s/helmhome\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"HelmRepositoryCache\": \"/var/lib/k0s/helmhome/cache\","
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: \"HelmRepositoryConfig\": \"/var/lib/k0s/helmhome/repositories.yaml\""
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: }"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- env -i LC_ALL=C stat -c '%s|%y|%a|%F' -- /etc/k0s/containerd.d/spegel.toml`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: remote stat failed: failed to stat /etc/k0s/containerd.d/spegel.toml: command failed: client exec: ssh session wait: Process exited with status 1"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: marked for upgrade because file was changed for upload resources/containerd/spegel.toml"
time="17 Jan 24 15:43 EST" level=info msg="[ssh] 192.168.42.203:22: is running k0s controller+worker version v1.28.5+k0s.0"
time="17 Jan 24 15:43 EST" level=warning msg="[ssh] 192.168.42.203:22: k0s will be upgraded"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- test -e /var/lib/k0s/pki/admin.conf 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- env \"KUBECONFIG=/var/lib/k0s/pki/admin.conf\" /usr/local/bin/k0s kubectl get -n kube-system namespace kube-system -o template={{.metadata.uid}}`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: acc17990-410b-4c3b-91ea-285f454daf97"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Validate facts'"
time="17 Jan 24 15:43 EST" level=info msg="\x1b[32m==> Running phase: Validate facts\x1b[0m"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Download k0s binaries to local host'"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Upload k0s binaries to hosts'"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Download k0s on hosts'"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: k0s version on target host is already v1.28.5+k0s.0"
time="17 Jan 24 15:43 EST" level=debug msg="Preparing phase 'Upload files to hosts'"
time="17 Jan 24 15:43 EST" level=info msg="\x1b[32m==> Running phase: Upload files to hosts\x1b[0m"
time="17 Jan 24 15:43 EST" level=info msg="[ssh] 192.168.42.203:22: uploading containerd-spegel"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: ensuring directory /etc/k0s/containerd.d"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- test -e /etc/k0s/containerd.d 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- env -i LC_ALL=C stat -c '%s|%y|%a|%F' -- /etc/k0s/containerd.d/spegel.toml`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: remote stat failed: failed to stat /etc/k0s/containerd.d/spegel.toml: command failed: client exec: ssh session wait: Process exited with status 1"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `stat --help 2>&1`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `stat -c '%#f %s %.9Y //%n//' -- /etc/k0s/containerd.d/spegel.toml 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `stat -c '%#f %s %.9Y //%n//' -- /etc/k0s/containerd.d 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: 0x41ed 4096 1705520271.822730100 ///etc/k0s/containerd.d//"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `install -m 0644 /dev/null /etc/k0s/containerd.d/spegel.toml`"
time="17 Jan 24 15:43 EST" level=info msg="\x1b[31m* Running clean-up for phase: Acquire exclusive host lock\x1b[0m"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: stopped lock cycle, removing file"
time="17 Jan 24 15:43 EST" level=debug msg="[ssh] 192.168.42.203:22: executing `sudo -s -- rm -f -- /run/lock/k0sctl 2> /dev/null`"
time="17 Jan 24 15:43 EST" level=info msg="\x1b[31m==> Apply failed\x1b[0m"
time="17 Jan 24 15:43 EST" level=fatal msg="apply failed - log file saved to /Users/devin/Library/Caches/k0sctl/k0sctl.log: failed on 1 hosts:\n - [ssh] 192.168.42.203:22: invalid path: open remote file /etc/k0s/containerd.d/spegel.toml for writing: open /etc/k0s/containerd.d/spegel.toml: command failed: client exec: ssh session wait: Process exited with status 1"
onedr0p commented 9 months ago

Updating the config to this worked:

      files:
        - name: containerd-config
          src: resources/containerd/
          perm: 0644
          user: root
          group: root
      hooks:
        apply:
          before:
            - sudo mv ~/spegel.toml /etc/k0s/containerd.d/spegel.toml
            - sudo mv ~/unprivileged-ports.toml /etc/k0s/containerd.d/unprivileged-ports.toml

I am curious why this is needed and shouldn't the files section only be needed? The files section can definitely sudo chown the files as root but it appears from that error log that it cannot move them to a folder owned by root?

kke commented 9 months ago

Yes, the install command that is used to put the file into the destination dir does not use sudo. Maybe it should.

onedr0p commented 9 months ago

@kke it looks like the code already does this?

https://github.com/k0sproject/k0sctl/blob/51a07a325b46008145c2853f03debfd2b6423d8c/phase/uploadfiles.go#L70

I am also confused how I am able to successfully omit the dstDir and dst here because the code shouldn't let me do that?

https://github.com/k0sproject/k0sctl/blob/51a07a325b46008145c2853f03debfd2b6423d8c/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster/uploadfile.go#L36-L42

I am on a Mac M2 using v0.17.4:372a589 version. Something seems funky I have some friends who are on Linux using the same version and they get the following error which I cannot replicate by omitting dstDir and dst

FATA configuration validation failed: spec: (hosts: host #1: files: (0: (dst: dst or dstdir required; dstDir: dst or dstdir required.).)..).
kke commented 9 months ago

@kke it looks like the code already does this?

Yes, but the file creation part wasn't using sudo.

Something seems funky

That does seem funky indeed. The validation is kind of unnecessary since it can just upload the file to ~/<srcfilename> when both destination fields are empty.

onedr0p commented 9 months ago

That does seem funky indeed. The validation is kind of unnecessary since it can just upload the file to ~/ when both destination fields are empty.

That is the behavior I see on my Macbook M2. However my Linux buddies get the error that dst or dstDir must be set.

onedr0p commented 8 months ago

I have settled on using Talos so I am not using k0s anymore and likely won't in the future. If someone else comes across this, please open a new issue.

Maybe I will check back on it if it ever donated to the CNCF.

danielskowronski commented 4 months ago

This may be some weird quirk caused by https://github.com/golang/go/issues/61779 and the fact Golang devs interpreted POSIX different way than Apple (https://forums.developer.apple.com/forums/thread/734230)

We also have a weird case where it works on M1, but not on M2.