Compare commits
5 Commits
v0.0.7k-em
...
v0.0.7p-aa
Author | SHA1 | Date | |
---|---|---|---|
d0efb480c8 | |||
be47dbabd2 | |||
24d8892b4c | |||
2c828574ef | |||
a5f0d258a5 |
@ -36,4 +36,4 @@ s-web2 IN A 192.168.101.2
|
||||
s-lb.gsb.lan IN A 192.168.100.10
|
||||
ns IN CNAME s-infra.gsb.lan.
|
||||
wpad IN CNAME s-infra.gsb.lan.
|
||||
peertube IN A 192.168.100.20
|
||||
s-peertube IN A 192.168.100.20
|
||||
|
@ -22,5 +22,5 @@
|
||||
command: "cp /root/tools/ansible/roles/fog/files/fogsettings /opt/fog/"
|
||||
|
||||
- name: fichier fogsettings en .fogsettings
|
||||
command: "mv /opt/fog/fogsettings /opt/fog/.fogsettings"
|
||||
command: "mv /opt/fog/fogsettings /opt/fog/.fogsettings"
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
host: localhost
|
||||
|
||||
- name: installation de k3s...
|
||||
shell: curl -sfL https://get.k3s.io | sh -s - --docker
|
||||
shell: curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--node-ip=192.168.100.20 --flannel-iface=enp0s8" sh -s - --docker
|
||||
|
||||
- name: attente de l'installation de k3s...
|
||||
wait_for:
|
||||
|
@ -1,6 +1,7 @@
|
||||
MYHOST=s-peertube.gsb.lan;
|
||||
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml;
|
||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.cert -subj /CN="${MYHOST}"/O="${MYHOST}" -addext "subjectAltName = DNS:${MYHOST}";kubectl create secret tls tls-peertube --key key.tls --cert tls.cert;
|
||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.cert -subj /CN="${MYHOST}"/O="${MYHOST}" -addext "subjectAltName = DNS:${MYHOST}";
|
||||
kubectl create secret tls tls-peertube --key tls.key --cert tls.cert;
|
||||
helm repo add postgresql https://charts.bitnami.com/bitnami;
|
||||
helm repo add redis https://charts.bitnami.com/bitnami;
|
||||
helm repo add mail https://bokysan.github.io/docker-postfix;
|
||||
|
@ -101,8 +101,8 @@ ingress:
|
||||
enabled: true
|
||||
className: ""
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 4G # this caps the size of imported videos, if set low this might prevent you from uploading videos
|
||||
kubernetes.io/ingress.class: traefik
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 6G # this caps the size of imported videos, if set low this might prevent you from uploading videos
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
hosts:
|
||||
- host: s-peertube.gsb.lan
|
||||
|
@ -34,4 +34,4 @@ iface enp0s10 inet static
|
||||
allow-hotplug enp0s16
|
||||
iface enp0s16 inet static
|
||||
address 172.16.0.254/24
|
||||
|
||||
post-up sleep 10 && systemctl restart isc-dhcp-server
|
||||
|
Reference in New Issue
Block a user