15 lines
402 B
Plaintext
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 |