Skip to content

Hide health check output#569

Merged
mogren merged 1 commit intoaws:release-1.5from
mogren:release-1.5
Aug 5, 2019
Merged

Hide health check output#569
mogren merged 1 commit intoaws:release-1.5from
mogren:release-1.5

Conversation

@mogren
Copy link
Copy Markdown
Contributor

@mogren mogren commented Aug 5, 2019

Issue #, if available: #568

Description of changes:

We are not interested in the log output of the health check, just that it succeeds. Hiding the verbose output from the grpc_health_probe.

Sample output when starting up:

> kubectl logs -f aws-node-xxxxx -n kube-system
====== Starting amazon-k8s-agent ======
Checking if ipamd is serving
Waiting for ipamd health check
Ipamd is up and serving
Copying AWS CNI plugin and config
Node ready, watching ipamd health

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mogren mogren requested review from tiffanyfay and vsiddharth August 5, 2019 19:56
@mogren mogren changed the title Hide healthcheck output Hide health check output Aug 5, 2019
echo "Waiting for ipamd health check";
sleep 1;
done
echo "Ipamd is up and serving"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: s/Ipamd is up and serving/L-IPAMD is up and ready to serve/g

waitIPamDServing

echo "===== Copying AWS CNI plugin and config ========="
echo "Copying AWS CNI plugin and config"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Break this down into two steps

  • Moving the cni-plugin
  • Moving the cni-conf

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fix in master branch.

@mogren mogren merged commit 476ecc6 into aws:release-1.5 Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants