add stuff
parent
f9ebd45c74
commit
a38ab0e9ed
|
@ -24,11 +24,11 @@ contrib/terraform/aws/credentials.tfvars
|
||||||
vagrant/
|
vagrant/
|
||||||
plugins/mitogen
|
plugins/mitogen
|
||||||
|
|
||||||
# Ansible inventory
|
# # Ansible inventory
|
||||||
inventory/*
|
# inventory/*
|
||||||
!inventory/local
|
# !inventory/local
|
||||||
!inventory/sample
|
# !inventory/sample
|
||||||
inventory/*/artifacts/
|
# inventory/*/artifacts/
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
allow_privileged: false
|
||||||
|
|
||||||
|
# Add extra SANs to API server certificate
|
||||||
|
supplementary_addresses_in_ssl_keys:
|
||||||
|
- "sunset.clusters.sfcompute.com" # sunset = soluna
|
||||||
|
|
||||||
|
kube_network_plugin: cilium
|
||||||
|
|
||||||
|
# Enable Cilium
|
||||||
|
cilium_enable_ipv4: true
|
||||||
|
cilium_tunnel_mode: "vxlan"
|
||||||
|
|
||||||
|
# Enable hubble (Cilium's UI)
|
||||||
|
cilium_enable_hubble: true
|
||||||
|
cilium_hubble_install: true
|
||||||
|
cilium_hubble_tls_generate: true
|
|
@ -0,0 +1,41 @@
|
||||||
|
## Configure 'ip' variable to bind kubernetes services on a
|
||||||
|
# ## different ip than the default iface
|
||||||
|
# ## We should set etcd_member_name for etcd cluster. The node that is not a etcd member do not need to set the value, or can set the empty string value.
|
||||||
|
[all]
|
||||||
|
soluna-1 ansible_host=10.250.3.10
|
||||||
|
soluna-2 ansible_host=10.250.3.11
|
||||||
|
soluna-3 ansible_host=10.250.3.12
|
||||||
|
soluna-4 ansible_host=10.250.3.13
|
||||||
|
soluna-5 ansible_host=10.250.3.14
|
||||||
|
soluna-6 ansible_host=10.250.3.15 etcd_member_name=etcd1
|
||||||
|
soluna-7 ansible_host=10.250.3.16 etcd_member_name=etcd2
|
||||||
|
soluna-8 ansible_host=10.250.3.17 etcd_member_name=etcd3
|
||||||
|
# node1 ansible_host=95.54.0.12 # ip=10.3.0.1 etcd_member_name=etcd1
|
||||||
|
|
||||||
|
# ## configure a bastion host if your nodes are not directly reachable
|
||||||
|
# [bastion]
|
||||||
|
# bastion ansible_host=x.x.x.x ansible_user=some_user
|
||||||
|
|
||||||
|
[kube_control_plane]
|
||||||
|
soluna-6
|
||||||
|
soluna-7
|
||||||
|
soluna-8
|
||||||
|
|
||||||
|
[etcd]
|
||||||
|
soluna-6
|
||||||
|
soluna-7
|
||||||
|
soluna-8
|
||||||
|
|
||||||
|
[kube_node]
|
||||||
|
soluna-1
|
||||||
|
soluna-2
|
||||||
|
soluna-3
|
||||||
|
soluna-4
|
||||||
|
soluna-5
|
||||||
|
soluna-6
|
||||||
|
soluna-7
|
||||||
|
soluna-8
|
||||||
|
|
||||||
|
[k8s_cluster:children]
|
||||||
|
kube_control_plane
|
||||||
|
kube_node
|
Loading…
Reference in New Issue