Skip to content

Commit

Permalink
kubelet: Remove quotes from log level argument
Browse files Browse the repository at this point in the history
Error produced in kubelet log on RHEL host:
hyperkube[66517]: F0204 19:10:58.178624   66517 server.go:156] invalid argument "\"3\"" for "-v, --v" flag: strconv.ParseInt: parsing "\"3\"": invalid syntax
  • Loading branch information
mtnbikenc committed Feb 4, 2020
1 parent 09fe53e commit 19dee37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -31,7 +31,7 @@ contents: |
--volume-plugin-dir=/etc/kubernetes/kubelet-plugins/volume/exec \
{{cloudConfigFlag . }} \
--register-with-taints=node-role.kubernetes.io/master=:NoSchedule \
--v="${KUBELET_LOG_LEVEL}"
--v=${KUBELET_LOG_LEVEL}

Restart=always
RestartSec=10
Expand Down
Expand Up @@ -30,7 +30,7 @@ contents: |
--volume-plugin-dir=/etc/kubernetes/kubelet-plugins/volume/exec \
--cloud-provider={{cloudProvider .}} \
{{cloudConfigFlag . }} \
--v="${KUBELET_LOG_LEVEL}"
--v=${KUBELET_LOG_LEVEL}

Restart=always
RestartSec=10
Expand Down

0 comments on commit 19dee37

Please sign in to comment.