roleとnodeを設定しておけばいい感じにrake taskを生成します
下記のようなディレクトリ構成を想定しています
roles/<role名>.rb
nodes/<node名>.yml
spec/
| #!/usr/bin/env python3 | |
| import concurrent.futures.thread | |
| import sys | |
| import time | |
| from concurrent.futures import ThreadPoolExecutor, as_completed | |
| def remove_file(path): | |
| print('Removing file %s' % path) |
| # Description: | |
| # notify "reaction_added" event for slack.com | |
| # http://shokai.org/blog/archives/10344 | |
| # | |
| # Author: | |
| # @shokai <[email protected]> | |
| debug = require('debug')('hubot:slack-reaction') | |
| _ = require 'lodash' |
### tcpdumpでHeaderを可視化するで。特定backendとの通信を見てみよか。
$ /usr/sbin/tcpdump -i bond0.2168 -s 3000 -A dst host <対象backendのIP> or src host <対象backendのIP>
################### passナシ
...!..3.GET /kakeru.css HTTP/1.1
User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
Host: 10.10.10.10
Accept: */*
X-Forwarded-For: 10.10.10.10お作法についてはRuby on Rails に貢献する方法 | Rails ガイドを参考にしています。
Railsのコードを読むには、最低限次の二つの知識があったほうがよいです
変更点は以下にまとまっている:
https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking-changes.html
以下ではとりあえず Es 5.0.0-rc1 のクラスタを立てる上で詰まった or 気になった箇所を中心にメモるので、内容にはだいぶ偏りがある。
| FROM golang:1.8 | |
| RUN curl https://glide.sh/get | sh | |
| ENV PKG_NAME=github.com/medicalwei/some-project | |
| ENV PKG_PATH=$GOPATH/src/$PKG_NAME | |
| WORKDIR $PKG_PATH | |
| COPY glide.yaml glide.lock $PKG_PATH/ | |
| RUN glide install |
Kong, Traefik, Caddy, Linkerd, Fabio, Vulcand, and Netflix Zuul seem to be the most common in microservice proxy/gateway solutions. Kubernetes Ingress is often a simple Ngnix, which is difficult to separate the popularity from other things.
This is just a picture of this link from March 2, 2019
Originally, I had included some other solution