Skip to content

Commit bec5768

Browse files
committed
Updated bootstrap script
1 parent 7fd1410 commit bec5768

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

bootstrap.sh

+10-6
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,30 @@ kubectl get csr \
1717
| xargs -r kubectl certificate approve
1818

1919
# prometheus crds (required by cilium)
20-
PROMETHEUS_VERSION="58.3.1"
20+
PROMETHEUS_VERSION="62.3.1"
2121
kubectl apply -f \
2222
https://raw.githubusercontent.com/prometheus-community/helm-charts/kube-prometheus-stack-${PROMETHEUS_VERSION}/charts/kube-prometheus-stack/charts/crds/crds/crd-servicemonitors.yaml
2323

2424
# cilium
25-
CILIUM_VERSION=1.15.4
25+
CILIUM_VERSION=1.16.1
2626
helm repo add cilium https://helm.cilium.io/
2727
helm repo update
2828
helm upgrade --install \
2929
cilium cilium/cilium --version $CILIUM_VERSION \
3030
-f config/cilium.yaml \
31-
-n kube-system
31+
-n networking --create-namespace
3232

3333
# local path provisioner
34+
LOCAL_PATH_VERSION=v0.0.28
3435
git clone https://github.com/rancher/local-path-provisioner.git
36+
cd local-path-provisioner
37+
git checkout $LOCAL_PATH_VERSION
3538
helm upgrade --install \
3639
local-path-provisioner \
37-
./local-path-provisioner/deploy/chart/local-path-provisioner \
38-
-f config/local-path-provisioner.yaml \
39-
-n kube-system
40+
./deploy/chart/local-path-provisioner \
41+
-f ../config/local-path-provisioner.yaml \
42+
-n storage --create-namespace
43+
cd ..
4044
rm -rf local-path-provisioner
4145

4246
# sealed secrets

config/cilium.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
k8sServiceHost: 10.0.0.10
1+
k8sServiceHost: 10.0.0.20
22
k8sServicePort: 6443
33
tolerations:
44
- effect: NoSchedule
55
key: node-role.kubernetes.io/control-plane
66
- effect: NoSchedule
77
key: node.kubernetes.io/not-ready
8+
- effect: NoSchedule
9+
key: node.mmontes.io/storage
810
hubble:
911
enabled: true
1012
metrics:

config/local-path-provisioner.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
tolerations:
2-
- effect: NoSchedule
3-
key: node-role.kubernetes.io/control-plane
4-
51
storageClass:
62
create: true
73
defaultClass: true

0 commit comments

Comments
 (0)