|
@@ -1,4 +1,4 @@
|
|
|
-udo Installation
|
|
|
+# Installation
|
|
|
|
|
|
```
|
|
|
sudo snap install microk8s --classic --channel=latest/stable
|
|
@@ -83,6 +83,7 @@ microk8s kubectl apply -f ingress-nginx-controller-v0.45.0.yaml
|
|
|
3. 'create access key'
|
|
|
4. Copy the secret into a file called `password.txt` in `~/monkeybox_kubernetes/Workloads/cert-manager`
|
|
|
5. Copy teh access key id into `~/monkeybox_kubernetes/Workloads/cert-manager/wildcard*`
|
|
|
+
|
|
|
```
|
|
|
cd ~/monkeybox_kubernetes/Workloads/cert-manager
|
|
|
microk8s kubectl create secret generic aws-route53-creds --from-file=password.txt -n default
|
|
@@ -104,12 +105,19 @@ microk8s kubectl apply -f index.yaml
|
|
|
# Validate that `io.monkeybox.org` works
|
|
|
```
|
|
|
|
|
|
-Shit. It doesn't.
|
|
|
+Shit. It doesn't. Problem was that 'home.monkeybox.org' was resolving with the wildcard.
|
|
|
|
|
|
## Fix CoreDNS?
|
|
|
|
|
|
microk8s kubectl edit configmap -n kube-system coredns
|
|
|
+set dns servers to use 10.42.42.2 first
|
|
|
+
|
|
|
+## Kube-Vip
|
|
|
|
|
|
+```
|
|
|
+export VIP=10.42.42.8
|
|
|
+export INTERFACE=eth0
|
|
|
+alias kube-vip="ctr run --rm --net-host docker.io/plndr/kube-vip:0.3.1 vip"
|
|
|
|
|
|
|
|
|
# Notes for future me:
|