Better HN
topnewbestaskshowjobs
Log inSign up

andres

1,637 karma · joined Feb 20, 2007 (19y ago) · 319 submissions

Lead Developer, Kubetail Co-Founder, Octopart
Submissions

1.

Show HN: Agent-Zero – Starter template for AI-native coding projects(github.com ↗)

1 points · by andres · 1mo ago · discuss

2.

Show HN: Gochan – A library of channel architectures for Go, inspired by Rust(github.com ↗)

5 points · by andres · 6mo ago · discuss

comment 6mo ago · link · parent

In addition the skills teach the agent about which kubectl commands are mutating so it doesn’t treat them and normal Bash() commands and asks you for permission first.

4.

Show HN: Kstack – Skill pack for monitoring/troubleshooting K8s in Claude Code(github.com ↗)

25 points · by andres · 6mo ago · 7 comments

5.

Kubetail: New Rust-Based Cluster Agent(kubetail.com ↗)

1 points · by andres · 1y ago · discuss

comment 1y ago · link · parent

Hi @nodesocket! Thanks for your support! Your help ironing out the bugs after launch was incredibly helpful.

comment 1y ago · link · parent

Thanks! I used Screen Studio for the demos (https://screen.studio). I had to pay for it but I couldn't find the zoom+highlight feature anywhere else.

Regarding Heroku - I loved Heroku the first time I used it so I set up my Kubernetes cluster to work in a similar way (`git push` to deploy to production). I know K8s has a reputation for being useful only for large deployments/large teams but in my experience this isn't true. You can run a single node cluster and use it to host multiple projects all sharing the same load balancer, or you can scale up to thousands of machines with many microservices working together internally. Would it be helpful for you to see a HOWTO for setting up a Heroku-like K8s cluster?

comment 1y ago · link · parent

Yes, there's no index. It uses grep (powered by ripgrep) under the hood.

comment 1y ago · link · parent

Kubetail is more lightweight than Loki/Grafana. It fetches logs using the Kubernetes API which means you can only see the current state of the cluster but you can use it without installing any additional software or provisioning storage. Our new search feature greps container log files on the nodes themselves as compared to Loki/Grafana that builds a full-text index in the background and queries that at search time (I think).

Stern is a CLI tool which more closely compares to the Kubetail CLI tool (as opposed to the Kubetail web interface). Currently, there's a lot of overlap between the two tools but Kubetail gives you more control over source filters and time. For example with the Kubetail CLI tool you can do queries like this:

    kubetail logs deployments/web \
      --since 2025-05-01T00:00:00Z \
      --until 2025-05-02T00:00:00Z \
      --zone us-east-1a \
      --with-ts \
      --with-node \
      --with-pod \
      --tail=100
I'm not too familiar with stern though so please correct me if I'm wrong. In any case, soon we're going to add more features to the Kubetail CLI tool that will be unique (e.g. remote grep, system logs).

comment 1y ago · link · parent

Thanks for posting a link to Johan's project. I'm in touch with him to figure out the best way to avoid confusing users.

comment 1y ago · link · parent

Yep! You can use Kubetail on your desktop (using the CLI tool) or you can install it directly in your cluster using helm:

    helm repo add kubetail https://kubetail-org.github.io/helm-charts/
    helm install kubetail kubetail/kubetail --namespace kubetail-system --create-namespace
Then you can access it using `kubectl proxy` or `kubectl port-forward`:

    kubectl port-forward -n kubetail-system svc/kubetail-dashboard 8080:8080
You can also configure an ingress using the values.yaml file (https://github.com/kubetail-org/helm-charts/blob/main/charts...)

comment 1y ago · link · parent

Thanks! Kubetail doesn't cache or store logs itself. By default, it uses the Kubernetes API to fetch logs from your cluster and send them directly to your client (browser or terminal). If the "Kubetail Cluster API" is installed then it uses Kubetail's custom agent to do the same.

comment 1y ago · link · parent

Thanks! Part of what enables us to make a helpful lightweight solution is that we're leveraging the Kubernetes API to give logs context without requiring extra configuration. It'd be great to generalize Kubetail but a lot of that depends on how cloud platforms evolve over the next few years. Do you use Kubernetes?

comment 1y ago · link · parent

Thanks! Your comment made my day! It sounds like your use-case is similar to mine when I started working on the project. Now we have a community of contributors working on Kubetail so if you have time, stop by our Discord and let us know what else we can do to help (https://discord.gg/CmsmWAVkvX).

comment 1y ago · link · parent

If you get a chance to try out the Kubetail CLI, I'd love to hear your thoughts! There's a lot of overlap with stern at the moment but we're planning on adding new features soon that will be unique (e.g. remote grep, system logs).

16.

Show HN: Kubetail – Real-time log search for Kubernetes(github.com ↗)

126 points · by andres · 1y ago · 35 comments

17.

Show HN: Edge-CSRF – CSRF protection at the edge (Next.js, SvelteKit)(github.com ↗)

1 points · by andres · 2y ago · discuss

18.

Show HN: Edge-CSRF – CSRF protection on edge runtime (Next.js, SvelteKit)(github.com ↗)

1 points · by andres · 2y ago · discuss

comment 2y ago · link · parent

If you get a chance, please check out kubetail (https://github.com/kubetail-org/kubetail). It's an open source log viewer for Kubernetes. Currently you can use it to look at pod logs from beginning to end, grouped together by workload (e.g. Deployment, CronJob) with basic filtering available (e.g. node-id, AZ). It doesn't let you look at historical logs yet but that's where we're headed. We just launched so we're eager for feedback and we like to build out new features quickly.

comment 2y ago · link · parent

Update: fixed in v0.1.1 https://www.npmjs.com/package/fancy-ansi

comment 2y ago · link · parent

Created issue: https://github.com/kubetail-org/fancy-ansi/issues/2

Blink support would use CSS animations which requires a deeper level of integration than the other SGR parameters so I wanted to hold off until I could iterate over a solution with a user. If you'd like to use Fancy-ANSI with blink support, please let me know on GitHub and I can implement it fairly quickly.

comment 2y ago · link · parent

Awesome! Great to hear it's useful for your project. Let me know if you have any questions or run into any issues.

comment 2y ago · link · parent

Noted, thanks https://github.com/kubetail-org/fancy-ansi/issues/1

comment 2y ago · link · parent

The library is focused on text styling so it only implements ANSI SGR parameters. I used this as a reference: https://en.wikipedia.org/wiki/ANSI_escape_code

The full list of supported SGR parameters is in the README: https://github.com/kubetail-org/fancy-ansi?tab=readme-ov-fil...

Let me know if you have any suggestions on how to make it clearer which subset of ANSI is supported.

25.

Show HN: Fancy-ANSI – Small JavaScript library for converting ANSI to HTML(github.com ↗)

16 points · by andres · 2y ago · 11 comments

comment 2y ago · link · parent

I added "Fancy-ANSI" as ASCII art to the preview site: https://kubetail-org.github.io/fancy-ansi/

comment 2y ago · link · parent

Great! Do you mean a screenshot? As far as I know, besides images, you can’t embed html in GitHub readmes.

28.

Show HN: Fancy-ANSI – Small JavaScript library for rendering ANSI in the browser(github.com ↗)

4 points · by andres · 2y ago · 3 comments

12345
11