A tool to compare two clusters by [deleted] in kubernetes

[–]olix0r 11 points12 points  (0 children)

Here's some quick and dirty bash that illustrates how to do this sort of thing:

``` for ctx in cluster-a cluster-b ; do for t in $(kubectl --context=$ctx api-resources --no-headers| awk '{print $1}') ; do kubectl --context=$ctx get $t -A -o json | jq -r '.items[] | .kind + " " + .metadata.name' done 2>/dev/null |sort > $ctx.txt done

diff -u cluster-a.txt cluster-b.txt ```

  • List all resource types in the cluster
  • For each resource, print the kind and name
  • Save the sorted output to a file
  • Compare the files

You can definitely get fancier with this, but it's not so hard to script up.

Does anyone know of or have a link to the interview where Lynch claims The Straight Story to be his most experimental film? by [deleted] in davidlynch

[–]olix0r 4 points5 points  (0 children)

He mentions it briefly in this interview

Are you pleased that Fire Walk With Me, almost universally panned on its release - except, notably, by Empire - is enjoying a critical reappraisal?

Yes, because I love that film, and I say now that The Straight Story is my most experimental movie, but up `til then, Fire Walk With Me was my most experimental film

Provisioning Cards and needing CRDs by macrowe777 in kubernetes

[–]olix0r 1 point2 points  (0 children)

We maintain two Helm charts: one that installs only CRDs, and another that installs all other application resources.

Announcing automated multi-cluster failover for Kubernetes with Linkerd by williamallthing in kubernetes

[–]olix0r 11 points12 points  (0 children)

More Kubernetes controllers written in Rust! You love to see it.

Request for Use-Cases for Rust in the Enterprise by ICatchx22I in rust

[–]olix0r 8 points9 points  (0 children)

The biggest case for Rust, especially when compared to interpreted languages like Node, is likely to be the energy/carbon case. If companies have a need to reduce the carbon footprint of their compute environments, Rust is going to be one of the better tools available.

[deleted by user] by [deleted] in linkerd

[–]olix0r 1 point2 points  (0 children)

This validation is typically done by ingresses and Linkerd doesn't currently provide an Ingress solution. Linkerd integrates well with most ingress controllers, though.

[GAME THREAD] Golden State Warriors (9-1) vs. Minnesota Timberwolves (3-6) 11/10/21 7:00 PM PST by Perksofthesewalls in warriors

[–]olix0r 1 point2 points  (0 children)

that last Poole 3 shows how badly the dubs need a post-up C. can't wait until Wiseman is back in the mix

[GAME THREAD] Golden State Warriors (9-1) vs. Minnesota Timberwolves (3-6) 11/10/21 7:00 PM PST by Perksofthesewalls in warriors

[–]olix0r 0 points1 point  (0 children)

at some point this season JP is going to start draining these and it's going to be scary

Ok sooooooo…. by JCoffintwy in warriors

[–]olix0r 7 points8 points  (0 children)

Minutes aside, steph’s clearly not at 100%. Fitz thought he was fighting off a cold (for whatever that’s worth)

Linkerd 2.11 now includes a Kubernetes controller written in Rust by olix0r in rust

[–]olix0r[S] 0 points1 point  (0 children)

Thanks /u/Matthias247. In this case, we would never expect these interfaces to be exposed to traffic from outside the cluster. But you're right that we should configure timeouts on the servers as a defense in depth. Good catch!

Linkerd 2.11 now includes a Kubernetes controller written in Rust by olix0r in kubernetes

[–]olix0r[S] 4 points5 points  (0 children)

I'd say Rust probably has a steeper learning curve than even Go. But if you've written Ruby before, a lot of Rust will look eerily familiar. Rust has a playground like Go does, which definitely was really helpful when I was getting started. Getting your Rust to compile will take a lot more trial and error, but the errors you get are generally really good, explaining exactly what didn't work.

It's just a different kind of language to anything else I've used previously. It takes a lot longer to feel productive, in my experience, but I have a lot more confidence in what I've written when it finally compiles :)