mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 15:26:50 +02:00
Enable cilium
This commit is contained in:
@@ -10,6 +10,8 @@ chmod 600 /home/${admin_user}/.kube/config
|
|||||||
chown -R ${admin_user}:${admin_user} /home/${admin_user}/.kube
|
chown -R ${admin_user}:${admin_user} /home/${admin_user}/.kube
|
||||||
/snap/bin/microk8s.helm3 repo add 2martens https://repo.2martens.de/charts/
|
/snap/bin/microk8s.helm3 repo add 2martens https://repo.2martens.de/charts/
|
||||||
/snap/bin/microk8s.helm3 repo add argo https://argoproj.github.io/argo-helm
|
/snap/bin/microk8s.helm3 repo add argo https://argoproj.github.io/argo-helm
|
||||||
|
/snap/bin/microk8s.helm3 repo add cilium https://helm.cilium.io
|
||||||
|
/snap/bin/microk8s.helm3 upgrade cilium cilium/cilium --version 1.13.4 --namespace kube-system --reuse-values --set prometheus.enabled=true --set operator.prometheus.enabled=true --set hubble.metrics.enableOpenMetrics=true --set hubble.metrics.enabled="{dns,drop,tcp,flow,port-distribution,icmp,httpV2:exemplars=true;labelsContext=source_ip\,source_namespace\,source_workload\,destination_ip\,destination_namespace\,destination_workload\,traffic_direction}"
|
||||||
/snap/bin/microk8s.helm3 install setup 2martens/cluster_setup --values /run/tmpfiles.d/cluster-setup-values.yaml
|
/snap/bin/microk8s.helm3 install setup 2martens/cluster_setup --values /run/tmpfiles.d/cluster-setup-values.yaml
|
||||||
%{ if high_availability ~}
|
%{ if high_availability ~}
|
||||||
/snap/bin/microk8s.helm3 install argo-cd argo/argo-cd --create-namespace -n argocd --values /run/tmpfiles.d/argocd-values-ha.yaml
|
/snap/bin/microk8s.helm3 install argo-cd argo/argo-cd --create-namespace -n argocd --values /run/tmpfiles.d/argocd-values-ha.yaml
|
||||||
|
|||||||
@@ -14,4 +14,6 @@ snap install microk8s --classic --channel "${microk8s_channel}"
|
|||||||
%{ if manager_node ~}
|
%{ if manager_node ~}
|
||||||
/snap/bin/microk8s enable ingress
|
/snap/bin/microk8s enable ingress
|
||||||
/snap/bin/microk8s enable cert-manager
|
/snap/bin/microk8s enable cert-manager
|
||||||
|
/snap/bin/microk8s enable cilium
|
||||||
|
/snap/bin/microk8s cilium hubble enable
|
||||||
%{ endif ~}
|
%{ endif ~}
|
||||||
|
|||||||
Reference in New Issue
Block a user