Try adding the k8s ingress
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
providers:
|
||||||
|
kubernetesingress:
|
||||||
|
ingressendpoint:
|
||||||
|
publishedservice: "ingress/traefik"
|
||||||
|
|||||||
@@ -4,39 +4,12 @@
|
|||||||
|
|
||||||
Boot from talos iso memory stick (dd mode in rufus).
|
Boot from talos iso memory stick (dd mode in rufus).
|
||||||
|
|
||||||
## Commands
|
## Talos
|
||||||
|
|
||||||
### Talos
|
|
||||||
|
|
||||||
- `talosctl -n 192.168.1.101 apply-config -f controlplane.yaml --insecure`
|
- `talosctl -n 192.168.1.101 apply-config -f controlplane.yaml --insecure`
|
||||||
- `talosctl -n 192.168.1.101 -e 192.168.1.101 --talosconfig=./talosconfig bootstrap`
|
- `talosctl -n 192.168.1.101 -e 192.168.1.101 --talosconfig=./talosconfig bootstrap`
|
||||||
- `talosctl -n 192.168.1.101 -e 192.168.1.101 --talosconfig ./talosconfig kubeconfig`
|
- `talosctl -n 192.168.1.101 -e 192.168.1.101 --talosconfig ./talosconfig kubeconfig`
|
||||||
|
|
||||||
## Cilium
|
|
||||||
|
|
||||||
- `helm repo add cilium https://helm.cilium.io/`
|
|
||||||
- `helm repo update`
|
|
||||||
|
|
||||||
```sh
|
|
||||||
helm install \
|
|
||||||
cilium \
|
|
||||||
cilium/cilium \
|
|
||||||
--version 1.14.0 \
|
|
||||||
--namespace kube-system \
|
|
||||||
--set ipam.mode=kubernetes \
|
|
||||||
--set=kubeProxyReplacement=true \
|
|
||||||
--set=securityContext.capabilities.ciliumAgent="{CHOWN,KILL,NET_ADMIN,NET_RAW,IPC_LOCK,SYS_ADMIN,SYS_RESOURCE,DAC_OVERRIDE,FOWNER,SETGID,SETUID}" \
|
|
||||||
--set=securityContext.capabilities.cleanCiliumState="{NET_ADMIN,SYS_ADMIN,SYS_RESOURCE}" \
|
|
||||||
--set=cgroup.autoMount.enabled=false \
|
|
||||||
--set=cgroup.hostRoot=/sys/fs/cgroup \
|
|
||||||
--set=k8sServiceHost=localhost \
|
|
||||||
--set=k8sServicePort=7445
|
|
||||||
```
|
|
||||||
|
|
||||||
## Flux
|
|
||||||
|
|
||||||
- `flux bootstrap git --private-key-file=/config/.ssh/gitea --url ssh://git@gitea.home.joemonk.co.uk:2222/joe/gitops.git --branch main --path=clusters/talos`
|
|
||||||
|
|
||||||
### Resetting
|
### Resetting
|
||||||
|
|
||||||
Boot the above memory stick and click reset installation, then carry on as above.
|
Boot the above memory stick and click reset installation, then carry on as above.
|
||||||
@@ -65,8 +38,8 @@ And apply that control plane yaml with
|
|||||||
|
|
||||||
## Cilium
|
## Cilium
|
||||||
|
|
||||||
`helm repo add cilium https://helm.cilium.io/`
|
- `helm repo add cilium https://helm.cilium.io/`
|
||||||
`helm repo update`
|
- `helm repo update`
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
helm install \
|
helm install \
|
||||||
@@ -84,18 +57,22 @@ helm install \
|
|||||||
--set hubble.ui.enabled=true \
|
--set hubble.ui.enabled=true \
|
||||||
--set=k8sServiceHost=localhost \
|
--set=k8sServiceHost=localhost \
|
||||||
--set=k8sServicePort=7445 \
|
--set=k8sServicePort=7445 \
|
||||||
--set operator.replicas=1
|
--set operator.replicas=1 \
|
||||||
|
--set externalIPs.enabled=true \
|
||||||
|
--set enableCiliumEndpointSlice=true
|
||||||
```
|
```
|
||||||
|
|
||||||
You can modify this after install with:
|
You can modify this after install with:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
helm upgrade cilium cilium/cilium --version 1.15.1 \
|
helm upgrade cilium cilium/cilium --version 1.15.1 \
|
||||||
--namespace kube-system \
|
--namespace kube-system \
|
||||||
--reuse-values \
|
--reuse-values \
|
||||||
--set operator.replicas=1
|
--set operator.replicas=1 \
|
||||||
|
--set externalIPs.enabled=true \
|
||||||
|
--set enableCiliumEndpointSlice=true
|
||||||
```
|
```
|
||||||
|
|
||||||
## Flux
|
## Flux
|
||||||
|
|
||||||
`flux bootstrap git --private-key-file=/config/.ssh/gitea --url ssh://git@gitea.home.joemonk.co.uk:2222/joe/gitops.git --branch main --path=clusters/talos`
|
- `flux bootstrap git --private-key-file=/config/.ssh/gitea --url ssh://git@gitea.home.joemonk.co.uk:2222/joe/gitops.git --branch main --path=clusters/talos`
|
||||||
|
|||||||
Reference in New Issue
Block a user