From 596efb4cc17429f1e2d7dd48c1abd92e25c6675c Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Mon, 29 May 2023 20:07:45 +0800 Subject: [PATCH] playbook/jobs/init_k3s_cluster: update --- .github/workflows/setup-kube-ovn-demo-with-existed-vhost.yml | 2 +- playbook/jobs/init_k3s_cluster | 2 +- playbook/jobs/init_k3s_cluster_ali | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/setup-kube-ovn-demo-with-existed-vhost.yml b/.github/workflows/setup-kube-ovn-demo-with-existed-vhost.yml index 546ba106..fb372944 100644 --- a/.github/workflows/setup-kube-ovn-demo-with-existed-vhost.yml +++ b/.github/workflows/setup-kube-ovn-demo-with-existed-vhost.yml @@ -61,7 +61,7 @@ jobs: dns_sk=$DNS_SK ingress_ip=8.130.11.192 EOF - ansible-playbook -i hosts/inventory jobs/init_k3s_cluster -D + ansible-playbook -i hosts/inventory jobs/init_k3s_cluster_ali -D setup-gcp-k3s: runs-on: ubuntu-latest diff --git a/playbook/jobs/init_k3s_cluster b/playbook/jobs/init_k3s_cluster index 530ab31d..6490d2be 100644 --- a/playbook/jobs/init_k3s_cluster +++ b/playbook/jobs/init_k3s_cluster @@ -11,7 +11,7 @@ cluster_domain: 'cluster.local' version: 'v1.24.7+k3s1' ingress: nginx - cni: default + cni: kubeovn pod_cidr: '10.16.0.0/16' pod_gateway: '10.16.0.1' svc_cidr: '10.96.0.0/16' diff --git a/playbook/jobs/init_k3s_cluster_ali b/playbook/jobs/init_k3s_cluster_ali index e07834f8..220f51b7 100644 --- a/playbook/jobs/init_k3s_cluster_ali +++ b/playbook/jobs/init_k3s_cluster_ali @@ -11,7 +11,7 @@ cluster_domain: 'cluster.local' version: 'v1.24.7+k3s1' ingress: nginx - cni: kubeovn + cni: default pod_cidr: '10.17.0.0/16' pod_gateway: '10.17.0.1' svc_cidr: '10.97.0.0/16'