Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra \x20 in the service file #659

Open
stevefan1999-personal opened this issue Feb 19, 2024 · 3 comments
Open

Extra \x20 in the service file #659

stevefan1999-personal opened this issue Feb 19, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@stevefan1999-personal
Copy link

ExecStart=/usr/local/bin/k0s controller --config=/etc/k0s/k0s.yaml --data-dir=/var/lib/k0s --enable-k0s-cloud-provider=true --enable-worker=true --k0s-cloud-provider-update-frequency=30s --kube-controller-manager-extra-args=--v=0\x20--logging-format=json --kubelet-extra-args=--v=0\x20--node-ip=100.64.0.136\x20--hostname-override=xxxx--no-taints=true --token-file=/etc/k0s/k0stoken
  - role: controller+worker
    noTaints: true
    privateAddress: 100.64.0.136
    hostname: xxxx
    ssh:
      address: xxxx
      user: root
    installFlags:
    - --kubelet-extra-args="--v=0"
    - --kube-controller-manager-extra-args="--v=0 --logging-format=json"
    - --enable-k0s-cloud-provider=true
    - --k0s-cloud-provider-update-frequency 30s

Not sure why

@kke kke added the bug Something isn't working label Feb 19, 2024
@kke
Copy link
Contributor

kke commented Feb 19, 2024

Interesting. It's also possible this happens in k0s install, do you happen to have the debug log line where k0sctl runs sudo k0s install controller .......?

@stevefan1999-personal
Copy link
Author

Interesting. It's also possible this happens in k0s install, do you happen to have the debug log line where k0sctl runs sudo k0s install controller .......?

time="19 Feb 24 12:31 CST" level=debug msg="[ssh] xxxx:22: executing `/usr/local/bin/k0s install controller --kubelet-extra-args=\"--v=0 --node-ip=100.64.0.136 --hostname-override=xxxx\" --kube-controller-manager-extra-args=\"--v=0 --logging-format=json\" --enable-k0s-cloud-provider=true --k0s-cloud-provider-update-frequency 30s --data-dir=/var/lib/k0s --enable-worker --no-taints --token-file \"/etc/k0s/k0stoken\" --config \"/etc/k0s/k0s.yaml\"`"

@kke
Copy link
Contributor

kke commented Feb 19, 2024

Looks like it left k0sctl correctly, maybe the problem is in k0s, but that should have been noticed earlier. Need to investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants