全文検索:
- 15 Kubernetes Error
- c2d4132": failed to delegate add: failed to set bridge addr: "cni0" already has an IP address differen... a: verification error" while trying to verify candidate authority certificate "kubernetes") ==== 対応 =... /kubernetes/admin.conf $HOME/.kube/config chown $(id -u):$(id -g) $HOME/.kube/config unset KUBECONFIG export KUBECONFIG=/etc/kubernetes/admin.conf </code>
- 30 React-admin
- - LETSENCRYPT_HOST=react-admin.fl8.jp - CHOKIDAR_USEPOLLING=true networks: - app_proxy... n@4.16.1 Ok to proceed? (y) Select the data provider you want to use, and validate with Enter: ❯ Fakerest A client-side, in-memory data provider that use a JSON object as its init
- 12 Kubernetes
- | tee /etc/sysctl.d/99-kubernetes-cri.conf net.bridge.bridge-nf-call-iptables = 1 net.ipv4.ip_forward = 1 net.bridge.bridge-nf-call-ip6tables = 1 EOF sysctl --system </code> ==== パッケージインストール ==== <code> apt update
- 09 Dockerリバースプロキシ(HTTPS)
- erts:/etc/nginx/certs:rw restart: always bridge-1: image: nginx:latest volumes: - ./bridge-1/default.conf:/etc/nginx/conf.d/default.conf - ./bridge-1:/var/www/html environment: - VIRTUA... xy/ touch ./nginx-proxy/custom.conf mkdir ./bridge-1/ ===== ./bridge-1/default.conf ===== ./brid
- 34 UnboundでHA構成
- tate MASTER interface ens4 virtual_router_id 1 priority 101 advert_int 1 authentic... tate BACKUP interface ens4 virtual_router_id 1 priority 100 advert_int 1 </code> ====... 1000 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 2: ens4: <BROAD... 192.168.0.255 scope global dynamic ens4 valid_lft 83689sec preferred_lft 83689sec inet 192.
- 01 Docker コマンド
- de> ==== コンテナへ入る ==== docker exec -it [NAME|ID] bash === ユーザ指定ででログイン === 下記は、rootユーザでログイン docker exec -it --user root [NAME|ID] bash ==== コンテナ停止 ==== cocker stop [NAME|ID] ==== コンテナ削除 ==== docker rm [NAME|ID] [[06_virtualization:05_container:03_docker_remove]] ===
- 04 Docker MailServer
- r:latest container_name: mailserver # Provide the FQDN of your mail server here (Your DNS MX r... fig/security/understanding-the-ports/ # To avoid conflicts with yaml base-60 float, DO NOT remove ... ias_maps = texthash:/etc/postfix/virtual virtual_uid_maps = static:5000 virtual_gid_maps = static:5000 </code> === こちらのやり方の方が良かった === これを変えると、「virtual_
- 14 Kubernetes Master冗長化
- kubeadm init --node-name master --pod-network-cidr=10.244.0.0/16 --control-plane-endpoint 172.16.0.... a: verification error" while trying to verify candidate authority certificate "kubernetes") ==== 対応 ... rnetes/admin.conf $HOME/.kube/config sudo chown $(id -u):$(id -g) $HOME/.kube/config </code> ===== ERROR2 ===== 下記のようなエラーでkubeleteが起動できてない <code> # sys
- 16 Kubernetes + DRBD Linstor
- /etc/drbd-reactor.d/linstor_db.toml [[promoter]] id = "linstor_db" [promoter.resources.linstor_db] st... linstor-master:~# kubectl get pod alpine-test -o wide NAME READY STATUS RESTARTS AGE ... kind: StorageClass metadata: # The name used to identify this StorageClass. name: linstor-basic-st... is the name that the LINSTOR CSI plug-in uses to identify itself provisioner: linstor.csi.linbit.com
- 25 Let's Encrypt リバースプロキシ
- 用しているネットワークを確認 <code> # docker network ls NETWORK ID NAME DRIVER SCOPE da005313961c proxy-tier bridge local ab784e6540fd bridge bridge local 4fbd17879a28 host host local 4045783681f8 none
- 18 Kubernetes GlusterFS
- TCP Port RDMA Port Online Pid -------------------------------------------------... 72.16.0.93を落としてみた。 <code> # kubectl get node -o wide NAME STATUS ROLES AGE... TCP Port RDMA Port Online Pid -------------------------------------------------
- 27 Docker Djnago
- depends_on: - db environment: - CHOKIDAR_USEPOLLING=true db: container_name: "db" ... s: - 3306:3306 </code> <color #ed1c24>※CHOKIDAR_USEPOLLING=Trueを入れておくと、編集するとホットリロードしてくれる。</colo... depends_on: - db environment: - CHOKIDAR_USEPOLLING=true - VIRTUAL_HOST=django.fl8.
- 05 Docker Nginx reverse proxy
- proxy_cache_key $uri; proxy_cache_valid 200 302 20m; proxy_cache_valid 404 10m; # レスポンスヘッダにキャッシュヒットしたかどうかを含める
- 13 Kubernetes Nginxを立ててみる
- x.yaml <code> # kubectl get deployments.apps -o wide NAME READY UP-TO-DATE AVAILABLE AGE C... = ==== Podを確認 ==== <code> # kubectl get pod -o wide NAME READY STATUS RESTA
- 28 Docker React
- - '3000:3000' environment: - CHOKIDAR_USEPOLLING=true </code> <color #ed1c24>※[my-app... ]は、アプリ作成で作るアプリ名を入れる</color> <color #ed1c24>※CHOKIDAR_USEPOLLING=Trueを入れておくと、編集するとホットリロードしてくれる。</colo