docker 原理与应用实践 --
张成远
## docker 原理与应用实践 张成远 容器系统整体架构 • Namespace • CGroup • Device Mapper • Pull Image • Start Container • Stop Container • Docker Image Storage ## 容器系统整体架构 ### JD.COM 京东 kubernetes Docker Etcd Weave linux CGroup Namespace Aufs/Btrfs Device Mapper capabilities netlink netfilter ## Namespace ### JD.COM 京东 • 提供进程级别的资源隔离 • 为进程提供不同的命名空间视图 • 与虚拟机不同 ## Namespace 概念及当前支持的种类 • mnt (Mount 9fa3410efa24/p5_1.jpg) ## Namespace 实现 ### JD.COM 京东 UTS Namespace  ## • 创建新进程及 namespace int clone(int (*fn)(void *)0 码力 | 26 页 | 1.79 MB | 2 年前3
gevent-socketio Documentation
Release 0.3.1since you mostly have one websocket/socket.io endpoint per website, it is important to be able to namespace the different real-time activities of the different pages or parts of your site, just like you need used: A namespace is like a controller in the MVC world. It encompasses a set of methods that are logically in it. For example, the send_private_message event would be in the /chat namespace, as well well as the kick_ban event. Whereas the scan_files event would be in the /filesystem namespace. Each namespace is represented by a sub-class of BaseNamespace. A simple example would be, on the client side0 码力 | 91 页 | 118.05 KB | 2 年前3
gevent-socketio Documentation
Release 0.3.1since you mostly have one websocket/socket.io endpoint per website, it is important to be able to namespace the different real-time activities of the different pages or parts of your site, just like you need welcome addition, and if you don't use Socket.IO, you'll probably end-up writing your own namespace mechanism at some point. Named events: To distinguish the messages that are coming and going, you used: A namespace is like a controller in the MVC world. It encompasses a set of methods that are logically in it. For example, the send_private_message event would be in the /chat namespace, as well0 码力 | 23 页 | 117.07 KB | 2 年前3
Linux Docker Mess|隔离性|Linux namespace (NS)| |---|---| |pid namespace|不同用户的进程就是通过pid namespace隔离开的,且不同namespace中可以有相同pid,所有的LXC进程在docker中的父进程为docker进程,每个LXC进程具有不同的namespace。由于允许嵌套,因此可以很方便的实现Docker in Docker。| |net namespace|网络隔离是通过net namespace|网络隔离是通过net namespace实现的,每个net namespace有独立的network devices、IP addresses、IP routing tables、/proc/net目录,每个container的网络能够隔离,docker默认采用veth的方式将container中的虚拟网卡同host上的一个docker bridge:docker0连接在一起。| ## Technologies Docker |隔离性|Linux namespace (NS)| |---|---| |ipc namespace|Container中进程交互还是采用Linux常见的进程间交互方法(interprocess communication - IPC),包括常见的信号量、消息队列和共享内存。Container的进程间交互实际上还是Host上具有相同pid namespace的进程间交互,因此在IPC资源0 码力 | 77 页 | 7.40 MB | 2 年前3
OpenShift Container Platform 4.8
Web 控制台"rbac.istio.io/v1alpha1" kind: ServiceRoleBinding metadata: name: httpbin-client-binding namespace: httpbin spec: subjects: - user: "cluster.local/ns/istio-system/sa/istio-ingressgatew "rbac.istio.io/v1alpha1" kind: ServiceRoleBinding metadata: name: httpbin-client-binding namespace: httpbin spec: subjects: - user: "cluster.local/ns/istio-system/sa/istio-ingressgateway "rbac.istio.io/v1alpha1" kind: ServiceRoleBinding metadata: name: httpbin-client-binding namespace: httpbin spec: subjects: - user: "cluster.local/ns/istio-system/sa/istio-ingressgateway0 码力 | 87 页 | 1.58 MB | 2 年前3
Red Hat OpenShift GitOps 1.10 Removing GitOpsAbstract This document provides instructions for deleting the Argo CD instances added to the default namespace of the OpenShift GitOps Operator. It also discusses how to remove the OpenShift GitOps Operator Operator is a two-step process: 1. Delete the Argo CD instances that were added under the default namespace of the Red Hat OpenShift GitOps Operator. 2. Uninstall the Red Hat OpenShift GitOps Operator. instances created. #### 1.1. DELETING THE ARGO CD INSTANCES Delete the Argo CD instances added to the namespace of the GitOps Operator. ## Procedure 1. In the Terminal type the following command: $ oc delete0 码力 | 8 页 | 47.36 KB | 1 年前3
Moving large scale consumer
e-commerce Infrastructure to
Mesh• Split rollout in to phases • Setup control plane and related tooling - Sidecar injection by namespace or on-demand • Passthrough mode during rollout - Service entry to connect internal proxy - Kubernetes for easy management of setup across environments • Ignore ports / IP as applicable - consul • Namespace isolation helps reduce Istio proxy resources ## Next Steps - Move stateful components in to mesh0 码力 | 14 页 | 1.76 MB | 1 年前3
OpenShift Container Platform 4.13 虚拟化13. 详情标签页 |元素|描述| |---|---| |YAML 开关|设置为 ON,以在 YAML 配置文件中查看您的实时更改。| |Name|VirtualMachine 名称| |Namespace|VirtualMachine 命名空间| |标签|点编辑图标编辑标签。| |注解|点编辑图标编辑注解。| |描述|点编辑图标,以输入描述。| |操作系统|操作系统名称| |CPU\|内存|点编辑图标编辑 标签页中配置自定义模板。 例 4.27. 详情标签页 |元素|描述| |---|---| |YAML 开关|设置为 ON,以在 YAML 配置文件中查看您的实时更改。| |Name|模板名称| |Namespace|模板命名空间| |标签|点编辑图标编辑标签。| |注解|点编辑图标编辑注解。| |显示名称|点编辑图标编辑显示名称。| |描述|点编辑图标,以输入描述。| |操作系统|操作系统名称| |元素|描述| YAML 配置文件来配置数据源。| |操作菜单|选择 Edit labels, Edit annotations, Delete, 或 Manage source.| |Name|数据源名称| |Namespace|数据源命名空间| |DataImportCron|DataSource DataImportCron| |标签|点编辑图标编辑标签。| |注解|点编辑图标编辑注解。| |Conditions|显示0 码力 | 393 页 | 4.53 MB | 2 年前3
Cilium v1.9 Documentation“connectivity-check” to test connectivity between pods. It is recommended to create a separate namespace for this. kubectl create ns cilium-test Deploy the check with: kubectl apply -n cilium-test -f Variables Specify the namespace in which Cilium is installed as CILIUM_NAMESPACE environment variable. Subsequent commands reference this environment variable. export CILIUM_NAMESPACE=kube-system Enable with the following command: helm upgrade cilium cilium/cilium --version 1.9.18 \ --namespace $CILIUM_NAMESPACE \ --reuse-values \ --set hubble.listenAddress=":4244" \ --set hubble.relay0 码力 | 1263 页 | 18.62 MB | 1 年前3
Cilium v1.8 Documentation“connectivity-check” to test connectivity between pods. It is recommended to create a separate namespace for this. kubectl create ns cilium-test Deploy the check with: kubectl apply -n cilium-test -f NetworkPolicy applies to them: kubectl get pods --all-namespaces -o custom- columns=NAMESPACE:.metadata.namespace,NAME:.metadata.name,HOSTNETWORK:. spec.hostNetwork --no-headers=true | grep '' | “connectivity-check” to test connectivity between pods. It is recommended to create a separate namespace for this. kubectl create ns cilium-test Deploy the check with: kubectl apply -n cilium-test -f 0 码力 | 1124 页 | 21.33 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
DockerNamespaceCGroupDevice MapperDocker Image Storagegevent-socketioSocket.IOWebSocketTransportnamespaceeventtransportLinux namespaceControl Groups (cgroups)Union MountImageRed Hat OpenShift Service MeshOperatorControl PlanePodRed Hat OpenShift GitOps OperatorArgo CDuninstallOpenShift Container Platformlarge scale consumer e-commerce InfrastructureMeshIstio GatewayNamespace isolationNetwork policyOpenShift VirtualizationKubernetes虚拟机Web 控制台CiliumeBPFXDP网络策略BPF













