some changes ;-)
This commit is contained in:
@@ -20,6 +20,5 @@ sudo apt-get install helm
|
|||||||
|
|
||||||
# cilium installation
|
# cilium installation
|
||||||
helm repo add cilium https://helm.cilium.io/
|
helm repo add cilium https://helm.cilium.io/
|
||||||
helm install cilium cilium/cilium --version 1.15.5 \
|
helm install cilium cilium/cilium --version 1.15.5 --namespace kube-system --values cilium-values.yaml
|
||||||
--namespace kube-system
|
|
||||||
```
|
```
|
||||||
8
todo.md
Normal file
8
todo.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
## kubernetes apps
|
||||||
|
- certManager
|
||||||
|
- cloudNativePg
|
||||||
|
- longhorn CSI
|
||||||
|
|
||||||
|
|
||||||
|
## other apps
|
||||||
|
- gitea
|
||||||
@@ -4,7 +4,7 @@ echo "[TASK 1] Pull required containers"
|
|||||||
kubeadm config images pull >/dev/null
|
kubeadm config images pull >/dev/null
|
||||||
|
|
||||||
echo "[TASK 2] Initialize Kubernetes Cluster"
|
echo "[TASK 2] Initialize Kubernetes Cluster"
|
||||||
kubeadm init --apiserver-advertise-address=172.16.16.100 --pod-network-cidr=192.168.0.0/16 >> /root/kubeinit.log 2>/dev/null
|
kubeadm init --apiserver-advertise-address=192.168.0.21 --pod-network-cidr=10.96.0.0/16 >> /root/kubeinit.log 2>/dev/null
|
||||||
|
|
||||||
echo "[TASK 3] Deploy Calico network"
|
echo "[TASK 3] Deploy Calico network"
|
||||||
kubectl --kubeconfig=/etc/kubernetes/admin.conf create -f https://raw.githubusercontent.com/projectcalico/calico/v3.27.0/manifests/tigera-operator.yaml >/dev/null
|
kubectl --kubeconfig=/etc/kubernetes/admin.conf create -f https://raw.githubusercontent.com/projectcalico/calico/v3.27.0/manifests/tigera-operator.yaml >/dev/null
|
||||||
|
|||||||
@@ -9,4 +9,7 @@ ipam:
|
|||||||
mode: cluster-pool
|
mode: cluster-pool
|
||||||
operator:
|
operator:
|
||||||
clusterPoolIPv4MaskSize: 24
|
clusterPoolIPv4MaskSize: 24
|
||||||
clusterPoolIPv4PodCIDRList: "10.96.0.0/16"
|
clusterPoolIPv4PodCIDRList: "10.96.0.0/16"
|
||||||
|
l2announcements:
|
||||||
|
enabled: true
|
||||||
|
interface: eth1
|
||||||
9
vagrant/k8s/loadbalancer-ip-pools.yaml
Normal file
9
vagrant/k8s/loadbalancer-ip-pools.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: "cilium.io/v2alpha1"
|
||||||
|
kind: CiliumLoadBalancerIPPool
|
||||||
|
metadata:
|
||||||
|
name: cilium-lb-ipam
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
cidrs:
|
||||||
|
- start: "192.168.0.31"
|
||||||
|
- stop: "192.168.0.39"
|
||||||
Reference in New Issue
Block a user