-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinventory.yml
More file actions
52 lines (43 loc) · 1.56 KB
/
inventory.yml
File metadata and controls
52 lines (43 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
cluster:
children:
server:
hosts:
# Internal IP as host key, public IP as ansible_host.
# All server host keys are auto-collected as kube-ovn MASTER_NODES.
10.0.0.10:
ansible_host: 203.0.113.10
10.0.0.11:
ansible_host: 203.0.113.11
10.0.0.12:
ansible_host: 203.0.113.12
agent:
hosts:
10.0.0.20:
ansible_host: 203.0.113.20
vars:
ansible_port: 22
ansible_user: ubuntu
# k3s configuration (used by k3s.orchestration)
# renovate: datasource=github-releases depName=k3s-io/k3s
k3s_version: v1.36.0+k3s1
token: "CHANGE_ME"
api_endpoint: "10.0.0.10"
cluster_context: my-cluster
# Cozystack configuration (REQUIRED)
cozystack_api_server_host: "10.0.0.10"
# kube-ovn master nodes (auto-detected from 'server' group host keys).
# Override only if host keys are not internal IPs.
# cozystack_master_nodes: "10.0.0.10,10.0.0.11,10.0.0.12"
# Platform Package configuration
cozystack_root_host: "cozy.example.com"
cozystack_platform_variant: "isp-full-generic"
# External IPs for ingress-nginx (required on cloud VMs without native LB)
# cozystack_external_ips:
# - "203.0.113.10"
# Enable ingress on root tenant (creates IngressClass + controller)
# cozystack_tenant_root_ingress: true
# Extra k3s flags (used in prepare-ubuntu.yml)
cozystack_k3s_extra_args: "--tls-san=203.0.113.10"
# OCI: enable iptables flush (cloud images may block non-SSH traffic)
# cozystack_flush_iptables: true