Transient network issue at container start when using istio (solution: holdApplicationUntilProxyStarts)

I was setting up an app on a kubernetes cluster that had istio configured as a service mesh, and I run into an issue: as the application starts, it attempts to communicate to another service over the network (doesn’t matter if it’s an external service or something running on the same cluster), and it fails. However when I kubectl exec into the container, I can successfully reach the same service. What’s going on and how to solve it?

Read more

A look at life insurance in Japan

I’m starting a family, so I’ve been recently thinking about life insurance to ensure they won’t have financial hardship if I pass early. In this article I’ll review what I found. Please remember that I’m not a professional, and none of this is financial or tax advice. As always, do your own research.

Read more

Investing plans with the upcoming new NISA

From 2024, Japan’s tax-free investment system, NISA, is getting a major overhaul. Investments made within the system are tax-free (no dividend and capital gain tax), with the only major limitation on yearly and lifetime contribution limits, and that a third of the limits can only be used for mutual funds. This is not a retirement scheme, and there is no penalty for selling early. In this post I will review how I plan to invest from 2024.

Read more

istio-proxy 'NR filter_chain_not_found' / upstream connect error or disconnect/reset before headers. reset reason: connection termination

I deployed a vendor’s software on kubernetes and the website showed this error message:

upstream connect error or disconnect/reset before headers. reset reason: connection termination

Looking at the istio-proxy sidecar logs on the Pod I could see an error message:

kubectl logs -c istio-proxy app-ui-543875cf14-a2b33
[2023-08-09T06:06:22.268Z] "- - -" 0 NR filter_chain_not_found - "-" 0 0 0 - "-" "-" "-" "-" "-" - - - -
Read more

How to get all repositories of an enterprise on GitHub Enterprise Cloud

GitHub Enterprise Cloud is an enterprise version of “designed for large businesses or teams who collaborate on”(source). There is a strong emphasis on security, which extends to strong limits on programmatic access, especially to enterprise-wide resources, so getting all organizations or all repositories of the enterprise becomes non-trivial. This guide will describe how to do just these.

Read more