diff --git a/profiles/containerization/microk8s-config.profile.yaml b/profiles/containerization/microk8s-config.profile.yaml new file mode 100644 index 0000000..09c0df3 --- /dev/null +++ b/profiles/containerization/microk8s-config.profile.yaml @@ -0,0 +1,35 @@ +name: microk8s-config +description: "A profile that add cloud-init user data to bootstrap microk8s with some config" +devices: {} +config: + cloud-init.user-data: | + #cloud-config + # + # Creates a launch file for microk8s + # + write_files: + - path: "/var/snap/microk8s/common/.microk8s.yaml" + owner: root:root + permissions: "0644" + content: | + --- + version: 0.1.0 + addons: + - name: rbac + - name: dns + - name: ingress + disable: true + - name: cert-manager + - name: hostpath-storage + - name: metrics-server + - name: dashboard + + + # The extra arguments listed here are not required, as they would be set by the 'rbac' and the 'dns' + # addons respectively. However, we set them to save time by not having to restart the Kubernetes + # services a few times during cluster bootstrap. + # extraKubeAPIServerArgs: + # --authorization-mode: RBAC,Node + # extraKubeletArgs: + # --cluster-dns: 10.152.183.10 + # --cluster-domain: cluster.local diff --git a/profiles/proxy/proxy-stun-turn.profile.yaml b/profiles/proxy/proxy-stun-turn.profile.yaml new file mode 100644 index 0000000..08f9832 --- /dev/null +++ b/profiles/proxy/proxy-stun-turn.profile.yaml @@ -0,0 +1,11 @@ +name: proxy-stun-turn +description: Proxify STUN /TURN +devices: + hostport3478udp: + type: proxy + listen: udp:0.0.0.0:3478 + connect: udp:127.0.0.1:3478 + hostport3478tcp: + type: proxy + listen: tcp:0.0.0.0:3478 + connect: tcp:127.0.0.1:3478