zomglol.wtf is one of the many independent Mastodon servers you can use to participate in the fediverse.
We’re all just trying to find a place to post the memes

Administered by:

Server stats:

1
active users
Jamie Gaskins<p>Remember, this is how we pronounce <a href="https://zomglol.wtf/tags/Kubernetes" class="mention hashtag" rel="tag">#<span>Kubernetes</span></a> (originally posted at <a href="https://mastodon.social/@jgaskins/103254599430367361" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">mastodon.social/@jgaskins/1032</span><span class="invisible">54599430367361</span></a>)</p>
Jamie Gaskins<p>Having a 5% error rate for 30 seconds and then immediate recovery is honestly a great outcome. I have no doubt there are some edge cases to consider, but for a few hours of effort I&#39;m pretty happy with it.</p><p>This is the deployment strategy I spent 2 years trying to convince my previous employer to try.</p><p><a href="https://zomglol.wtf/tags/kubernetes" class="mention hashtag" rel="tag">#<span>kubernetes</span></a> <a href="https://zomglol.wtf/tags/sre" class="mention hashtag" rel="tag">#<span>sre</span></a></p>
Jamie Gaskins<p>This strategy worked really well! In my proof of concept, my health-check endpoint was set to return 500s above a 0.05% error rate (after a minimum of 1k requests). I had this config:</p><p>replicas: 30<br />minReadySeconds: 30<br />maxSurge: 5%<br />{liveness,readiness}Probe:<br /> failureThreshold: 3<br /> intervalSeconds: 10</p><p>Then I set it to use a known-bad image. K8s deployed 2 pods, which hit &gt; 0.05% threshold pretty quickly. K8s CLBOed it and never deployed more pods, so the app recovered in 30 seconds.</p><p><a href="https://zomglol.wtf/tags/kubernetes" class="mention hashtag" rel="tag">#<span>kubernetes</span></a></p>
Jamie Gaskins<p>Today I&#39;ve been experimenting with a slow-rollout canary idea for Kubernetes. Basically:</p><p>1. Set minReadySeconds to &gt;= your probe&#39;s `failureThreshold * periodSeconds`</p><p>2. Set maxSurge to something like 5% so it deploys small batches of pods at a time</p><p>3. Have the health-check endpoint return 500s if that pod&#39;s error rate is above your error threshold — I&#39;m using middleware to track error count vs total request count</p><p><a href="https://zomglol.wtf/tags/kubernetes" class="mention hashtag" rel="tag">#<span>kubernetes</span></a> <a href="https://zomglol.wtf/tags/k8s" class="mention hashtag" rel="tag">#<span>k8s</span></a></p>
Jamie Gaskins
Jamie Gaskins<p><a href="https://wattenberger.com/thoughts/our-interfaces-have-lost-their-senses" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">wattenberger.com/thoughts/our-</span><span class="invisible">interfaces-have-lost-their-senses</span></a></p>
Jamie Gaskins
Jamie Gaskins
Jamie Gaskins
Jamie Gaskins<p>Things I only ever learned about because of problems they caused:<br />- BGP<br />- iptables<br />- NAT<br />- certificate authorities<br />- HTTP/2<br />- database locks<br />- DMARC, DKIM, and other email-ecosystem garbage<br />- many more</p><p>Today it was DNSSEC</p>
Jamie Gaskins
Jamie Gaskins<p>Something must be wrong. CI passed on the first commit setting it up instead of requiring 18 failing attempts first.</p>
Jamie Gaskins<p>Being at an age where I recognize the samples used in newer music is wild. Is this what our parents experienced?</p>
Jamie Gaskins<p>Cutting out regexes made Armature&#39;s path matching over 30x faster. 🤯</p><p>Routing a request to an endpoint in 6µs is good, but doing it in under 190ns is a lot better!</p><p><a href="https://github.com/jgaskins/armature/commit/c798003d18fddd704792598982c8c5ed396a31af" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/jgaskins/armature/c</span><span class="invisible">ommit/c798003d18fddd704792598982c8c5ed396a31af</span></a></p><p><a href="https://zomglol.wtf/tags/Crystal" class="mention hashtag" rel="tag">#<span>Crystal</span></a> <a href="https://zomglol.wtf/tags/CrystalLanguage" class="mention hashtag" rel="tag">#<span>CrystalLanguage</span></a></p>
Jamie Gaskins<p>Garlic naan is great but have you ever had Kashmiri naan?</p>
Jamie Gaskins<p>Garlic bread is great but have you ever had garlic naan?</p>
Jamie Gaskins
Jamie Gaskins
Jamie Gaskins
Jamie Gaskins<p>circumlocution is apparently why waste time say lot word when few word do trick</p>
Jamie Gaskins<p>I just wrote a rudimentary time-series DB using <span class="h-card" translate="no"><a href="https://mastodon.social/@Dragonflydbio" class="u-url mention">@<span>Dragonflydbio</span></a></span> sets and streams.</p><p>Still needs some more work to be useful as a TSDB, like downsampling and a network interface, but it supports measuring and simple querying/aggregation in 120 lines of code, which is pretty amazing.</p>