kat/examples/simple-service/virtualLoadBalancer.kat
2025-05-10 18:18:58 -04:00

15 lines
402 B
Plaintext

apiVersion: kat.dws.rip/v1alpha1
kind: VirtualLoadBalancer
metadata:
name: my-simple-nginx # Should match workload name
namespace: default
spec:
ports:
- name: http
containerPort: 80
protocol: TCP
healthCheck:
exec:
command: ["curl", "-f", "http://localhost/"] # Nginx doesn't have curl by default, this is illustrative
initialDelaySeconds: 5
periodSeconds: 10