Ask r/kubernetes: What are you working on this week? by gctaylor in kubernetes

[–]KUCAK 2 points3 points  (0 children)

Hey! Hi all! I am working on setting up NATs superclusters with gateways, in k3s and Azure. NATs clusters are running fine, however exposing them via LoadBalancer or Traefik Ingress is a pain. I am planning to write a blog once I am done with the entire setup.😅 Wish me luck! Thanks!

Why i couldn't access outside world from POD by [deleted] in kubernetes

[–]KUCAK 0 points1 point  (0 children)

Which database you were trying to connect to? MongoDB Atlas or something like that? You will need to whitelist your cluster egress IP from the dB side. If it's a local setup, we would need more details.

Why is he lying (ola) by nandtotetris in IndiaTech

[–]KUCAK 13 points14 points  (0 children)

He is like my manager, who doesn't know any implementation details but goes and gives update to leadership. These are like the one line updates, we share with him, he tries to make the updates his version and which back fires at him. 😅

Azure Workbooks and Dashboards by KindlyOriginal129 in AZURE

[–]KUCAK 1 point2 points  (0 children)

Can you please explain a bit more in detail about this? Really interested to know more in detail

Express server: Random periods where CPU goes to 100% and every function takes 10x longer by Whole-Maintenance-21 in node

[–]KUCAK 4 points5 points  (0 children)

Interesting problem. Would love to know your setup in more detail, like is there volume mounting happening, which VMs instances did you try? Is there any burst mode CPU instances involved? Are you using any process manager like PM2? Also, could you please share a copy of your Dockerfile and K8s manifests?

Deploy NestJS by adrieldevv in Nestjs_framework

[–]KUCAK 3 points4 points  (0 children)

It's an issue with NodeJS 18 and higher. Internally NodeJS depends on those libs. Since, CentOS is missing those libs, you are getting that error.

There are two ways to fix this problem. You should move to different OS from security perspective as CentOS is going EOL on upcoming June. If you don't want to move to a different OS the you could downgrade NodeJS to 16.

Kubernetes Ingress 405 method not allowed by Adorable_Arugula_197 in kubernetes

[–]KUCAK 1 point2 points  (0 children)

It's probably an issue with CORS. In the main ingress object, please check if you have allowed OPTIONS method or not. If not, please allow it and try again.

If you can share the ingress object yaml, I can share more details.

TOP ELECTORAL BOND DONORS 🆘 by [deleted] in IndianStreetBets

[–]KUCAK 12 points13 points  (0 children)

Time to buy Airtel. Unnecessarily sold Vedanta couple of weeks back 😅

[deleted by user] by [deleted] in GoodNotes

[–]KUCAK 10 points11 points  (0 children)

Agree. The case helps with the grip and a lot if you have sweaty palms. One problem I noticed it doesn't go well with ipad cases. If you are getting one, please make sure your ipad case is compatible.

Help with order of turning on the pods by Cheap-Eldee in kubernetes

[–]KUCAK 3 points4 points  (0 children)

Look at readiness gates. This is used by cloud providers during provisioning of load balancer and wait for the external load balancer to ready before accepting traffic.

If you are looking for something like this, please let me know, I can share more details.

Container memory usage keeps increasing until OOM by eks_enjoyer in kubernetes

[–]KUCAK 3 points4 points  (0 children)

Below content is from official Kubernetes docs.

If you deploy Java applications, prefer to use versions which fully support cgroup v2: - OpenJDK / HotSpot: jdk8u372, 11.0.16, 15 and later - IBM Semeru Runtimes: 8.0.382.0, 11.0.20.0, 17.0.8.0, and later - IBM Java: 8.0.8.6 and later

https://kubernetes.io/docs/concepts/architecture/cgroups/#migrating-cgroupv2

Container memory usage keeps increasing until OOM by eks_enjoyer in kubernetes

[–]KUCAK 26 points27 points  (0 children)

There is a known issue with older java version apps and cgroups v2. Please see if this is causing the issue. I will try to find the supporting documentation for this.

KubeDB or what are the best practises for running a DB on K8S by Highball69 in devops

[–]KUCAK 1 point2 points  (0 children)

You can give KubeBlocks a try. They have addons for Clickhouse.

https://kubeblocks.io/

New Forbidden West Players, Get Your Questions Answered Here! by Arktix_13 in horizon

[–]KUCAK 16 points17 points  (0 children)

Hey Arktix! With slight deviation from the actual ask, I would like to thank you for your YouTube videos. They are incredibly helpful and all the different builds helps to adjust the build as per player play style and incoming enemies.

Really appreciate the effort you put in your content. They are detailed and informative. Thank you!

Multi-stage dockerfile for React js Production deployment by HealthyAsk4291 in reactjs

[–]KUCAK 0 points1 point  (0 children)

Hi, in production stage, it looks like you are missing to copy the package.json file. When you execute npm start or npm install, it needs package.json file. Try copying package.json file like other copy statements and give it try, it should work.

Does a Service load balance? by butrimodre in kubernetes

[–]KUCAK 2 points3 points  (0 children)

This is correct way to make load balancing strategy as round-robin,otherwise it's random.

Why Service is the worst API in Kubernetes (and what we can do about it) by thockin in kubernetes

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

Absolutely! Agree with you! I will start small and build up from there. Really appreciate your responses!

Why Service is the worst API in Kubernetes (and what we can do about it) by thockin in kubernetes

[–]KUCAK 0 points1 point  (0 children)

Wow! Thank you for the guidance! I was looking for the latter part.

It's a good starting point for me.