Skip to content

Instantly share code, notes, and snippets.

View chadlwilson's full-sized avatar

Chad Wilson chadlwilson

View GitHub Profile
@chadlwilson
chadlwilson / istio-154-upgrade.md
Last active July 20, 2022 07:46
Notes on Istio 1.4.7 to 1.5.4 upgrade via HELM

Upgrading to 1.5.4 via Helm

This is the rough outline of how we successfully did an in-place control + data plane upgrade from Istio 1.4.7 -> 1.5.4 via the official Helm charts.

Upgrade was

  • applied via scripting/automation
  • on a mesh using
    • mTLS
    • Istio RBAC via AuthorizationPolicy
  • telemetry v1
$ k logs -f my-application-76cdc8ff55-wghvv -c istio-proxy
2020-04-19T16:18:14.092561Z info FLAG: --applicationPorts="[8080]"
2020-04-19T16:18:14.092588Z info FLAG: --binaryPath="/usr/local/bin/envoy"
2020-04-19T16:18:14.092594Z info FLAG: --concurrency="2"
2020-04-19T16:18:14.092599Z info FLAG: --configPath="/etc/istio/proxy"
2020-04-19T16:18:14.092604Z info FLAG: --connectTimeout="10s"
2020-04-19T16:18:14.092608Z info FLAG: --controlPlaneAuthPolicy="MUTUAL_TLS"
2020-04-19T16:18:14.092613Z info FLAG: --controlPlaneBootstrap="true"
2020-04-19T16:18:14.092618Z info FLAG: --customConfigFile=""
2020-04-19T16:18:14.092622Z info FLAG: --datadogAgentAddress=""
@chadlwilson
chadlwilson / lettuce-elasticache-reconnect-and-auth-working.log
Created January 15, 2020 04:31
lettuce-elasticache-reconnect-and-auth-working.log
{"ts":"2020-01-15T12:21:53.701+08:00","level":"DEBUG","thread":"lettuce-epollEventLoop-4-2","logger":"io.lettuce.core.protocol.ConnectionWatchdog","message":"[channel=0xf99960f6, /172.23.8.185:51706 -> master.redis.oiwzdu.apse1.cache.amazonaws.com/172.23.11.217:6379, last known addr=master.redis.oiwzdu.apse1.cache.amazonaws.com/172.23.11.217:6379] userEventTriggered(ctx, SslCloseCompletionEvent(java.nio.channels.ClosedChannelException))","throwable":{}}
{"ts":"2020-01-15T12:21:53.701+08:00","level":"DEBUG","thread":"lettuce-epollEventLoop-4-2","logger":"io.lettuce.core.protocol.CommandHandler","message":"[channel=0xf99960f6, /172.23.8.185:51706 -> master.redis.oiwzdu.apse1.cache.amazonaws.com/172.23.11.217:6379, chid=0x2] channelInactive()","throwable":{}}
{"ts":"2020-01-15T12:21:53.702+08:00","level":"DEBUG","thread":"lettuce-epollEventLoop-4-2","logger":"io.lettuce.core.protocol.DefaultEndpoint","message":"[channel=0xf99960f6, /172.23.8.185:51706 -> master.redis.oiwzdu.apse1.cache.amazonaws.com/172.23.11.21
{"ts":"2020-01-05T22:56:50.653+08:00","level":"DEBUG","thread":"XNIO-2 task-9","logger":"io.lettuce.core.protocol.DefaultEndpoint","message":"[channel=0x17a0fd70, /172.23.8.187:40046 -> master.redis.oiwzdu.apse1.cache.amazonaws.com/172.23.11.219:6379, epid=0x1] write() writeAndFlush command TracedCommand [type=INFO, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.AsyncCommand]","throwable":{}}
{"ts":"2020-01-05T22:56:50.654+08:00","level":"DEBUG","thread":"XNIO-2 task-9","logger":"io.lettuce.core.protocol.DefaultEndpoint","message":"[channel=0x17a0fd70, /172.23.8.187:40046 -> master.redis.oiwzdu.apse1.cache.amazonaws.com/172.23.11.219:6379, epid=0x1] write() done","throwable":{}}
{"ts":"2020-01-05T22:56:50.654+08:00","level":"DEBUG","thread":"lettuce-epollEventLoop-4-1","logger":"io.lettuce.core.protocol.CommandHandler","message":"[channel=0x17a0fd70, /172.23.8.187:40046 -> master.redis.oiwzdu.apse1.cache.amazonaws.com/172.23.11.219:6379, chid=0x1] write(ctx, TracedComman

Keybase proof

I hereby claim:

  • I am chadlwilson on github.
  • I am chadwilson (https://keybase.io/chadwilson) on keybase.
  • I have a public key whose fingerprint is 848D 75E1 BE65 C732 1073 1004 DC87 C4F3 EFCF F577

To claim this, I am signing this object:

@chadlwilson
chadlwilson / catalina_upgrade.md
Last active November 10, 2019 12:01
Notes on Catalina upgrade

MacOS Catalina Upgrade

On a MacBook Pro (Retina, 15-Inch, Mid 2015, from latest Mojave)

Things I noticed

  • Have to re-approve notifications from many apps via popups
  • On initial boot Docker didn't automatically start, but seems fine after first manually starting and subsequent reboots
  • A few things appeared in ~/Desktop/Relocated Items but nothing important; removed them.

May require upgrades for patches/compatibility