全文検索:
- 34 UnboundでHA構成
- .168.0.11 | | | | HV02 | dns02 | ens5: 100.10.10.12 | ens4: 192.168.0.12 | | | ===== 全VM共通 ===== ==== 1.事前準備 ==== <code> sudo apt update sudo apt u... _name: ntp restart: always ports: - 123:123/udp environment: - NTP_SERVERS=ntp.nict.jp,ntp.jst.mfeed.ad.jp,time.google.com -
- 18 Kubernetes GlusterFS
- ailable Use% Mounted on localhost:k8s-volume 20961280 1968712 18992568 10% /mnt # mkdir /mnt/pv01 </code> ===== 5.PV ===== <code|pv.yaml> apiVersion:... 16.0.93:k8s-volume/pv01 20961280 1968712 18992568 9% /data </code> ===== 8.障害テスト ===== ==== 1台落としてみる ==== g-work01 172.16.0.
- 12 Kubernetes
- ====== 12 Kubernetes ====== ===== 環境 ===== v1.23.5 ===== 1.Kubernetesの要件としてSwapの停止 ===== swapoff ... kubeadm join 172.16.0.82:6443 --token qc0yz3.rs9q3122p8s2mko1 \ --discovery-token-ca-cert-hash sha256:6687ea8b6dc4871f30edc0544b836e6ada87cf540bb4fb126b25b6f90177db88 </code> === kubectlを使えるように ===... kubeadm join 172.16.0.82:6443 --token qc0yz3.rs9q3122p8s2mko1 \ --discovery-token-ca-cert-hash sha256
- 04 Docker MailServer
- c185 < ENABLE_FAIL2BAN=1 --- > ENABLE_FAIL2BAN=0 212c212 < SSL_TYPE=letsencrypt --- > SSL_TYPE= 348c348 < ENABLE_SPAMASSASSIN=1 --- > ENABLE_SPAMASSASSIN=... ail._domainkey.fl8.jp TXT mail._domainkey.fl8.jp. 120 IN TXT "v=DKIM1; h=sha256; k=rsa; p=MIIXXXXXXXXX... 024-02-06T11:18:40.840460+09:00 mail postfix/pipe[120188]: C5569A5147: to=<XXXXXX@fl8.jp>, relay=procm
- 08 docker-compose Nginx
- # proxy the PHP scripts to Apache listening on 127.0.0.1:80 # #location ~ \.php$ { # proxy_pass http://127.0.0.1; #} # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # #location ~ \.php$ { # root html; # fastcgi_pass 127.0.0.1:9000; # fastcgi_index index.php;
- 14 Kubernetes Master冗長化
- r=10.244.0.0/16 --control-plane-endpoint 172.16.0.12:6443 ==== Master Join token再作成 ==== kubeadm i... command ===== 2台目 ===== kubeadm join 172.16.0.12:6443 --token gbv10r.wu6j1bfftfoca8v7 --discovery-... 568d008 ===== 3台目 ===== kubeadm join 172.16.0.12:6443 --token gbv10r.wu6j1bfftfoca8v7 --discovery-
- 16 Kubernetes + DRBD Linstor
- # cat /proc/drbd version: 9.1.6 (api:2/proto:110-121) GIT-hash: f85adeb71f16a0aead1e875665e2fb68852d9... t /proc/drbd version: 9.0.32-1 (api:2/proto:86-121) # linstor --version linstor 1.13.0 # drbd
- 27 Docker Djnago
- を追加 {{:06_virtualization:05_container:pasted:20231214-125010.png}} <code|testproject/setting.py> ALLOWED_HOSTS = ['django.fl8.jp'] or ALLOWED_HOSTS =
- 28 Docker React
- app/react </code> <code|Dockerfile> FROM node:18.12.1-alpine WORKDIR /usr/src/app </code> <code|doc... /[IP]:3000 をアクセス {{:06_virtualization:05_container:pasted:20231207-053734.png}} {{tag>Docker React}}
- 30 React-admin
- == 1 ファイル用意 ===== <code|Dockerfile> FROM node:18.12.1-alpine WORKDIR /usr/src/app </code> <code|dock... /[IP]:3000 をアクセス {{:06_virtualization:05_container:pasted:20231214-113050.png}} {{tag>Docker React}}
- 10 Docker Let's Encrypt
- M-SHA384:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-GCM-SHA256'; ssl_prefer_server_ciphers off;
- 13 Kubernetes Nginxを立ててみる
- PORT(S) AGE external-ip ClusterIP 10.101.128.182 172.16.0.159 8080/TCP 83s </code> ===
- 22 Docker Private registry
- # # ls -al /var/lib/docker/volumes/registry total 12 drwx-----x 3 root root 4096 Aug 31 06:22 . drwx--
- 26 Docker iptables
- --- //[[matsui@flateight.com|Shinya Matsui]] 2023/12/06 07:10// 現在確認すると、netfilter-persistentでの反映方法は設定反
- 29 Next.js
- 00 をアクセス {{:06_virtualization:05_container:pasted:20231210-080134.png}} {{tag>react Docker next.js}}