Kubernetes 入門
說明文件。 1.5 Kubernetes 整體架構 Kubernetes 叢 集 由 兩 種 節 點 所 組 成:Master 和 Node。 在 Master 上 執 行 etcd、 API Server、Controller Manager 和 Scheduler 四個元件,其中後三個元件構成了 Kubernetes 的管控中心,負責對叢集中所有資源進行調度和協作。在每個 Node 上 執行 1.2 透過 API Server 訪問 Node、Pod 和 Service 圖 2.1 列出了存取叢集 API Server 及叢集內資源物件互動的情況。 圖例: 圖 2.1 存取 Kubernetes 叢集 以下是對圖 2.1 中各種存取途徑的詳細說明(每個數字表示一種訪問的途徑)。 (1) 叢集內部各元件、應用或叢集外部應用程式存取 API Server。 (2) 叢集外部系統存取 發放憑證 發放憑證 圖 2.12 CA 認證流程 2-56 Kubernetes 核心原理 2 (4) 添加一個“volume"給 Pod,在該“volume"中設定一個能存取 API Server 的 Token(該 Token 來自 Service Account Secret); (5) 透過添加“volumeSource"的方式,將上面提到的“volume"掛載到 Pod 中所0 码力 | 12 页 | 2.00 MB | 1 年前3Comprehensive Rust(繁体中文)
there methods to override? Where source? 34.1.4 AIDL 伺服器 最後,我們可以建立伺服器來公開服務: birthday_service/src/server.rs: //! Birthday service. use birthdayservice::BirthdayService; use com_example_birthdayservice ool() } birthday_service/Android.bp: rust_binary { name: "birthday_server", crate_name: "birthday_server", srcs: ["src/server.rs"], rustlibs: [ "com.example.birthdayservice-rust", "libbinder_rs", 部署 現在我們可以建構、推送及啟動服務: m birthday_server adb push "$ANDROID_PRODUCT_OUT/system/bin/birthday_server" /data/local/tmp adb root adb shell /data/local/tmp/birthday_server 在另一個終端機中,檢查服務是否能執行: adb shell service0 码力 | 358 页 | 1.41 MB | 10 月前3julia 1.10.10
called Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(@async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) Task their usage is somewhat simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.10.9
called Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(@async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) Task their usage is somewhat simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.11.4
called Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(@async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) Task their usage is somewhat simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.5 Documentation
called Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(@async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) Task their usage is somewhat simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.6 Release Notes
called Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(@async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) Task their usage is somewhat simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 2007 页 | 6.73 MB | 3 月前3julia 1.13.0 DEV
Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(Threads.@spawn begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) their usage is somewhat simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 2058 页 | 7.45 MB | 3 月前3Julia 1.12.0 RC1
Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(Threads.@spawn begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) their usage is somewhat simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.12.0 Beta4
Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(Threads.@spawn begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) their usage is somewhat simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 27 条
- 1
- 2
- 3