Hacker Newsnew | past | comments | ask | show | jobs | submit | nouney's commentslogin

Nginx is not one of the building blocks of Kubetnetes. It's just an Ingress controller


And albeit Nginx ingress might be most popular, I see more Traefik and Envoy around me.


GKE can use IPv6 now


Do you have a link for any docs on that? Last I looked it was a weird hack using LB that translated IPv6 to K8s' native IPV4


But you ARE cool for listening to Kapitan Korsakov!


I don't get it, how do you configure nginx with a YAML file?


You don't directly. You add some extra lines of yaml to an k8s ingress resource, nginx detects this and updates itself. A single nginx container can service many ingresses for each of your apps. The idea is to distribute the config to the app manifests they are related to



Thanks! I had briefly used kustomize in the past, and it looks really useful for creating alternative dev/staging/production environments from a common base.

In the end I decided that I'd collapse all environments down to behave identically, which is simpler, but does add a few constraints for development in particular.

Will take another browse through while considering options for upcoming infrastructure :)


The problem for us monitoring / observability people with kustomize is its limitation to be purely templating for Kubernetes. However we also want to template a lot of things like for example Prometheus configuration. Jsonnet can bridge that gap between the two worlds and in the end generate a ConfigMap YAML file that includes another YAML file Prometheus, as an example.


I tried to use kustomize recently but could not figure out how to write Job/CronJob properly. I wanted to use the configGenerator/secretGenerator, with prod/stage/dev.


I'd suggest rofi[1] rather than albert, runs like a charm.

[1] https://github.com/davatorium/rofi


God I hope they add Wayland support soon. I really miss rofi.


Managing a VM vs a managed Kubernetes cluster? I'd choose kubernetes without hesitating


Don't manage VM, try LXD containers [1], they are containers with much better security and you can still use the same tools you learned for last decade or two to manage including the DSL if you like that.

Kubernetes is an Overkill for majority of development and production systems.

[1] https://linuxcontainers.org/


> Managing a VM vs a managed Kubernetes cluster?

So the win is not having to manage something :-) How is that a fair comparison?


> So the win is not having to manage something

Exactly!

> How is that a fair comparison?

Not only is it a fair comparison, but I'd say it's the entire raison d'etre of using any orchestration platform: You get to farm out bits of the infrastructure to others. Getting on k8s enables you to not have to run your own infrastructure, whereas having VMs being your abstraction sorta by definition does not.


GKE is free.


GKE is the managed version of Kubernetes that Google Cloud offers. Definitely not free.


Free as in you pay for your worker nodes, but nothing additional for operating the platform itself. You do lose control over your control plane nodes and etcd however.


Yes, it’s free as long as you pay for it.


No, there is no extra charge for gke. You pay for the nodes you use and you pay the same price whether you are using just cloud compute or whether you run those same cloud compute nodes in a gke.


Mhmm, it's free if you pay for the all other stuff.


Like everywhere else ...


> Free as in you pay for your worker nodes, but nothing additional for operating the platform itself.

If you go to the GCP pricing calculator[0] and add one n1-standard-1 VM to GCE, it costs $24.27/month.

Add one n1-standard-1 VM to a GKE cluster and you pay $38.27/month. There is a literal line item saying "Kubernetes Engine Cost: USD 14.00".

It's not free. It's just billed under the worker.

[0] https://cloud.google.com/products/calculator/


If you choose the standard engine edition, there is no additional Kubernetes Engine Cost.


I don't follow you.

Edit: ah, I see my mistake. There's a dropdown that lists "Advanced", which apparently accounts for the $14 difference.


Yes it is. You can do more with Kustomize


Interesting these two responses seem to contradict each other no?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: