ai newsMi., 28. Okt.
EilmeldungAI Chip Startup Tenstorrent Bags $1.5B, Hits $6.2B Value

Yes.. It Is Possible to Assemble Kubernetes Environment with AI

*With the help of AI Intro We all know the broad possibilities of what AI can do, especially in development. They can code, can execute plans, can find bugs, etc. Agentic AI can even do tasks on your PC, then send notifications to you about what the results and review for approval. But what about s

dev.toMittwoch 08:16 · 28.10.2 Min. Lesezeit
Bild: dev.to

We all know the broad possibilities of what AI can do, especially in development. They can code, can execute plans, can find bugs, etc. Agentic AI can even do tasks on your PC, then send notifications to you about what the results and review for approval.

But what about some complex architecture? Like kubernetes for example. Do AI can build it?

Yes of course, I built it. They made the plan, and then I execute it.

Kubernetes is not a framework. It is a architecture concept.

Imagine you want to hosts your application online, what you do? Simple, just access a server's SSH, install libraries and perquisites, do a git clone, then just run the app installation, ie. npm install and npm run dev. Then voila, it is running on localhost:3000.

But what if the app crash? On some occasion they have an unhandled exceptions? Kubernetes allows you to restart the app automatically.

What if you wanted to allow more bandwidth and more access to your app? Kubernetes allows you to scale the app to several app instance to provide the bandwitdh needed.

What if the network suddenly spiked during peak hour? Kubernetes allows you to automatically scale the app instances up and down accordingly to the network load.

What if the server suddenly down and all the app instances are gone? Kubernetes allows you to manage several server nodes with same app instances to keep your app online.

What if only one server loaded with network, and the other server are idle. Kubernetes allows you to loadbalance the network automatically.

So what is kubernetes? RKE2, K3s, Kubeadm, OpenShift, MicroK8s they all are kubernetes. You can pick one. But they offer the same feature which I explained above.

Well, for starters, the real kubernetes are not cheap. They needed servers, or the kubernetes call it Nodes. You can have only one Node for Kubernetes. But it is not production ready and do not have High-Availability feature from kubernetes.

Now is the fun part. The copy-paste situation.

Mostly all the commands you can get from AI. I just wanted to share the missing part from the bugs and errors I found.

Well, with the help of AI. Almost anything is possible without much of hard work. But we still need to take notes of small detail which is important to our apps, especially the missing details one. The faster we can find the source of the bugs, the faster the apps will run.

Quelle: dev.to (dev.to). Original öffnen