weave

kube-dns and weave-net not starting

烈酒焚心 提交于 2019-12-14 01:14:21
问题 I am deploying Kubernetes 1.4 on Ubuntu 16 on Raspberry Pi 3 following the instructions at http://kubernetes.io/docs/getting-started-guides/kubeadm/. The master starts and the minion joins no problem but when I add weave kubedns won't start. Here's the pods: k8s@k8s-master:~$ kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE kube-system etcd-k8s-master 1/1 Running 1 23h kube-system kube-apiserver-k8s-master 1/1 Running 3 23h kube-system kube-controller-manager-k8s

No internet connectivity inside docker container running inside kubernetes with weave as networking

北慕城南 提交于 2019-12-13 14:35:47
问题 I have a kubernetes cluster that is running on AWS EC2 instances and weave as networking(cni). I have disabled the docker networking(ipmask and iptables) as it is managed by weave(to avoid network conflicts). I have deployed my Jenkins on this cluster as K8s pod and this jenkins uses jenkins kubernetes plugin to spawn dynamic slaves based on pod and container template which I have defined. These slaves container have docker client in it which connects to the host docker engine via docker.sock

docker plugin插件-----网络插件插件 network plugin(weave)

寵の児 提交于 2019-12-08 04:26:58
Weave 的使用 1 建立子网 方法一: 使用weavelaunch默认情况下创建的网段:10.32.0.0/12 指定网段 --ipalloc-range 默认连接到weave网络 方法二 docker network create --driver=weave mynetwork 指定网段: 2 多主机连接 https://www.weave.works/docs/net/latest/using-weave/ 1 主机1 的ip :192.168.0.142 执行weave launch 运行weave launch 并 执行 #eval$(weave env) 2 主机2在制定主机1ip 进行启动连接 3 在主机2上查看连接状态:weavestatus 在主机1上查看连接状态 遇到连接失败: 查看日志:dockerlogs weave 3 容器 将容器加入到不同网络的两种方法 docker run --net=mynetwork ... docker network connect mynetwork somecontainer 给容器指定IP 动态添加容器到网络(可以将容器添加到多个网络net:) 动态分离容器 来源: CSDN 作者: rually 链接: https://blog.csdn.net/rually/article/details/51919764

Docker上的虚拟网络-Weave Net

烈酒焚心 提交于 2019-12-07 01:59:42
Weave Net( https://www.weave.works )是Docker上的虚拟网络,可以将分布式的Docker服务链接为一个虚拟的服务网络,就像在一个局域网中运行一样,而且可以穿透防火墙(需要开放相应端口),从而可以构建出基于Mesh架构的对等服务网络( https://github.com/weaveworks/mesh )。目前Weave版本是独立发展的,尚未纳入Docker官方体系。 关于容器SDN(软件定义网络)概念参考: 容器SDN技术与微服务架构实践 关于容器上网络技术发展,参考: Docker网络管理的未来 1、项目源码 项目源码托管在: https://github.com/weaveworks/weave 2、快速安装 sudo curl -L git.io/weave -o /usr/local/bin/weave sudo chmod a+x /usr/local/bin/weave weave setup weave version weave status 启动一个节点: weave launch weave env 停止当前节点: weave stop 详细说明在: https://www.weave.works/docs/net/latest/installing-weave/ 指定密码: weave launch --password

Weave and Docker for Mac: The bridge between local and remote services

╄→尐↘猪︶ㄣ 提交于 2019-12-07 01:59:30
Integration testing and debugging many microservices can be painful. Often, I need to debug a service on a staging environment. This article shows how we use Docker for Mac with Weave (an overlay network) to connect our local machine to our remote staging environments. In my workflow, I usually create a WIP git commit, push it to staging, and try to debug with the Ubuntu server’s limited tools. I could set up a bunch of SSH tunnels to connect to all the remote services, but our stack changes too frequently and finding IP addresses for each service is a pain. My dev machine is a Mac, so most of

5个解决Docker网络问题的项目

∥☆過路亽.° 提交于 2019-12-06 15:10:05
Docker 是一个开源的应用容器引擎,它可以让开发者将自己的应用以及应用所依赖的内容打包到一个可移植的容器中,然后将该容器发布到任何流行的 Linux 机器上,也可以实现虚拟化。 Docker 彻底释放了虚拟化的威力,它让应用的分发、部署和管理都变得前所未有的高效和轻松,凭借着自己出众的能力,Docker现在已经成为目前IT界创业者和创 新者的宠儿。那么Docker是否已经足够完美了呢?答案当然是否定的,对于管理者和开发人员来说网络依然是Docker的一个痛点,如何管理 Docker容器之间的交互和网络一直都充满了挑战。 为了解决网络的问题,有很多公司都开发了各自的产品以帮助开发者更方便地使用Docker。Serdar Yegulalp最近在InfoWorld上分享了 一篇文章 ,介绍了这些项目中最重要的5个,包括Weave、Kubernetes、CoreOS, Flannel、Pipework以及SocketPlane,同时他认为这其中的部分项目将来可能会成为Docker的组成部分。下面就让我们来了解一下这5个项目。 Weave 是由Zett.io公司开发的,它能够创建一个虚拟网络来连接部署在多台主机上的Docker容器。通过Weave所有的 容器就像被接入了同一个网络交换机,那些使用网络的应用程序不必去配置端口映射和链接等信息

Debugging is Easier with Docker for Mac and Weave

帅比萌擦擦* 提交于 2019-12-06 11:26:03
Debugging and testing containerized applications from a Mac can be fiddly, (because you’re running containers inside a Host, which itself is running inside the OS), especially if you have multiple containers using the same port or if a second port is assigned to a value not known before a process starts (JMX, I’m looking at you). With a few tiny tweaks to your Mac, you can connect with Docker containers running on Weave Net and Docker for Mac , without exposing ports on the Docker host – which is great for testing and debugging during application development. The Apple Mac users in the Weave

Weave实现跨主机容器互联(待更新)

人盡茶涼 提交于 2019-12-05 03:15:24
安装与启动 直接从github下载二进制文件安装。 docker_host1(服务器1): 下载weave # sudo wget -O /usr/local/bin/weave https://raw.githubusercontent.com/zettio/weave/master/weave 更改weave权限 # sudo chmod a+x /usr/local/bin/weave 启动weave # weave launch 查看安装是否成功和是否启动weave docker_host2(服务器2): 下载weave # sudo wget -O /usr/local/bin/weave https://raw.githubusercontent.com/zettio/weave/master/weave 更改weave权限 # sudo chmod a+x /usr/local/bin/weave 启动weave # weave launch 192.168.134.177<加上docker_host1的ip,使得两台机器连接在一起> 运行容器: # weave run 192.168.0.2/24 -itd --name ubuntu bash 来源: https://www.cnblogs.com/shen-qiang/p/11901979.html

How to get kube-dns working in Vagrant cluster using kubeadm and Weave

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I deployed a few VMs using Vagrant to test kubernetes: master: 4 CPUs, 4GB RAM node-1: 4 CPUs, 8GB RAM Base image: Centos/7. Networking: Bridged. Host OS: Centos 7.2 Deployed kubernetes using kubeadm by following kubeadm getting started guide . After adding the node to the cluster and installing Weave Net, I'm unfortunately not able to get kube-dns up and running as it stays in a ContainerCreating state: [ vagrant@master ~] $ kubectl get pods -- all - namespaces NAMESPACE NAME READY STATUS RESTARTS AGE kube - system etcd - master 1

kube-dns and weave-net not starting

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am deploying Kubernetes 1.4 on Ubuntu 16 on Raspberry Pi 3 following the instructions at http://kubernetes.io/docs/getting-started-guides/kubeadm/ . The master starts and the minion joins no problem but when I add weave kubedns won't start. Here's the pods: k8s@k8s-master:~$ kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE kube-system etcd-k8s-master 1/1 Running 1 23h kube-system kube-apiserver-k8s-master 1/1 Running 3 23h kube-system kube-controller-manager-k8s-master 1/1 Running 1 23h kube-system kube-discovery