cmd/k8s-operator: add replica support to nameserver (#17246)

This commit modifies the `DNSConfig` custom resource to allow specifying
a replica count when deploying a nameserver. This allows deploying
nameservers in a HA configuration.

Updates https://github.com/tailscale/corp/issues/32589

Signed-off-by: David Bond <davidsbond93@gmail.com>
This commit is contained in:
David Bond
2025-09-29 12:38:15 +01:00
committed by GitHub
parent a32102f741
commit e466488a2a
7 changed files with 33 additions and 2 deletions

View File

@@ -100,6 +100,11 @@ spec:
tag:
description: Tag defaults to unstable.
type: string
replicas:
description: Replicas specifies how many Pods to create. Defaults to 1.
type: integer
format: int32
minimum: 0
service:
description: Service configuration.
type: object

View File

@@ -431,6 +431,11 @@ spec:
description: Tag defaults to unstable.
type: string
type: object
replicas:
description: Replicas specifies how many Pods to create. Defaults to 1.
format: int32
minimum: 0
type: integer
service:
description: Service configuration.
properties: