Fred Damstra [io2] 4 жил өмнө
parent
commit
9e2bddf04a

+ 1 - 1
Ansible/group_vars/microk8s/vars

@@ -1,7 +1,7 @@
 ---
 # Adds a failsafe to prevent bootstrapping a provisioned cluster
 k8s_newinstall: True
-skip_git: True # not there when we start k8s
+skip_git: False # not there when we start k8s
 
 # The following DNS should resolve to one or more of the control nodes
 k8s_control: k8s.home.monkeybox.org

+ 10 - 2
microk8s_notes.md

@@ -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: