• 0 Posts
  • 101 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle

  • This would imply that you have at least two machines. In that case they could just install Linux in the other machine to try it out.

    Foa people dabbling in Linux for the first time, with the anxiety of losing their data, it certainly sound like they don’t have 2 machines to run syncthing. Otherwise, why wouldn’t they just copy all their important data to the other machine to avoid the data loss risk?

    And sure if that is the case Syncthing is a good solution, but it doesn’t sound applicable in this situation.




  • My team is constantly looking for new technologies to make sure we’re not turning ourselves into dinosaurs. We all know that Kubernetes won’t last forever, something better will come along some day.

    That being said I don’t really see the full value of Triton or Xen with unikernels… They might have a bit less performance overhead if used correctly, but then again Kubernetes on bare metal also has very little overhead.

    Kubernetes is certainly comes with a learning curve, and you need to know how to manage it, but once you have Kubernetes there’s a ton of nifty benefits that appear due to the thriving community.

    Need to autoscale based on some kind of queue? Just install the Keda helm chart

    Running in the cloud and want the cluster to autoscale the nodes? Just install cluster-autoscaler helm chart

    Want to pick up all of your logs and ship them somewhere? Just install the promtail helm chart

    Need a deployment tool? Just install the ArgoCD helm chart

    Need your secrets injected from some secret management solution? Just install the external-secrets helm chart

    Need to vulnerability scan all the images you are using in your cluster? Just install the trivy-operator helm chart

    Need a full monitoring stack? Just install the kube-prometheus-stack helm chart

    Need a logging solution? Just install the loki helm chart

    Need certificates? Just install the cert-manager helm chart

    The true benefit of Kubernetes isn’t Kubernetes itself, but all the it’s and pieces the community has made to add value to Kubernetes.


  • Apology accepted, and thank you for not name calling.

    And yeah, if you can save the ops team salaries by picking Heroku, then it certainly might offset the costs.

    When you talk about Triton, do you mean this? Because funnily enough one of their bigger features seems to be that you can run Kubernetes on top of it. It looks pretty cool though, but I must say it was quite hard to find proper info on it.

    Triton also seem to push for containerization quite heavily, and especially Docker… So when you talk about Triton are you suggesting to use the Infrastructure Containers or Virtual Machines instead?


  • I’m not quite sure what you are getting at… Are you implying that I’m autistic because I only have 10 pods in a Kubernetes cluster?

    Presently our clusters run roughly 1400 pods, and at this scale there certainly are benefits to using something like Kubernetes.

    If your project is small enough to make sense on Heroku, then that’s awesome, but at some point Heroku stops making sense… both for managing at scale, and costs. Heroku already seems to be 2-4x as expensive as AWS on-demand. Presently we’re investigating moving out of AWS and into a datacenter, as it seems that we can reduce our costs by at least an order of magnitude.


  • The right tool for the right job.

    I agree that many small businesses jump to Kube too early. If your entire app is a monolith and maybe a few supplementary services, then Kube is massive overkill.

    But many people also tend to overlook all of the other benefits that suddenly become very easy to add when you already have Kube, such as a common way to collect logs and metrics, injecting instrumentation, autoscaling, automated certificate handling, automated DNS management, encrypting internal network traffic, deployment tools that practically works out of the box, and of course immutable declarative deployments.

    Of course you can build all of this yourself, when you need it, but once you have the foundation up and running, it becomes quite easy to just add a helm chart and suddenly have a new capability.

    In my opinion, when the company it big enough to need a dedicated ops team, then it’s big enough to benefit from Kube.












  • Battery degradation is certainly a very valid question to ask. This isn’t leasing or renting, I got a loan at the bank, and purchased the car. So yeah, battery degradation is an issue, however to me battery degradation basically means that I would just have to charge more often.

    All current figures I can find mention degradation between 0.5% and 3% per year. Taking the worst case of 3% and compounding it over 10 years, means my 77,4 kWh battery turns into a 57 kWh battery, that is a total of 73% of the original capacity, at 20 years this reduces to 54% of original capacity. At present I only use around 20-40% of my battery on an average day, which would mean that I would still be able to fulfill my daily driving needs. In the best case of 0.5% degradation, the total capacity would only have decreased to 73,6 kWh, 95% of the original capacity, or 90% after 20 years. The warranty on the battery ensures that the battery can’t lose more than 30% of its original capacity in the first 10 years, so it seems reasonable to think that Hyundai isn’t expecting the degradation to exceed 3%, and they likely have built in a good bit of margin into that warranty, as they obviously don’t want you to replace your battery free of charge.

    It’s very important to understand what causes most of the battery degradation, though.

    The main killer of batteries is heat. If the thermals of your battery isn’t managed well by the car your battery will degrade much much faster. This is why laptops and cellphone batteries don’t last very long. Most modern EVs has liquid cooling loops that keep the battery at the correct temperatures, both when driving and when charging. Many of the early EVs didn’t have this, and suffered for it. So many of the statistics about battery degradation are from the earlier EVs which didn’t manage temperatures well.

    Charging to 100% wears the battery much more than charging to 80%, which in turn also wears more than charging to 70%. Depleting the battery and then charging to 80% again and again wears your battery more than staying between 40%-70%. Even better if you can keep your battery at a lower state of charge constantly, but that obviously means you have less range at your disposal. Charging faster also causes more wear. So with the right behaviour you can reduce your battery wear quite significantly. I have set my car up to only charge to 70% for normal days, and only increase the limit when I know I’m going on a long trip. I also almost exclusively charge at home, which means a nice and slow charge rate during the night when the outdoor temperatures are low. I only use more than 40% of the capacity between charges on very rare occasions.

    My Ford Fiesta was 8 years when I sold it, and at 10 years it’s timing belt should be changed. Something that would cost about 1/3 of the market value of the car… And if the belt decides to give up before then, then I would have been looking at rebuilding the whole engine, which could easily be as expensive as the whole market value of the car. Besides that, there’s all the other bits in a combustion vehicle that needs maintenance, such as spark plugs, oil changes, transmissions, clutches, cylinder head gaskets, exhausts wearing trough. Even brake pads last longer as most of the braking is done by regenerative braking. EVs does however need the battery coolant changed, and does wear the tires quicker.

    In the end battery degradation is a gamble that I have chosen to take. I personally think the benefits outweigh the risks, and even at 54% capacity after 20 years, the car would still be useful to me. I do however understand that this doesn’t work for everyone, and many others won’t be willing to take the same risk.


  • I wasn’t aware that both the VW and Renault wasn’t available in the US… That sucks. But yeah, the MSRP for EVs are generally quite a bit higher, but that goes for pretty much every size of car, but that is only a tiny bit of the whole picture. I also didn’t know the price disparity was that big in the US for the Mazda and Volvo… But when you are looking at EVs you really need to look at the service and fuel/electricity costs too.

    I live in Denmark, so obviously my experience will be very different. I recently switched from a Ford Fiesta 2016 (5-door hatchback, gasoline, medium-high trim) to a Hyundai Ioniq 5 (fully electric, crossover SUV, top trim), and I drive about 30,000 km per year (~ 18600 miles). And when you factor in the cost of the car loan, the service subscription, the insurance, and fuel costs, then the much larger, and much more luxurious Hyundai Ioniq 5 comes out to costing me about the same per month.

    I did all the math before we bought the Ioniq 5, but unfortunately don’t have all the numbers handy anymore. But the main factors are the MSRP cost and the fuel costs

    Ford Fiesta 1.0 100 hp Titanium Fun (2016):

    • Price 160,000 DKK (~ $22,690), Loan came out to 1790 DKK per month (~ $254)
    • Gas costs per month ~ 2,200 DKK (~ $312)
    • Sum per month 3,990 DKK (~ $565)

    Hyundai Ioniq 5 Long Range Ultimate (2023):

    • Price 405,000 DKK (~ $57,434), Loan comes out to 3559 DKK per month (~ $505)
    • Electricity costs per month ~ 400 DKK (~ $57)
    • Sum per month 3,959 DKK (~ $562)

    So even though the cost was 2.5 times higher, it was about the same to own and drive. I have no idea how that math works out with gas and electricity prices in the US.