2019-05-06から1日間の記事一覧
etcd クラスタ内のさまざまなデータを保存している一貫性のある高可用性のKVS kube-apiserver クラスタに対する全ての操作を司るAPIサーバー 認証や認可の処理なども行う kube-scheduler PodのNodeへの割り当てを行うスケジューラー Podを配置するNodeの選択…
指定したオフセットでファイルディスクリプターを読み書きするpread(2)/pwrite(2)を使ったサンプルコード #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <assert.h> int main(int argc, char **argv) { char c; int fd, ret; fd = open("test.txt", O_R</assert.h></sys/types.h></sys/stat.h></fcntl.h></unistd.h></stdio.h>…
指定したオフセットでファイルディスクリプターを読み書きするpread(2)/pwrite(2)を使ったサンプルコード #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <assert.h> int main(int argc, char **argv) { char c; int fd, ret; fd = open("test.txt", O_R</assert.h></sys/types.h></sys/stat.h></fcntl.h></unistd.h></stdio.h>…