From 8422bc2fb38fc2557c21c0da2adf664f4a94f580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=8C=AF=E5=AE=87?= <> Date: Sun, 12 Jan 2025 04:56:08 +0800 Subject: [PATCH] feat(docs): update README with Ansible directory information and adjust nodelocaldns IP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙振宇 <> --- README.md | 4 +--- cluster/ansible/README.md | 5 +++++ .../ansible/manifests/group_vars/k8s_cluster/k8s-cluster.yml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 cluster/ansible/README.md diff --git a/README.md b/README.md index 9d956009..7270aab8 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,4 @@ This repo files are managed by CI/CD services (Jenkins, Argo CD etc,.). `cluster/manifests//` stores the manifests of components or applications. -`cluster/inventory.ini` stores the current state of the cluster, if you want to add new nodes to cluster, you need edit this file. - -`cluster/group_vars` describes current configuration states of the cluster. +`cluster/ansible/` see [cluster/ansible/README.md](./cluster/ansible/README.md) diff --git a/cluster/ansible/README.md b/cluster/ansible/README.md new file mode 100644 index 00000000..6c2a313e --- /dev/null +++ b/cluster/ansible/README.md @@ -0,0 +1,5 @@ +# Freeleaps Cluster Maintain Ansible + +> This folder used to Freeleaps Kubernetes Cluster maintaining. + +## How to use ? diff --git a/cluster/ansible/manifests/group_vars/k8s_cluster/k8s-cluster.yml b/cluster/ansible/manifests/group_vars/k8s_cluster/k8s-cluster.yml index d55be4d0..ea4d7b49 100644 --- a/cluster/ansible/manifests/group_vars/k8s_cluster/k8s-cluster.yml +++ b/cluster/ansible/manifests/group_vars/k8s_cluster/k8s-cluster.yml @@ -171,7 +171,7 @@ dns_mode: coredns # Enable nodelocal dns cache enable_nodelocaldns: true enable_nodelocaldns_secondary: false -nodelocaldns_ip: 169.254.25.10 +nodelocaldns_ip: 10.233.0.10 nodelocaldns_health_port: 9254 nodelocaldns_second_health_port: 9256 nodelocaldns_bind_metrics_host_ip: false