Today I was testing myself with some mock Kubernetes interview.
This is just an export of a mock interview on kubernetes overviewed by Google ai tools
Copy, paste, run, bye ...
Today I was testing myself with some mock Kubernetes interview.
This is just an export of a mock interview on kubernetes overviewed by Google ai tools
MCP Server kurmak, bir Yapay Zeka modelinin (örneğin Claude'un) senin verilerine ve dış sistemlerine güvenli ve kurallı bir şekilde bağlanmasını sağlayan standart bir köprü (adaptör) ayağa kaldırmaktır. Nasıl ki veritabanına bağlanmak için JDBC standardı varsa, LLM'lerin dış dünyayla konuşması için de Model Context Protocol (MCP) bir standarttır.
Kafandaki "Kürbnetes MCP server hazır vardır da benim Spring app bana özel, onu nasıl yapacağız?" ikilemini ve işin mekaniğini şu şekilde özetleyebiliriz:
Kubernetes, GitHub, PostgreSQL veya dosya sistemi gibi genel geçer teknolojiler için dünyada birileri (Anthropic veya açık kaynak topluluğu) zaten genel amaçlı MCP sunucuları yazmıştır. Bunları doğrudan alır (örneğin bir npx komutu veya Docker container olarak) ve Claude Desktop gibi bir istemciye yapılandırıp geçersin. Bunlar evrenseldir, herkese açıktır.
Senin şirket içi iş kurallarını barındıran, kendi PostgreSQL veritabanına sorgu atan veya özel mikroservislerinle konuşan backend uygulamanı dış dünyadaki hazır bir K8s MCP server bilemez. Claude'un senin özel iş mantığını çalıştırabilmesi için, senin Spring Boot uygulamanın kendisini bir MCP Server'a dönüştürmen gerekir.
Artık bu iş için tekerleği yeniden keşfetmeye gerek yok. Spring AI kütüphanesi, Java dünyasında tam bu iş için yerleşik MCP Server desteği (spring-ai-starter-mcp-server-webmvc vb.) sunar.
Senin kod tarafında yapman gerekenler sadece şunlardan ibarettir:
@Tool): Spring Service katmanındaki herhangi bir metoda @Tool annotasyonu koyarsın:@Service
public class OrderService {
@Tool(name = "get_customer_orders", description = "Fetches active orders for a given customer ID from the database")
public List<Order> getCustomerOrders(String customerId) {
// Kendi özel business logic'in ve DB sorgun
return orderRepository.findByCustomerId(customerId);
}
}
tools) olduğunu otomatik olarak keşfeder (tools/list).Kullanıcı Claude'a "Serkan'ın son siparişleri neler?" diye sorduğunda, Claude arka planda senin Spring uygulamandaki getCustomer_orders metodunu JSON-RPC ile tetikler, veriyi alır ve kullanıcıya anlaşılır dille raporlar. Yani kendi uygulamanı birkaç satır annotasyonla birer AI aracına (Tool) dönüştürmüş olursun.
Model Context Protocol with Spring AI tutorial Bu video, Spring Boot uygulamalarını MCP sunucusuna dönüştürme sürecini pratik bir örnekle görsel olarak anlaman için faydalı olacaktır.
I rarely do this..
Below content is from X
--
Installing a skill you found on the internet into your agent means running someone else's script on your own machine.
Nvidia open-sourced SkillSpector for this exact reason. It scans the skill before installation, checking for prompt injection, data exfiltration, and problematic code, and ultimately assigns a risk score.
With --no-llm, it doesn't even require an API key.
I think the very first thing to do is check the ones already installed:
skillspector scan ~/.claude/skills --recursive --no-llm
If your skill folder is cluttered, run it once today, and make it a habit before installing any new skills so you can have peace of mind.
https://github.com/NVIDIA/SkillSpector
## Confessions of a Distracted Linux Coder: How "Port Already in Use" Turned into Heimdall
Hey everyone,
You know those moments when you're deep in code on Linux and suddenly…
**"Why can't I delete this file?"**
**"Which damn process is holding port 8080?"**
**"Wait, who just opened that socket?"**
One minute you're writing a function, the next you're running `lsof`, `ss`, `fuser`, `ps aux | grep`, `journalctl -u`, and `iotop` like a madman.
By the time you fix the tiny problem, you’ve completely forgotten what you were actually working on.
**"What was I doing again?"** 😅
Or worse — that paranoid feeling creeps in:
"Is everything okay? Why is systemd-journald eating CPU?
Who is scraping my disk like it's a frying pan?
Why are the modem lights blinking non-stop?
Who is sending all these packets?!"
And the worst one:
"Did that innocent little package I just installed silently start talking to the outside world without telling me?"
Switching between five different TUIs and terminals just to answer basic questions gets exhausting.
I got tired of it.
So… I ended up going down the rabbit hole.
What started as a quick hack to find "who's using this port" slowly grew into something bigger.
And because I can't help myself, I added way too many icons to make it feel a little more fun 😄
Ladies and gentlemen, meet **Heimdall** – my little terminal watchdog that's still very much in its crawling baby stage.
https://github.com/sunels/heimdall
It's nowhere near perfect, but it already saves me a surprising amount of time every day.
If you ever feel the same frustration, give it a try.
Feedback, suggestions, or even a tiny PR would genuinely make me happy.
Thanks for reading,