The logs were red. The app was unreachable. Traffic hit the cluster and died at the edge. You check Kubernetes Ingress. The config is off by one line. You open Vim.
Kubernetes Ingress is the rulebook for external traffic. It tells the cluster where to send HTTP and HTTPS requests. It works with an Ingress Controller like NGINX or Traefik to route data to the right Service. Without it, your services stay hidden inside the cluster.
Using Vim to edit Ingress manifests is fast and repeatable. You can open the YAML directly:
vim ingress.yaml
Define the metadata, spec, and rules. A minimal Kubernetes Ingress resource looks like:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: example-ingress
spec:
rules:
- host: example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: example-service
port:
number: 80
Set host to point to your DNS entry. Map the path to the service name and port. Save in Vim with :wq. Apply it: