That depends on how did you start your OTP application. To connect to the node it needs to be started with either --name or --sname flag. You can check the name of currently running session with node() $ iex Erlang/OTP 18 [erts-7.2.1] [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false] Interactive Elixir (1.3.0) - press Ctrl+C to exit (type h() ENTER for help) iex(1)> node() :nonode
k8sでの「Node」は、GKEでは「GCEインスタンス」になる。 GKEでクラスタ作成時に「クラスタサイズ」という形で確保する「Node」の数を決める。 で、以下のように、たしかに「Node」が3つあることがわかる。 $ kubectl get nodes NAME STATUS ROLES AGE VERSION gke-my-cluster-1-min-default-pool-ea807978-8d2t Ready <none> 12h v1.9.7-gke.6 gke-my-cluster-1-min-default-pool-ea807978-hpqc Ready <none> 10h v1.9.7-gke.6 gke-my-cluster-1-min-default-pool-ea807978-ss7p Ready <none> 12h v1.9.7-gke.6
Kubernetes runs your workload by placing containers into Pods to run on Nodes. A node may be a virtual or physical machine, depending on the cluster. Each node is managed by the control plane and contains the services necessary to run Pods. Typically you have several nodes in a cluster; in a learning or resource-limited environment, you might have only one node. The components on a node include th
Elixir v1.6.5 Node View Source Functions related to VM nodes. Some of the functions in this module are inlined by the compiler, similar to functions in the Kernel module and they are explicitly marked in their docs as “inlined by the compiler”. For more information about inlined functions, check out the Kernel module. Link to this section Summary
I'm trying to parse JSON returned from a curl request, like so: curl 'http://twitter.com/users/username.json' | sed -e 's/[{}]/''/g' | awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' The above splits the JSON into fields, for example: % ... "geo_enabled":false "friends_count":245 "profile_text_color":"000000" "status":"in_reply_to_screen_name":null "source":"web" "truncated"
I was exercising through this 2014's old blog post by Drew Kerrigan where he builds a bare bones, command line-based, chat application, with a client that send messages and commands to a server. This is Elixir pre-1.0, and because it's an exercise I refactored the original code and merged the server (ex_messenger) and client (ex_messenger_client) projects into an Elixir Umbrella project and you ca
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く