Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • eclipse-research-labs/codeco-project/acm
  • sferlin/acm
  • josecastillolema/acm
  • deankel1000/acm
  • alnixon/acm
  • alnixon/automated-configuration-management-acm-copy
  • deankel1000/dean-acm
  • deankel1000/automated-configuration-management-dean
  • deankel1000/automated-configuration-management-acm-swm-update
  • alnixon/acm-test
  • deankel1000/automated-configuration-management-mcd
11 results
Show changes
Commits on Source (1)
......@@ -5,17 +5,22 @@ containerdConfigPatches:
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:5001"]
endpoint = ["http://kind-registry:5000"]
networking:
podSubnet: "10.100.0.0/16"
# disableDefaultCNI: true
disableDefaultCNI: true # Disable Kindnet, we will use Flannel as the primary CNI plugin
podSubnet: "10.244.0.0/16" # Flannel requires this CIDR
nodes:
- role: control-plane
image: kindest/node:v1.26.6
labels:
siemens.com.qosscheduler.master: true
dedicated: master # Add this line to assign the dedicated=master label
dedicated: control-plane # No post_script.sh modification needed for control-plane
extraMounts:
- hostPath: /tmp/plugins/bin
containerPath: /opt/cni/bin # Mount CNI plugins inside the container
- role: worker
image: kindest/node:v1.26.6
extraMounts:
- hostPath: /tmp/plugins/bin
containerPath: /opt/cni/bin
- hostPath: /tmp/nwapidb
containerPath: /nwapidb
kubeadmConfigPatches:
......@@ -27,6 +32,9 @@ nodes:
node-labels: "mac-address=5e0d.6660.a485,siemens.com.qosscheduler.c1=true"
- role: worker
image: kindest/node:v1.26.6
extraMounts:
- hostPath: /tmp/plugins/bin
containerPath: /opt/cni/bin
kubeadmConfigPatches:
- |
kind: JoinConfiguration
......
......@@ -3,19 +3,23 @@
## components and to perform any other post-deployment tasks.
echo "Executing post deployment tasks..."
##TODO(user): Add your post deployment tasks here
echo "........................................Installing Primary CNI: Flannel..............................................."
kubectl apply -f https://github.com/flannel-io/flannel/releases/latest/download/kube-flannel.yml
sleep 20
cd ..
echo "........................................Installing NetMA..............................................."
cd secure-connectivity
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.15.3/cert-manager.yaml
kubectl apply -f https://raw.githubusercontent.com/k8snetworkplumbingwg/multus-cni/master/deployments/multus-daemonset-thick.yml
cat ../multus-cni/deployments/multus-daemonset-thick.yml | kubectl apply -f -
kubectl taint nodes kind-control-plane node-role.kubernetes.io/control-plane:NoSchedule-
# kubectl taint nodes --all node-role.kubernetes.io/control-plane- node-role.kubernetes.io/master-
kubectl create namespace he-codeco-netma
kubectl get nodes
kubectl label nodes kind-control-plane dedicated=control-plane --overwrite
sleep 60
kubectl create -f ./deployments/l2sm-deployment.yaml -n=he-codeco-netma
cd ..
echo "........................................Finished installing NetMA..............................................."
cd ..
## kubectl apply -f network-exposure/kuberfiles/01_netma-topology-crd.yaml
## chmod 755 network-exposure/ejecutar_mon.sh
......
#!/bin/bash
## Prerequisites: git and go
## This script downloads the CNI plugins and compiles them, so they can later be accessed by the kind cluster in the tmp directory
git clone https://github.com/containernetworking/plugins /tmp/plugins
/tmp/plugins/build_linux.sh