13
scripts/1.install_cilium.sh
Normal file
13
scripts/1.install_cilium.sh
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
sudo ip link delete cilium_host || true && \
|
||||||
|
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.15.6 \
|
||||||
|
--namespace kube-system \
|
||||||
|
--set operator.replicas=1
|
||||||
|
|
||||||
@@ -5,4 +5,4 @@ kubectl apply -k "https://github.com/argoproj/argo-cd/manifests/crds?ref=v2.11.4
|
|||||||
kubectl create namespace argocd || echo "Namespace argocd already exists"
|
kubectl create namespace argocd || echo "Namespace argocd already exists"
|
||||||
helm repo add argo https://argoproj.github.io/argo-helm || echo "Argo repo already exists"
|
helm repo add argo https://argoproj.github.io/argo-helm || echo "Argo repo already exists"
|
||||||
helm repo update || echo "Failed to update helm repos"
|
helm repo update || echo "Failed to update helm repos"
|
||||||
helm install argocd -n argocd -f argocd-values.yaml argo/argo-cd --version 7.3.6
|
helm upgrade --install argocd -n argocd -f argocd-values.yaml argo/argo-cd --version 7.3.6
|
||||||
@@ -16,18 +16,26 @@ redis-ha:
|
|||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
server:
|
server:
|
||||||
service:
|
|
||||||
type: NodePort
|
|
||||||
autoscaling:
|
autoscaling:
|
||||||
enabled: true
|
enabled: true
|
||||||
minReplicas: 2
|
minReplicas: 2
|
||||||
# ingress:
|
# -- Resource limits and requests for the argocd-extensions container
|
||||||
# enabled: true
|
resources:
|
||||||
# annotations:
|
limits:
|
||||||
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
cpu: 100m
|
||||||
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
memory: 256Mi
|
||||||
# nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
requests:
|
||||||
# nginx.ingress.kubernetes.io/use-regex: "true"
|
cpu: 20m
|
||||||
|
memory: 138Mi
|
||||||
|
service:
|
||||||
|
type: NodePort
|
||||||
|
ingress:
|
||||||
|
# enabled: true
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
|
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
||||||
|
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
hostname: argocd.cluster.edward.sydney
|
hostname: argocd.cluster.edward.sydney
|
||||||
extraTls:
|
extraTls:
|
||||||
@@ -47,6 +55,14 @@ repoServer:
|
|||||||
autoscaling:
|
autoscaling:
|
||||||
enabled: true
|
enabled: true
|
||||||
minReplicas: 2
|
minReplicas: 2
|
||||||
|
# -- Resource limits and requests for the repo server pods
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 258Mi
|
||||||
|
requests:
|
||||||
|
cpu: 20m
|
||||||
|
memory: 128Mi
|
||||||
|
|
||||||
applicationSet:
|
applicationSet:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
Reference in New Issue
Block a user