From 6ff35d3e121a931152837d52cd6a57da277adf2f Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Thu, 5 Sep 2024 14:34:08 +1000 Subject: [PATCH] disable services except resources --- projects/{k3s-cluster-app.yaml => k3s-cluster-app.yaml.bak} | 0 .../{k3s-cluster-infra.yaml => k3s-cluster-infra.yaml.bak} | 0 .../env/k3s-cluster/{config.json => config.json.bak} | 0 scripts/1.install-cilium.sh | 5 ++--- 4 files changed, 2 insertions(+), 3 deletions(-) rename projects/{k3s-cluster-app.yaml => k3s-cluster-app.yaml.bak} (100%) rename projects/{k3s-cluster-infra.yaml => k3s-cluster-infra.yaml.bak} (100%) rename resources/intel-device-plugins-operator/env/k3s-cluster/{config.json => config.json.bak} (100%) diff --git a/projects/k3s-cluster-app.yaml b/projects/k3s-cluster-app.yaml.bak similarity index 100% rename from projects/k3s-cluster-app.yaml rename to projects/k3s-cluster-app.yaml.bak diff --git a/projects/k3s-cluster-infra.yaml b/projects/k3s-cluster-infra.yaml.bak similarity index 100% rename from projects/k3s-cluster-infra.yaml rename to projects/k3s-cluster-infra.yaml.bak diff --git a/resources/intel-device-plugins-operator/env/k3s-cluster/config.json b/resources/intel-device-plugins-operator/env/k3s-cluster/config.json.bak similarity index 100% rename from resources/intel-device-plugins-operator/env/k3s-cluster/config.json rename to resources/intel-device-plugins-operator/env/k3s-cluster/config.json.bak diff --git a/scripts/1.install-cilium.sh b/scripts/1.install-cilium.sh index 452f419..824e169 100644 --- a/scripts/1.install-cilium.sh +++ b/scripts/1.install-cilium.sh @@ -6,9 +6,8 @@ sudo ip link delete cilium_net || true && \ sudo ip link delete cilium_vxlan || true && \ helm repo add cilium https://helm.cilium.io || echo "Cilium repo already exists" && \ helm repo update || echo "Failed to update helm repos" && \ -kubectl create namespace cilium || echo "Namespace cilium already exists" && \ -helm install cilium cilium/cilium --version 1.16.1 \ - --namespace kube-system \ +helm upgrade --install cilium cilium/cilium --version 1.16.1 \ + --namespace kube-system --create-namespace \ --set operator.replicas=2 \ --set prometheus.enabled=true \ --set operator.prometheus.enabled=true