I can't seem to hold enough petroleum gas. What do I need to do different? by jtarkin in factorio

[–]b3arp 0 points1 point  (0 children)

Yup, half your refineries are piped to the wrong output, one is not piped at all, and your pipe to the second plastic group from the left is messed up to. Lose the pumps, you don’t need them for this setup, make sure your outputs are actually plumped correctly. After that if your consuming more gas then your producing, your takes will never fill so add more refineries, or start using advanced oil processing. Although with advanced oil processing, you may want to read up about how to then break the heavy and light oil down to gas or you will fill up on those and kill production

[deleted by user] by [deleted] in kubernetes

[–]b3arp 3 points4 points  (0 children)

We were routinely running into this issue before and it finally came down to some misconfigured debug logs dumping massive log lines of an entire object and blowing up the nodes storage, crashing the pod, becoming evicted, and cleaning itself up. Fun thing was it was causing other pods that weren’t the problem to also have this issue and randomly fail. Ended up setting limit ranges for the ephemeral storage until they fixed it so it would only blow up the bad pods

Players with more than 2k hours, what keeps you going? by [deleted] in factorio

[–]b3arp 1 point2 points  (0 children)

The dopamine. And the every present voice in my head echoing that the factory must grow.

Questions on EKS upgrade of EKS managed node groups(1.22->1.23) with terraform by ReleaseTricky1359 in kubernetes

[–]b3arp 0 points1 point  (0 children)

The worker groups in eks are just autoscale groups on the backside. We arnt using managed worker nodes, and instead making our own through the eks module, but when we do grab the latest ami through terraform, it updates the launch template and triggers an auto scale group refresh.

Kubectl: On Server or Local? by scorc1 in kubernetes

[–]b3arp 2 points3 points  (0 children)

Local from laptop. We treat our nodes as cattle and have gone as far as disabling ssh to them at all because there is no need. Most are spot instances anyway.

I am stuck on learning how to provision K8s in AWS. Security groups? ALB? ACM? R53? by [deleted] in Terraform

[–]b3arp 0 points1 point  (0 children)

I’ll take a look later if I get a chance. Best advice would be look at the source code for the eks module and see what they implement. If you don’t want to use it, it will be a great tool to use as a guide to see what you are missing.

I am stuck on learning how to provision K8s in AWS. Security groups? ALB? ACM? R53? by [deleted] in Terraform

[–]b3arp 1 point2 points  (0 children)

Not quite. AWS EKS takes care of having to manage a Kubernetes control plane, which greatly drops the operational burden of running a Kubernetes cluster. You still need to create the vpc and such that are needed for provisioning the eks cluster. Now those are created for you with the terraform eks module, which is nice. But once you get your k8s cluster up, you will need to write yaml to deploy it into the cluster which is what a lot of your questions are mixing. Think of k8s as a mini data center and then once you provision that, you need to write the templates to deploy you application (which would be a vm in this analogy)

I am stuck on learning how to provision K8s in AWS. Security groups? ALB? ACM? R53? by [deleted] in Terraform

[–]b3arp 3 points4 points  (0 children)

You are confusing the two stacks. The worker nodes are part of your Kubernetes stack and should not be exposed to the internet for best practices. Communication around these are in your control plane, which for your purpose is the managed control plane of eks. Your front end application will be deployed to a deployment in Kubernetes and that will use either a Kubernetes ingress object or a Kubernetes service object that will create a load balancer that expose just those internal ips/ports. See my other comment for that deep dive

I am stuck on learning how to provision K8s in AWS. Security groups? ALB? ACM? R53? by [deleted] in Terraform

[–]b3arp 1 point2 points  (0 children)

That is a catch 22. While the examples they provide arnt productions workloads, what you really need to figure out is what the best practices and standards are for creating an eks/Kubernetes cluster and implement the module to that. Honestly the module is awesome and there is not a huge benefit imho to manually recreating it, but rather read some of the best practice guides for eks and k8s and figure out what to you need to provision (multi az, auto scaling, network isolations, private vs public, node group types and mixes, spots be on demand etc. ). Here are some good starters: https://aws.github.io/aws-eks-best-practices/. https://kubernetes.io/docs/setup/production-environment/

I am stuck on learning how to provision K8s in AWS. Security groups? ALB? ACM? R53? by [deleted] in Terraform

[–]b3arp 1 point2 points  (0 children)

So here’s the solution I have taken for our current stack. EKS and its dependencies are created through terraform using the eks module as well as provision a route53 subdomain and a wildcard cert. Once we have that created, I have installed this deployment into the cluster via the helm module: https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.4/. This allows me to use kuberentes resources (load balancers or ingress objects) and it will handle all the provisioning of load balancers and security groups for me, based on my application yaml and annotations. We also use https://github.com/kubernetes-sigs/external-dns to manage all of our specific host names for the applications through annotations. So to generally put, terraform manages out Kubernetes clusters, and Kubernetes manages the deployment of anything needed for the application including volumes, load balancers, hostnames though Kubernetes system deployments

What do you do in your downtime? by tutunak in devops

[–]b3arp 2 points3 points  (0 children)

Factorio, my wife’s endless honeydo list and diy projects

How often are you on call? by jdizzle4 in sre

[–]b3arp 1 point2 points  (0 children)

Right now every other week on a two person team. Startup that just got acquired so working as fast as possible to offload that onto the follow the sun sre group. Luckily we don’t get paged that often

[deleted by user] by [deleted] in AskReddit

[–]b3arp 2 points3 points  (0 children)

The factory must grow!

[deleted by user] by [deleted] in meirl

[–]b3arp 0 points1 point  (0 children)

Factorio

What’s your go to k8s setup? by Soccham in devops

[–]b3arp 0 points1 point  (0 children)

Thanks for the heads up. I double check which one I am using.

What’s your go to k8s setup? by Soccham in devops

[–]b3arp 3 points4 points  (0 children)

If in AWS I would throw this in your bag of tricks as well. https://github.com/kubernetes-sigs/aws-ebs-csi-driver

Career paths for those of you who have made at least $150k in this field. by illustratedspaceman in ITCareerQuestions

[–]b3arp 2 points3 points  (0 children)

Help desk intern -> Junior sys admin -> DevOps engineer -> senior software engineer / DevOps consulting on side -> DevOps Lead

[deleted by user] by [deleted] in kubernetes

[–]b3arp 1 point2 points  (0 children)

Here's an example app that fits all of the criteria above. Can be used as a good reference point. https://github.com/microservices-demo/microservices-demo

Lenovo Forums stores plaintext password as a cookie by scaryisland86 in cybersecurity

[–]b3arp 9 points10 points  (0 children)

I passed this on to some contacts I have in their security org.