generate_dns_config
Generate required DNS records and validation commands for OpenShift cluster provisioning, including A and PTR records for hosts, API, and ingress VIPs.
Instructions
Generate DNS configuration for the cluster.
Args: cluster_name: Cluster name base_domain: Base domain api_vip: API VIP address ingress_vip: Ingress VIP address hosts: Optional JSON string of hosts list. Each host should have 'name' and 'ip' keys. Example: '[{"name": "master-0", "ip": "10.1.235.25"}, {"name": "master-1", "ip": "10.1.235.26"}]'
Returns: Required DNS records and validation commands including A and PTR records for hosts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosts | No | ||
| api_vip | Yes | ||
| base_domain | Yes | ||
| ingress_vip | Yes | ||
| cluster_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||