Let's look at some basic kubectl output options.
Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).
We can start with:
kubectl get no
| #!/bin/sh | |
| # Yet Another bhyve Script v0.4 | |
| # Use this to try and boot 9front, the Plan9 fork. | |
| # Virtio emulation works better (ported drivers) | |
| # PS/2 Mouse emulation requires updated bhyve(8) | |
| # If you don't have it, patch is uploaded with this Gist | |
| # When partitioning, I have had more success with MBR | |
| # GPT may work for some people |
Go's "multiple return values" feature, can be used for several purposes. Among them for failure reporting to the function caller. Go has two conventions for failure reporting, but currently, no clear convention for which to use when. I've encountered different programmers that prefer different choices in different cases. In this article, we will discuss the two, and try to make the process of choosing our next function signature more conscious.