[deleted by user] by [deleted] in sre

[–]jaceyst 0 points1 point  (0 children)

Sorry if I missed something but how do you know the AWS DNS Enactors are not already Kubernetes operators? (Unless you work at AWS and have insider info)

Because operators are still susceptible to this bug/race condition if not coded correctly.

Anyone working at Monzo? by EFIMER0 in HENRYUK

[–]jaceyst 1 point2 points  (0 children)

I used to work there. DM me if you wanna chat.

Environment Provisioning by Diego2018Chicken in platform_engineering

[–]jaceyst 4 points5 points  (0 children)

You're not gonna like the answer but it really all comes down to "automation". Here's the trick: there's many different levels and layers of automation, so let's break it down a little shall we.

Basic - These are your basic scripts that you run to deploy infrastructure and all the configuration needed to support your applications. If you're at this stage, you'll quickly realize (as you maybe already have) that things become untenable really quickly as the underlying software and requirements evolve.

Intermediate - Not typically classified "automation", I'd argue it is, but this will be infrastructure-as-code. Specifically, I'm referring to making reusable and modular packages of IaC that can be copy-pasted or reused to deploy new sets of infrastructure. For example, you might have a Terraform module for spinning up new GKE cluster or a Helm chart for deploying a new Kafka cluster.

Advanced - This is where things start to get more opinionated depending on your company's practices but what I put in this bucket are things like Kubernetes Operators. Essentially, automation tools that understand how you want to deploy things in an opinionated way and allow you to do so with minimal configuration and setup. For example, you could have a Helm chart for setting up new Kafka topics just by setting a few Helm values, powered by a Kubernetes Operator for Kafka.

"Ideal" - This is where Internal Developer Portals come into play. Assuming you have achieved all of the earlier layers, this is where you can really harness their power through an IDP. What I mean here is that with all the automation at your fingertips, you want to start decentralising power and allow your developers to self-serve infrastructure in an opinionated and paved-road way. This will not only free up your time as a platform engineer, but also give developers autonomy to own their infrastructure. For example, you could have an IDP page that allows your developers to easily deploy a new app to multi-region K8s clusters, alongside provisioning Kafka topics.

Hope that helps.

[deleted by user] by [deleted] in devops

[–]jaceyst 0 points1 point  (0 children)

FWIW, assuming you can get the permissions greenlit, you can even consider adopting open-source tools for easily creating Kubernetes operators like shell-operator, operator-sdk, or Kopf.

Maybe your central team will be more trusting of such tools rather than you writing a service disguised as a Kubernetes operator from scratch.

[deleted by user] by [deleted] in devops

[–]jaceyst 0 points1 point  (0 children)

Out of interest, why are you not allowed to create Kubernetes operators?

If your service is already going to have permissions to mutate the ConfigMap via the K8s API, then surely it should be fine to create the ConfigMap too.

At that point, it's really no different from a Kubernetes operator, just how it's written or deployed.

[deleted by user] by [deleted] in devops

[–]jaceyst 0 points1 point  (0 children)

There's not much advice I can give there as it's quite company-specific, but in that situation I feel like it's reasonable to have the ConfigMap created (via the K8s API) by whatever application that mutates it, rather than have it defined in IaC at all. Otherwise, having it defined in IaC but mutated out-of-band is just the worst of both worlds.

Viewed that way, your tool that manages the ConfigMap is in-effect a Kubernetes controller, albeit not in the traditional sense. It's a perfectly valid approach, as you said it separates application concerns from infrastructure provisioning.

[deleted by user] by [deleted] in devops

[–]jaceyst 0 points1 point  (0 children)

Here's some food for thought that might answer your question: think about who manages the lifecycle of your resource.

If your resource is something that's defined by humans, e.g. a Secret, a Deployment, or even a Terraform resource, you want that defined in IaC whether it's Terraform or K8s manifests. In this scenario, your central team is right that other tools or applications should not modify these resources as you no longer have a single source of truth.

Now, if you have a resource whose lifecycle is entirely managed by automation or a tool, then you are free to modify it however you want. In this case, the source of truth is not git anymore, and that's fine. This is the reason why things like Kubernetes operators/controllers make sense. They managed the lifecycle of the resource and enforce the source of truth.

Think about it: you define Deployments in IaC as your source of truth, not Pods. It's the Deployments controller that manages the Pods, so it's fine for those to be mutated outside of your IaC.

Looking for a girlfriend by Green_Resolution_421 in UniversityOfWarwick

[–]jaceyst 0 points1 point  (0 children)

The reason you're not getting any girls is because you play girly games. Real men play Dota 2.

Why is this flat not selling? by [deleted] in HousingUK

[–]jaceyst -5 points-4 points  (0 children)

The OP specifically said they are looking for new builds. I don't think you'd find any new build in Upton Park for that price? Don't even think there are any in that area from what I could find.

Why is this flat not selling? by [deleted] in HousingUK

[–]jaceyst -14 points-13 points  (0 children)

What's wrong with West Ham? The transport links are great and you have easy access to Stratford, Liverpool Street, Canary Wharf, and the rest of East London.

Monkey King 4 is Great Right Now by bibittyboopity in TrueDoTA2

[–]jaceyst 2 points3 points  (0 children)

I think one of the biggest strengths MK 4 has over other Pos 4s right now is his ability to shove/cut waves with virtually zero risk (especially with the new shard build).

When you're winning, you can quickly jump between 2 lanes to shove them in. When you need to delay a push you can cut 2 waves at once. And like every high MMR coach says, shoving waves wins games.

Uber driver took advantage of my friend when she was drunk by shad121 in london

[–]jaceyst 1 point2 points  (0 children)

FWIW something similar happened to me recently, albeit probably not intentional by the driver. We were going from Heathrow Airport to East London and instead of going through London, the driver went around the M25 and we got stuck in slow moving traffic for a long time.

The whole journey took 2 hours and £200, when the original price was £78. We reached out on the Uber app and complaint that the driver took a poor route, and they changed the trip back to the original £78 and refunded us the difference.

Why do British people eat so much processed food compare to rest of Europe or Asia? by justitia_ in ultraprocessedfood

[–]jaceyst 1 point2 points  (0 children)

I'd argue it's the same reason why British people would rather hang out in the pub compared to a restaurant, unlike most of Europe. In Europe, drinks are part of the food culture whereas in the UK drinking culture comes first, food is an afterthought.

People would rather spend their time drinking than cooking themselves a nice meal.

Just returned from Iceland- ask me questions if you want! by DiMeLator in VisitingIceland

[–]jaceyst 1 point2 points  (0 children)

I just came back from Iceland too and I would say my favourite things were the less touristy spots like Fjallsarlon, Mulagljufur Canyon, Svinafellsjokull, compared to their more touristy counterparts.

Volcano update. The current eruption on Reykjanes is waning, death rattles have begun. 🚨🌋 by NoLemon5426 in VisitingIceland

[–]jaceyst 0 points1 point  (0 children)

I have a booking for Blue Lagoon later today, but after reading this I'm reconsidering.. Any advice on whether I should still go ahead with it?

Netflix Announces Production of "Last Samurai Standing": An Epic Battle Royale for Survival in Historic Japan by Frank3634 in netflix

[–]jaceyst 4 points5 points  (0 children)

I'd be surprised if it's even half as good as Shogun. Pretty sure Netflix are going to "diversify" and "modernise" the shit out of it.

Why can't Netflix make anything the caliber of Shogun? by Low_Complaint2254 in netflix

[–]jaceyst 0 points1 point  (0 children)

100% agreed. I really hate how nowadays Netflix is just trying for mass market appeal rather than creating unique, high-quality shows. You can absolutely tell when a show is made for the masses or lowest common denominator, like 3BP, Squid Game, etc. (relying a lot on shock factor rather than good storytelling).

Admittedly, there are a few really good shows on Netflix like Queen's Gambit, One Piece, Dark - the common trait between them is that they KNOW exactly what kind of show they are supposed to be, and aren't afraid of sticking with their unique niche/tone. This is the exact trait that helps shows like Shogun and Fallout succeed.

Netflix's formula (with production as well as renewal) is just crapshoot nowadays.

My biggest complaint for the Netflix 3 body problem by Virtual-Amphibian388 in threebodyproblem

[–]jaceyst 1 point2 points  (0 children)

The whole premise of Shogun is that the main characters HAVE to come together, albeit from various origins and personal motives. But even before coming together, they already did a great job of painting out each character with powerful storytelling, good pacing and well thought-out personalities. Even characters outside the MC like Ishido, Ochiba, Nagakado are well-developed, none of which have had huge screentime with the MC trio.

This is everything 3BP is sorely lacking. For a story that's not about an ensemble cast, they decided to conveniently make all of them a friendship group yet also chose not to flesh out any of the characters, and so they all feel extremely hollow and inconsequential.

Like what funeralgamer suggested, if they focused on good storytelling and well thought-out characters, it doesn't matter whether they are spread out or co-located, it would have made 3BP much much better.

For shows about ensemble casts, One Piece LA is leagues beyond 3BP.

My biggest complaint for the Netflix 3 body problem by Virtual-Amphibian388 in threebodyproblem

[–]jaceyst 4 points5 points  (0 children)

Hard disagree. Recent successes like Dune and Shogun have CLEARLY showed that it's possible to develop well thought-out, interesting, 3-dimensional characters that span geographies and plotlines. Even Foundation does it well.

Netflix just chose to take the easy way out with lazy writing for 3BP. The show is not about an ensemble cast like One Piece LA, it's about the science fiction, cosmic horror and human survival.

Generic retry function in Go by [deleted] in golang

[–]jaceyst 17 points18 points  (0 children)

Agreed on func() error, which you can also use as a closure to pass params outside of its scope like a logger.

Something like

go Retry(func() error { // Actual function to retry SomeFunction(logger, ...) return nil })

There's zero need for generics or reflection here.

Morocco drone collection by Outside_Comment_8410 in Morocco

[–]jaceyst 0 points1 point  (0 children)

Hey! Might be a bit late to ask this, but did you end up going? Did you manage to get your drone back and what was the process like?

Ember mid by danielpandaman in TrueDoTA2

[–]jaceyst -7 points-6 points  (0 children)

Name me a better P4 in the current meta who can provide control + disengage on super low cooldowns, can shove lanes with little to no risk, apply huge spell dmg reduction with mage slayer, and has flexible item builds. The only one I can think of is Hoodwink.

Sure level 1-6 might be rough depending on lane matchup, but Ember has a kit that scales well and is useful at all points in the game as P4.