-
Notifications
You must be signed in to change notification settings - Fork 527
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3793 +/- ##
==========================================
- Coverage 73.21% 73.19% -0.03%
==========================================
Files 148 148
Lines 25385 25394 +9
==========================================
+ Hits 18586 18587 +1
- Misses 5663 5671 +8
Partials 1136 1136
Continue to review full report at Codecov.
|
b77d611
to
62ed2cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Just some optional suggestions.
@@ -50,20 +50,21 @@ | |||
}, | |||
{ | |||
"name": "node-problem-detector", | |||
"enabled": true | |||
"enabled": false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😢 oh well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is just temporary :)
ETCD_SERVER_PRIVATE_KEY_PATH="/etc/kubernetes/certs/etcdserver.key" | ||
touch "${ETCD_SERVER_PRIVATE_KEY_PATH}" | ||
local apiserver_key="/etc/kubernetes/certs/apiserver.key" ca_key="/etc/kubernetes/certs/ca.key" etcdserver_key="/etc/kubernetes/certs/etcdserver.key" | ||
touch "${apiserver_key}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
touch
takes multiple arguments, so these three commands could be a one-liner for a savings of...drumroll...12 bytes.
ETCD_PEER_PRIVATE_KEY_PATH="/etc/kubernetes/certs/etcdpeer${NODE_INDEX}.key" | ||
touch "${ETCD_PEER_PRIVATE_KEY_PATH}" | ||
local etcdclient_key="/etc/kubernetes/certs/etcdclient.key" etcdpeer_key="/etc/kubernetes/certs/etcdpeer${NODE_INDEX}.key" | ||
touch "${etcdclient_key}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, this could be
touch "${etcdclient_key}" "${etcdpeer_key}"
and so on below...
echo "${ETCD_SERVER_CERTIFICATE}" | base64 --decode >"${ETCD_SERVER_CERTIFICATE_PATH}" | ||
echo "${ETCD_CLIENT_CERTIFICATE}" | base64 --decode >"${ETCD_CLIENT_CERTIFICATE_PATH}" | ||
echo "${ETCD_PEER_CERT}" | base64 --decode >"${ETCD_PEER_CERTIFICATE_PATH}" | ||
echo "${APISERVER_PRIVATE_KEY}" | base64 --decode >"${apiserver_key}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
base64 -d
could save some bytes if we're ok with the short argument style.
dkms remove -m nvidia -v $GPU_DV -k $KERNEL_NAME | ||
local d="/var/lib/dkms/nvidia/${GPU_DV}" k log_file="/var/log/nvidia-installer-$(date +%s).log" | ||
k=$(uname -r) | ||
if [ -d $d ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shortening these variable names makes things less readable, but these changes are mostly localized so I suppose it's tolerable. Whatever is necessary to save bytes.
local path="/usr/bin" | ||
CONTAINER_IMAGE=${ETCD_DOWNLOAD_URL}etcd:v${ETCD_VERSION} | ||
pullContainerImage $CLI_TOOL ${CONTAINER_IMAGE} | ||
local v |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra space here. 🙀
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackfrancis, mboersma The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hold merge until we get a new VHD built and merged from this commit, so that we can undo the E2E cluster config changes. |
09f4fe6
to
41b57cd
Compare
New changes are detected. LGTM label has been removed. |
41b57cd
to
802b5c7
Compare
Flatcar config regressed:
|
Reason for Change:
Yes, this is a chore.
Reducing customData (Azure ARM template cloud-init payload) via:
Issue Fixed:
Requirements:
Notes: