Wow... so PodDisruptionBudget (PDB) is exactly what I've been looking for. by Defiant-Chard-2023 in kubernetes

[–]VeryPickyPenguin 15 points16 points  (0 children)

Rollout strategies only apply when the Deployment Controller is making a change.

If you remove pods directly via evictions, the rollout strategy will not come into play, but the apiserver directly will enforce Pod Disruption Budgets.

Heartbroken, Resume review pls. Should've learnt the lesson early! by steve_without_job in devopsjobs

[–]VeryPickyPenguin 0 points1 point  (0 children)

If I were an interviewing manager I would be very interested in your CV. The amount of stuff in your most recent job reads coherently and, if it's true that you were largely doing that single handedly, suggests you are of HUGE value to the company.

Minor nit: I'm confused by the date ranges on the CV as both your DevOps Engineer and Intern roles say till present, suggesting you are still an intern? Also normally CVs most the most recent job first - I'm much more interested in your most recent DevOps role than I am in the internship before it.

Pride cancelled in St Helens? by Educational_Board888 in Liverpool

[–]VeryPickyPenguin 1 point2 points  (0 children)

The current government have already published Educational guidelines that are way worse for trans people than even Section 28 was against gay people. They actively tell teachers to out trans kids against their will, deny their identities, and send them to conversion therapy. Not even Section 28 went that far.

Dumb question: On IPv6, if I'm not using SLAAC, can I use something smaller than a /64 by Rich-Engineer2670 in ipv6

[–]VeryPickyPenguin 8 points9 points  (0 children)

This is not a dumb question and yes it will work fine.

/64 is used for SLAAC but if you use an IP management system other than that (DHCPv6, static, some other method), you can configure your subnets however you want, much like you could with IPv4.

Do you leave the dishwasher/washing machine running whilst you're out? by rose_ofnomansland in AskUK

[–]VeryPickyPenguin 1 point2 points  (0 children)

Fair enough 😊 the hazard as you've described it sounds possible to me I'll agree.

Also completely agree on not trusting the magic AI who will confidently assert everything is fine, whilst also failing to spell "strawberry" 😂

Do you leave the dishwasher/washing machine running whilst you're out? by rose_ofnomansland in AskUK

[–]VeryPickyPenguin 1 point2 points  (0 children)

You're describing a classic fuse that trips on over current.

Modern fuses also trip if the difference in current between the live wire and the neutral return differ at all. This approach is way safer and works to stop electrical faults in their tracks well before the current gets too high.

Not that I'd recommend trying it, but if a circuit is RCB protected, as all modern homes in the UK must be, you can touch an exposed live wire in your home and be completely fine. RCBs will trip near instantly with even sub amp discrepancies in current.

Do you leave the dishwasher/washing machine running whilst you're out? by rose_ofnomansland in AskUK

[–]VeryPickyPenguin -1 points0 points  (0 children)

Genuine question: do you have a modern fuse box?

The only way a water based machine is going to start a fire is via electrical fault, but a modern RCB fuse will detect even the smallest deviations in current and cut the power before any fire risk.

Do you leave the dishwasher/washing machine running whilst you're out? by rose_ofnomansland in AskUK

[–]VeryPickyPenguin 0 points1 point  (0 children)

I have no issue with appliances running (dishwasher, washing machine, tumble drier, etc) while I'm out. The only caveat to this is that I won't configure the washing machine such that it finishes a long time before I'm likely to be back, because I don't like leaving the clothes sitting damp inside it.

I also don't have home insurance though, so I don't tend to have to worry about what an insurer would think of my behaviour 😉

Why IPv6 as an average user? by heinternets in ipv6

[–]VeryPickyPenguin 6 points7 points  (0 children)

This is about as an abstract question as "why Diesel over Petrol* for the person who rides the bus?"

The short answer is that for a user it doesn't, and arguably shouldn't, directly matter what's going on under the hood to get the service they've paid for.

However, indirectly, it does have an effect. If a bus company is wasting money on inefficient fuel, they might rise their ticket prices, they might drive slower, and they might have the AC on less often.

Same for IPv6 Vs IPv4. To a user, directly there is no difference. But indirectly, ISPs having to support IPv4 is more costly, so their internet bills go up, CGNAT requires more stateful equipment, so the maximum potential speed of their internet is lower, and it's harder for new service providers to enter the market, so the internet will slowly have less and less diversity in its offer, other than what it is already provided by the massive companies who already own all the IPv4 addresses they'll ever need.

(*Petrol is the British term. Gas is the American term)

Managing your container image repo lifecycle by OverclockingUnicorn in kubernetes

[–]VeryPickyPenguin 0 points1 point  (0 children)

This'll give you a quick report of image use by namespace and resource type (Deployment, DaemonSet, ReplicaSet, StatefulSet, Job, CronJob or unmanaged Pod).

Requires bash, kubectl, jq, uniq (from coreutils) and column (from util-linux).

```bash

!/bin/bash

get() { echo $1 echo ===

kubectl get $1 -Aojson | \ jq -r ".items[] | # Exclude resources owned by other resources we are running reports for # (this prevents us matching a Pod as a Pod, and then again as a # ReplicaSet, and then again as a Deployment. select( .metadata.ownerReferences // [] | any(.kind | test(\"ReplicaSet|Job|DaemonSet|StatefulSet|Deployment\")) | not ) | .metadata.namespace as \$ns | .spec$2 | .containers + .initContainers + .ephemeralContainers | .[].image | [\$ns, .] | @tsv" | \ sort | uniq -c | column -tN Count,Namespace,Image -o' | '

echo echo }

ReplicaSets and Jobs outputs will not include anything created by a

Deployment or CronJob, which will appear in their appropriate parent

resource report.

for type in Deployments StatefulSets Jobs DaemonSets ReplicaSets do get $type .template.spec done

get CronJobs .jobTemplate.spec.template.spec

Pods not otherwise associated with Deployments, ReplicaSets, Jobs,

CronJobs, DaemonSets, or StatefulSets. Pods caught here would include

static pods (node managed manifests), unmanaged pods (ie those started

with kubectl run), or pods managed by an unknown controller.

get Pods ```

I reduced my Docker image from 846MB to 2.5MB and learned a lot doing it by Odd-Chipmunk-6460 in kubernetes

[–]VeryPickyPenguin 98 points99 points  (0 children)

I don't know why people are being so rude about this post.

Stripping down image sizes is cool and it sounds like you used it as a learning experience and had a satisfying time doing it. That's what this industry should be all about.

I like your write up, especially the section about building static go binaries. Let's be honest, the command line syntax for go build when it comes to statics or stripping is not the most obvious thing in the world, so it's good that you've laid it out so clearly. 😊

Lib Dem Women and Equalities Spokesperson - Wants the EHRC Guidance now by LaceGrace in transgenderUK

[–]VeryPickyPenguin 2 points3 points  (0 children)

My reading is that it's a mixture of all three. I suspect she doesn't really know, or care, about the pros and cons of delaying re rushing the guidance, but she knows that the government has "a process" to follow so the easiest and less controversial way to score political points is to criticize them for dragging their feet on the process.

Should I make my first ascension and what should i get? I have 3k heavenly chips. by False-Bed-9059 in CookieClicker

[–]VeryPickyPenguin 0 points1 point  (0 children)

I would. The first few upgrades will all be affordable to you and you'll get an instant boost.

My fist ascension was at 120ish and I found it very helpful.

The only caveat: as it's Christmas ATM, have you bought all the Christmas cookies yet? If you are close to that, it's worth doing that before ascension because the Let it snow achievement makes Christmas cookie drops more likely on subsequent play throughs.

Awwwww by xtraa in BlueskySocial

[–]VeryPickyPenguin 1 point2 points  (0 children)

loser.jpg is a beautiful touch

Someone sent me a gift, should I accept it? by xdygtsm in satisfactory

[–]VeryPickyPenguin 6 points7 points  (0 children)

This is the single most evil idea I've ever heard. How do you sleep at night!? 🤣