From 92685086a81f6d70749d5fe7ac4864d901a37d9c Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Sat, 7 Dec 2024 22:07:37 +0900 Subject: [PATCH 1/2] loxilb-io/kube-loxilb#212 added cicd for dual-stack --- .github/workflows/dual-stack.yml | 33 +++++ .../.vagrant/bundler/global.sol | 1 + .../machines/worker1/virtualbox/vagrant_cwd | 1 + .../.vagrant/rgloader/loader.rb | 12 ++ .../Vagrantfile | 48 +++++++ cicd/k3s-flannel-cluster-dual-stack/config.sh | 3 + cicd/k3s-flannel-cluster-dual-stack/host.sh | 12 ++ .../host_validation.sh | 24 ++++ .../kube-loxilb.yml | 132 ++++++++++++++++++ cicd/k3s-flannel-cluster-dual-stack/loxilb.sh | 25 ++++ cicd/k3s-flannel-cluster-dual-stack/master.sh | 16 +++ cicd/k3s-flannel-cluster-dual-stack/nginx.yml | 28 ++++ .../k3s-flannel-cluster-dual-stack/nginx6.yml | 36 +++++ .../rmconfig.sh | 4 + .../validation.sh | 34 +++++ .../wait_ready.sh | 37 +++++ cicd/k3s-flannel-cluster-dual-stack/worker.sh | 11 ++ 17 files changed, 457 insertions(+) create mode 100644 .github/workflows/dual-stack.yml create mode 100644 cicd/k3s-flannel-cluster-dual-stack/.vagrant/bundler/global.sol create mode 100644 cicd/k3s-flannel-cluster-dual-stack/.vagrant/machines/worker1/virtualbox/vagrant_cwd create mode 100644 cicd/k3s-flannel-cluster-dual-stack/.vagrant/rgloader/loader.rb create mode 100644 cicd/k3s-flannel-cluster-dual-stack/Vagrantfile create mode 100755 cicd/k3s-flannel-cluster-dual-stack/config.sh create mode 100755 cicd/k3s-flannel-cluster-dual-stack/host.sh create mode 100755 cicd/k3s-flannel-cluster-dual-stack/host_validation.sh create mode 100644 cicd/k3s-flannel-cluster-dual-stack/kube-loxilb.yml create mode 100755 cicd/k3s-flannel-cluster-dual-stack/loxilb.sh create mode 100755 cicd/k3s-flannel-cluster-dual-stack/master.sh create mode 100644 cicd/k3s-flannel-cluster-dual-stack/nginx.yml create mode 100644 cicd/k3s-flannel-cluster-dual-stack/nginx6.yml create mode 100755 cicd/k3s-flannel-cluster-dual-stack/rmconfig.sh create mode 100755 cicd/k3s-flannel-cluster-dual-stack/validation.sh create mode 100755 cicd/k3s-flannel-cluster-dual-stack/wait_ready.sh create mode 100755 cicd/k3s-flannel-cluster-dual-stack/worker.sh diff --git a/.github/workflows/dual-stack.yml b/.github/workflows/dual-stack.yml new file mode 100644 index 000000000..10e0b367f --- /dev/null +++ b/.github/workflows/dual-stack.yml @@ -0,0 +1,33 @@ +name: K3s-Dual-Stack-Sanity-CI +on: + schedule: + # Runs "At 8:00 UTC every day-of-week" + - cron: '0 8 * * *' + workflow_dispatch: + inputs: + testName: + description: 'Test Run-Name' + required: true + default: 'k3s-dual-stack' +jobs: + build: + name: k3s-dual-stack-sanity + runs-on: [self-hosted, large] + if: github.repository == 'loxilb-io/loxilb' + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + - name: Run K3s Dual-Stack CICD + run: | + cd cicd/k3s-flannel-cluster-dual-stack + ./config.sh + ./validation.sh + ./rmconfig.sh + cd - + - name: Clean test-bed + if: success() || failure() + run: | + cd cicd/k3s-flannel-cluster-dual-stack/ || true + ./rmconfig.sh + cd - diff --git a/cicd/k3s-flannel-cluster-dual-stack/.vagrant/bundler/global.sol b/cicd/k3s-flannel-cluster-dual-stack/.vagrant/bundler/global.sol new file mode 100644 index 000000000..c07101258 --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/.vagrant/bundler/global.sol @@ -0,0 +1 @@ +{"dependencies":[["log4r",[">= 0"]],["concurrent-ruby",["~> 1.0"]],["i18n",[">= 0"]],["micromachine",[">= 2","< 4"]],["vagrant-vbguest",["= 0.31.0"]]],"checksum":"34f4df51dc02582dc436b1fb7fa53accac353e7e34cb75b0346ac15c51795c80","vagrant_version":"2.4.1"} \ No newline at end of file diff --git a/cicd/k3s-flannel-cluster-dual-stack/.vagrant/machines/worker1/virtualbox/vagrant_cwd b/cicd/k3s-flannel-cluster-dual-stack/.vagrant/machines/worker1/virtualbox/vagrant_cwd new file mode 100644 index 000000000..e9c279f6c --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/.vagrant/machines/worker1/virtualbox/vagrant_cwd @@ -0,0 +1 @@ +/home/dipj/dj-nlx/loxilb-trekkie-new/cicd/k3s-flannel-cluster-dual-stack \ No newline at end of file diff --git a/cicd/k3s-flannel-cluster-dual-stack/.vagrant/rgloader/loader.rb b/cicd/k3s-flannel-cluster-dual-stack/.vagrant/rgloader/loader.rb new file mode 100644 index 000000000..b6c81bf31 --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/.vagrant/rgloader/loader.rb @@ -0,0 +1,12 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: BUSL-1.1 + +# This file loads the proper rgloader/loader.rb file that comes packaged +# with Vagrant so that encoded files can properly run with Vagrant. + +if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"] + require File.expand_path( + "rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]) +else + raise "Encoded files can't be read outside of the Vagrant installer." +end diff --git a/cicd/k3s-flannel-cluster-dual-stack/Vagrantfile b/cicd/k3s-flannel-cluster-dual-stack/Vagrantfile new file mode 100644 index 000000000..100fff963 --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/Vagrantfile @@ -0,0 +1,48 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +workers = (ENV['WORKERS'] || "1").to_i +box_name = (ENV['VAGRANT_BOX'] || "bento/ubuntu-22.04" ) +box_version = "202407.23.0" +Vagrant.configure("2") do |config| + config.vm.box = "#{box_name}" + config.vm.box_version = "#{box_version}" + + if Vagrant.has_plugin?("vagrant-vbguest") + config.vbguest.auto_update = false + end + + config.vm.define "host" do |host| + host.vm.hostname = 'host' + host.vm.network :private_network, ip: "192.168.80.8", :netmask => "255.255.255.0" + host.vm.network :private_network, ip: "192.168.90.8", :netmask => "255.255.255.0" + host.vm.provision :shell, :path => "host.sh" + host.vm.provider :virtualbox do |vbox| + vbox.customize ["modifyvm", :id, "--memory", 4000] + vbox.customize ["modifyvm", :id, "--cpus", 2] + end + end + + config.vm.define "loxilb" do |loxilb| + loxilb.vm.hostname = 'llb1' + #loxilb.vm.network "forwarded_port", guest: 55002, host: 5502, protocol: "tcp" + loxilb.vm.network :private_network, ip: "192.168.80.9", :netmask => "255.255.255.0" + loxilb.vm.network :private_network, ip: "192.168.90.9", :netmask => "255.255.255.0" + loxilb.vm.provision :shell, :path => "loxilb.sh" + loxilb.vm.provider :virtualbox do |vbox| + vbox.customize ["modifyvm", :id, "--memory", 6000] + vbox.customize ["modifyvm", :id, "--cpus", 4] + end + end + + + config.vm.define "master" do |master| + master.vm.hostname = 'master' + master.vm.network :private_network, ip: "192.168.80.10", :netmask => "255.255.255.0" + master.vm.provision :shell, :path => "master.sh" + master.vm.provider :virtualbox do |vbox| + vbox.customize ["modifyvm", :id, "--memory", 4096] + vbox.customize ["modifyvm", :id, "--cpus", 2] + end + end +end diff --git a/cicd/k3s-flannel-cluster-dual-stack/config.sh b/cicd/k3s-flannel-cluster-dual-stack/config.sh new file mode 100755 index 000000000..6b8ee48ef --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/config.sh @@ -0,0 +1,3 @@ +#!/bin/bash +vagrant global-status | grep -i virtualbox | cut -f 1 -d ' ' | xargs -L 1 vagrant destroy -f +vagrant up diff --git a/cicd/k3s-flannel-cluster-dual-stack/host.sh b/cicd/k3s-flannel-cluster-dual-stack/host.sh new file mode 100755 index 000000000..fbf46ea98 --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/host.sh @@ -0,0 +1,12 @@ +ip addr add 3ffe:cafe::8/64 dev eth2 + +sysctl net.ipv6.conf.all.proxy_ndp=1 +sysctl net.ipv6.conf.default.proxy_ndp=1 +sysctl net.ipv6.conf.eth2.proxy_ndp=1 + +apt-get update +apt-get install -y software-properties-common +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - +add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" +apt-get update +apt-get install -y docker-ce diff --git a/cicd/k3s-flannel-cluster-dual-stack/host_validation.sh b/cicd/k3s-flannel-cluster-dual-stack/host_validation.sh new file mode 100755 index 000000000..9a3ba352e --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/host_validation.sh @@ -0,0 +1,24 @@ +#!/bin/bash +extIP=$(cat /vagrant/extIP) + +mode="default" +tcp_port=55002 + +code=0 +echo TCP Service IP: $extIP + +ip -6 route list match $extIP | grep $extIP -A 2 + +echo -e "\n*********************************************" +echo "Testing Service" +echo "*********************************************" +for((i=0;i<20;i++)) +do + out=$(curl -s --connect-timeout 10 http://[$extIP]:$tcp_port) + if [[ ${out} == *"Welcome to nginx"* ]]; then + echo -e "dual-stack TCP\t($mode)\t[OK]" + else + echo -e "dual-stack TCP\t($mode)\t[FAILED]" + code=1 + fi +done diff --git a/cicd/k3s-flannel-cluster-dual-stack/kube-loxilb.yml b/cicd/k3s-flannel-cluster-dual-stack/kube-loxilb.yml new file mode 100644 index 000000000..bf66ae196 --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/kube-loxilb.yml @@ -0,0 +1,132 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: kube-loxilb + namespace: kube-system +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: kube-loxilb +rules: + - apiGroups: + - "" + resources: + - nodes + verbs: + - get + - watch + - list + - patch + - apiGroups: + - "" + resources: + - pods + verbs: + - get + - watch + - list + - patch + - apiGroups: + - "" + resources: + - endpoints + - services + - namespaces + - services/status + verbs: + - get + - watch + - list + - patch + - update + - apiGroups: + - discovery.k8s.io + resources: + - endpointslices + verbs: + - get + - watch + - list + - apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create + - apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: kube-loxilb +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: kube-loxilb +subjects: + - kind: ServiceAccount + name: kube-loxilb + namespace: kube-system +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: kube-loxilb + namespace: kube-system + labels: + app: loxilb +spec: + replicas: 1 + selector: + matchLabels: + app: loxilb + template: + metadata: + labels: + app: loxilb + spec: + hostNetwork: true + tolerations: + - effect: NoSchedule + operator: Exists + # Mark the pod as a critical add-on for rescheduling. + - key: CriticalAddonsOnly + operator: Exists + - effect: NoExecute + operator: Exists + priorityClassName: system-node-critical + serviceAccountName: kube-loxilb + terminationGracePeriodSeconds: 0 + containers: + - name: kube-loxilb + image: ghcr.io/loxilb-io/kube-loxilb:latest + imagePullPolicy: Always + command: + - /bin/kube-loxilb + args: + - --loxiURL=http://192.168.80.9:11111 + - --cidrPools=defaultPool=123.123.123.1/24 + - --setRoles=0.0.0.0 + #- --monitor + #- --setBGP + #- --setLBMode=1 + #- --config=/opt/loxilb/agent/kube-loxilb.conf + - --v=4 + resources: + requests: + cpu: "100m" + memory: "50Mi" + limits: + cpu: "100m" + memory: "50Mi" + securityContext: + privileged: true + capabilities: + add: ["NET_ADMIN", "NET_RAW"] diff --git a/cicd/k3s-flannel-cluster-dual-stack/loxilb.sh b/cicd/k3s-flannel-cluster-dual-stack/loxilb.sh new file mode 100755 index 000000000..12d314fc8 --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/loxilb.sh @@ -0,0 +1,25 @@ +export LOXILB_IP=$(ip a |grep global | grep -v '10.0.2.15' | grep -v '192.168.80' | awk '{print $2}' | cut -f1 -d '/') + +ip addr add 2001:cafe:43::2/112 dev eth1 +ip addr add 3ffe:cafe::9/64 dev eth2 + +apt-get update +apt-get install -y software-properties-common +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - +add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" +apt-get update +apt-get install -y docker-ce +docker run -u root --cap-add SYS_ADMIN --restart unless-stopped --privileged -dit -v /dev/log:/dev/log --net=host --entrypoint /root/loxilb-io/loxilb/loxilb --name loxilb ghcr.io/loxilb-io/loxilb:latest + +#sleep 20 +#curl -X 'POST' \ +# 'http://127.0.0.1:11111/netlox/v1/config/cistate' \ +# -H 'accept: application/json' \ +# -H 'Content-Type: application/json' \ +# -d '{ +# "instance": "default", +# "state": "MASTER", +# "vip": "0.0.0.0" +#}' + +echo $LOXILB_IP > /vagrant/loxilb-ip diff --git a/cicd/k3s-flannel-cluster-dual-stack/master.sh b/cicd/k3s-flannel-cluster-dual-stack/master.sh new file mode 100755 index 000000000..44a946020 --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/master.sh @@ -0,0 +1,16 @@ +export MASTER_IP=$(ip a |grep global | grep -v '10.0.2.15' | grep '192.168.80' | awk '{print $2}' | cut -f1 -d '/') +ip addr add 2001:cafe:43::4/112 dev eth1 +ip -6 route add default via 2001:cafe:43::2 +echo '2001:cafe:43::4 master master' | sudo tee -a /etc/hosts +#echo '192.168.80.10 master master' | sudo tee -a /etc/hosts + +curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION="v1.25.16+k3s4" INSTALL_K3S_EXEC="server --disable traefik --disable servicelb --disable-cloud-controller --cluster-cidr=2001:cafe:42::/56,192.169.0.0/16 --service-cidr=2001:cafe:43::/112,172.16.0.0/24 --disable-network-policy --node-ip=2001:cafe:43::4,192.168.80.10 --node-external-ip=2001:cafe:43::4,192.168.80.10 --flannel-ipv6-masq" sh - + +echo $MASTER_IP > /vagrant/master-ip +sudo cp /var/lib/rancher/k3s/server/node-token /vagrant/node-token +sudo cp /etc/rancher/k3s/k3s.yaml /vagrant/k3s.yaml +sudo sed -i -e "s/127.0.0.1/${MASTER_IP}/g" /vagrant/k3s.yaml +sudo kubectl apply -f /vagrant/kube-loxilb.yml +sleep 60 +sudo kubectl apply -f /vagrant/nginx6.yml +/vagrant/wait_ready.sh diff --git a/cicd/k3s-flannel-cluster-dual-stack/nginx.yml b/cicd/k3s-flannel-cluster-dual-stack/nginx.yml new file mode 100644 index 000000000..e6d7ccec4 --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/nginx.yml @@ -0,0 +1,28 @@ +apiVersion: v1 +kind: Service +metadata: + name: nginx-lb1 + annotations: + loxilb.io/lbmode: "onearm" +spec: + externalTrafficPolicy: Local + loadBalancerClass: loxilb.io/loxilb + selector: + what: nginx-test + ports: + - port: 55002 + targetPort: 80 + type: LoadBalancer +--- +apiVersion: v1 +kind: Pod +metadata: + name: nginx-test + labels: + what: nginx-test +spec: + containers: + - name: nginx-test + image: ghcr.io/loxilb-io/nginx:stable + ports: + - containerPort: 80 diff --git a/cicd/k3s-flannel-cluster-dual-stack/nginx6.yml b/cicd/k3s-flannel-cluster-dual-stack/nginx6.yml new file mode 100644 index 000000000..d0a722251 --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/nginx6.yml @@ -0,0 +1,36 @@ +apiVersion: v1 +kind: Service +metadata: + name: nginx-lb1-ipv6 + annotations: + # If there is a need to do liveness check from loxilb + loxilb.io/liveness: "no" + # Specify LB mode - one of default, onearm or fullnat + loxilb.io/lbmode: "default" + # Specify loxilb IPAM mode - one of ipv4, ipv6 or ipv6to4 + loxilb.io/ipam: "ipv6" +spec: + externalTrafficPolicy: Local + loadBalancerClass: loxilb.io/loxilb + selector: + what: nginx-test-ipv6 + ports: + - port: 55002 + targetPort: 80 + type: LoadBalancer + ipFamilies: + - IPv6 +--- +apiVersion: v1 +kind: Pod +metadata: + name: nginx-test-ipv6 + labels: + what: nginx-test-ipv6 +spec: + containers: + - name: nginx-test-ipv6 + image: ghcr.io/loxilb-io/nginx:stable + ports: + - containerPort: 80 + diff --git a/cicd/k3s-flannel-cluster-dual-stack/rmconfig.sh b/cicd/k3s-flannel-cluster-dual-stack/rmconfig.sh new file mode 100755 index 000000000..89828244d --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/rmconfig.sh @@ -0,0 +1,4 @@ +#!/bin/bash +vagrant destroy -f host +vagrant destroy -f master +vagrant destroy -f loxilb diff --git a/cicd/k3s-flannel-cluster-dual-stack/validation.sh b/cicd/k3s-flannel-cluster-dual-stack/validation.sh new file mode 100755 index 000000000..add62140d --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/validation.sh @@ -0,0 +1,34 @@ +#!/bin/bash +source ../common.sh +echo dual-stack-test + +if [ "$1" ]; then + KUBECONFIG="$1" +fi + +# Set space as the delimiter +IFS=' ' + +sleep 45 +extIP="3ffe:cafe::1" +echo $extIP +echo $extIP > extIP + +echo "******************************************************************************" +echo -e "\nSVC List" +echo "******************************************************************************" +vagrant ssh master -c 'sudo kubectl get svc' 2> /dev/null +echo "******************************************************************************" +echo -e "\nCluster Info" +echo "******************************************************************************" +echo "******************************************************************************" +echo -e "\nPods" +echo "******************************************************************************" +vagrant ssh master -c 'sudo kubectl get pods -A' 2> /dev/null +echo "******************************************************************************" +echo -e "\nNodes" +echo "******************************************************************************" +vagrant ssh master -c 'sudo kubectl get nodes' 2> /dev/null + +vagrant ssh host -c 'sudo /vagrant/host_validation.sh' 2> /dev/null +sudo rm extIP diff --git a/cicd/k3s-flannel-cluster-dual-stack/wait_ready.sh b/cicd/k3s-flannel-cluster-dual-stack/wait_ready.sh new file mode 100755 index 000000000..5ff06e373 --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/wait_ready.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +function wait_cluster_ready { + Res=$(sudo kubectl get pods -A | + while IFS= read -r line; do + if [[ "$line" != *"Running"* && "$line" != *"READY"* ]]; then + echo "not ready" + return + fi + done) + if [[ $Res == *"not ready"* ]]; then + return 1 + fi + return 0 +} + +function wait_cluster_ready_full { + i=1 + nr=0 + for ((;;)) do + wait_cluster_ready + nr=$? + if [[ $nr == 0 ]]; then + echo "Cluster is ready" + break + fi + i=$(( $i + 1 )) + if [[ $i -ge 40 ]]; then + echo "Cluster is not ready.Giving up" + exit 1 + fi + echo "Cluster is not ready...." + sleep 10 + done +} + +wait_cluster_ready_full diff --git a/cicd/k3s-flannel-cluster-dual-stack/worker.sh b/cicd/k3s-flannel-cluster-dual-stack/worker.sh new file mode 100755 index 000000000..84986cc0c --- /dev/null +++ b/cicd/k3s-flannel-cluster-dual-stack/worker.sh @@ -0,0 +1,11 @@ +export WORKER_ADDR=$(ip a |grep global | grep -v '10.0.2.15' | grep '192.168.80' | awk '{print $2}' | cut -f1 -d '/') +export MASTER_ADDR=$(cat /vagrant/master-ip) +export NODE_TOKEN=$(cat /vagrant/node-token) + +sudo mkdir -p /etc/rancher/k3s +sudo cp -f /vagrant/k3s.yaml /etc/rancher/k3s/k3s.yaml +curl -sfL https://get.k3s.io | K3S_URL="https://${MASTER_ADDR}:6443" K3S_TOKEN="${NODE_TOKEN}" INSTALL_K3S_EXEC="--node-ip=${WORKER_ADDR} --node-external-ip=${WORKER_ADDR}" sh - +sudo kubectl apply -f /vagrant/nginx.yml +sudo kubectl apply -f /vagrant/udp.yml +sudo kubectl apply -f /vagrant/sctp.yml +/vagrant/wait_ready.sh From 426daa4ef7261560431a70594be7c1924fa472b0 Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Sat, 7 Dec 2024 22:10:38 +0900 Subject: [PATCH 2/2] loxilb-io/kube-loxilb#212 added cicd for dual-stack --- .../.vagrant/bundler/global.sol | 1 - .../.vagrant/machines/worker1/virtualbox/vagrant_cwd | 1 - .../.vagrant/rgloader/loader.rb | 12 ------------ 3 files changed, 14 deletions(-) delete mode 100644 cicd/k3s-flannel-cluster-dual-stack/.vagrant/bundler/global.sol delete mode 100644 cicd/k3s-flannel-cluster-dual-stack/.vagrant/machines/worker1/virtualbox/vagrant_cwd delete mode 100644 cicd/k3s-flannel-cluster-dual-stack/.vagrant/rgloader/loader.rb diff --git a/cicd/k3s-flannel-cluster-dual-stack/.vagrant/bundler/global.sol b/cicd/k3s-flannel-cluster-dual-stack/.vagrant/bundler/global.sol deleted file mode 100644 index c07101258..000000000 --- a/cicd/k3s-flannel-cluster-dual-stack/.vagrant/bundler/global.sol +++ /dev/null @@ -1 +0,0 @@ -{"dependencies":[["log4r",[">= 0"]],["concurrent-ruby",["~> 1.0"]],["i18n",[">= 0"]],["micromachine",[">= 2","< 4"]],["vagrant-vbguest",["= 0.31.0"]]],"checksum":"34f4df51dc02582dc436b1fb7fa53accac353e7e34cb75b0346ac15c51795c80","vagrant_version":"2.4.1"} \ No newline at end of file diff --git a/cicd/k3s-flannel-cluster-dual-stack/.vagrant/machines/worker1/virtualbox/vagrant_cwd b/cicd/k3s-flannel-cluster-dual-stack/.vagrant/machines/worker1/virtualbox/vagrant_cwd deleted file mode 100644 index e9c279f6c..000000000 --- a/cicd/k3s-flannel-cluster-dual-stack/.vagrant/machines/worker1/virtualbox/vagrant_cwd +++ /dev/null @@ -1 +0,0 @@ -/home/dipj/dj-nlx/loxilb-trekkie-new/cicd/k3s-flannel-cluster-dual-stack \ No newline at end of file diff --git a/cicd/k3s-flannel-cluster-dual-stack/.vagrant/rgloader/loader.rb b/cicd/k3s-flannel-cluster-dual-stack/.vagrant/rgloader/loader.rb deleted file mode 100644 index b6c81bf31..000000000 --- a/cicd/k3s-flannel-cluster-dual-stack/.vagrant/rgloader/loader.rb +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: BUSL-1.1 - -# This file loads the proper rgloader/loader.rb file that comes packaged -# with Vagrant so that encoded files can properly run with Vagrant. - -if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"] - require File.expand_path( - "rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]) -else - raise "Encoded files can't be read outside of the Vagrant installer." -end