![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Kubernetes
罗军_
花了大半天,终于将笔记全部更新到博客里面了。
展开
-
DockerSwarm UI
Docker镜像地址:https://github.com/dockersamples/docker-swarm-visualizer快速部署docker run -it -d -p 80:8080 -v /var/run/docker.sock:/var/run/docker.sock dockersamples/visualizerdocker service create \ --nam...原创 2018-02-23 13:50:05 · 680 阅读 · 0 评论 -
微服务应用部署笔记
History:运行jar文件,指定配置文件java -jar eurekaserver-0.0.1-SNAPSHOT.jar --spring.profiles.active=peer1DockerSwarmdocker service create --name eureka-server --publish 8761:8761 --replicas 3 --network docker-...原创 2018-02-23 13:40:08 · 441 阅读 · 0 评论 -
部署微服务应用
安装Docker● Ubuntu:https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/ ● CentOS:https://docs.docker.com/engine/installation/linux/docker-ce/centos/ 注:Docker安装需要网络1、卸载旧版本的Docker$ sudo apt...原创 2018-02-23 13:39:34 · 694 阅读 · 0 评论 -
Kubernetes Pod
Kubernetes PodPod是一个Kubernetes抽象,表示一组一个或多个应用程序容器(如Docker或rkt)以及这些容器的一些共享资源。这些资源包括:共享存储,作为卷网络,作为唯一的集群IP地址有关如何运行每个容器的信息,例如容器映像版本或要使用的特定端Pod用于模拟特定于应用程序的“逻辑主机”,并可以包含相对紧密耦合的不同应用程序容器。例如,一个Pod可能包含带有Node.js应用...翻译 2018-02-23 13:38:05 · 590 阅读 · 0 评论 -
上传本地所有镜像.sh
#!/bin/sh# This script will upload all local images to a registry server ($registry is the default value).# Usage: push_allfor image in `sudo docker images|grep -v "REPOSITORY"|grep -v "<none>"...转载 2018-02-23 13:37:15 · 267 阅读 · 0 评论 -
批量下载所有镜像(.sh)
#!/bin/sh# This script will update all local images# See: https://github.com/yeasy/docker_practice/blob/master/_local/pull_all.sh# Usage: pull_allfor image in `sudo docker images|grep -v "REPOSITORY"...转载 2018-02-23 13:36:42 · 995 阅读 · 0 评论 -
list private repository python3
#! /usr/bin/python3import jsonimport urllib.requesturlhead = '10.128.222.245:5000/'def getTag(image): requrl = "http://"+urlhead+"/v2/"+image+"/tags/list" webURL = urllib.request.urlopen...原创 2018-02-23 13:08:18 · 255 阅读 · 0 评论 -
docker EE on redhat 7
文档https://docs.docker.com/engine/installation/linux/rhel/#install-using-the-repositorydocker EE 试用1个月https://store.docker.com/?overlay=subscriptions相关命令DOCKER-EE-URLhttps://storebits.docker.com/ee/rhe...原创 2018-02-23 13:06:47 · 424 阅读 · 0 评论 -
spring boot weblogic
https://github.com/DISID/disid-proofs/tree/master/spring-boot-weblogic转载 2018-02-23 13:06:02 · 1856 阅读 · 0 评论 -
Docker Commit Push Weblogic JDBC应用程序
通过docker commit生成新的镜像通过docker push发布到私有仓库上相关参数和命令jdbc:oracle:thin:@//10.128.222.243:1521/OraDoc.my.domain.comsystemMyPasswd123t3://10.128.222.243:7011jdbc/MedRecGlobalDataSourceXAhttp://10.128.222.243...原创 2018-02-23 13:00:43 · 334 阅读 · 0 评论 -
Docker编排工具 Rancher
仓库地址:https://hub.docker.com/r/rancher/server/Docker编排工具调研:Rancher:http://feiyang21687.github.io/Rancher/官网:http://rancher.com/docs:http://rancher.com/docs/rancher/v1.6/en/目前Rancher只支持Linux,不支持Windows和...原创 2018-02-23 11:21:54 · 1422 阅读 · 0 评论 -
Add bind-mounts or volumes
https://docs.docker.com/engine/reference/commandline/service_create/#add-bind-mounts-or-volumesDocker支持两种不同类型的安装,允许容器读取或写入其他容器或主机操作系统上的文件或目录。这些类型是数据卷(通常简称为卷)和 绑定安装(Docker supports two different kinds ...转载 2018-02-23 11:20:20 · 344 阅读 · 0 评论 -
删除Docker私有仓库内的镜像
docshttps://docs.docker.com/registry/configuration/#delete脚本https://github.com/burnettk/delete-docker-registry-image原创 2018-02-23 11:03:35 · 6191 阅读 · 0 评论 -
Docker配置http(s)代理
为docker服务创建一个内嵌的systemd目录$ mkdir -p /etc/systemd/system/docker.service.d创建/etc/systemd/system/docker.service.d/http-proxy.conf文件,并添加HTTP_PROXY环境变量。其中[proxy-addr]和[proxy-port]分别改成实际情况的代理地址和端口, 如果还有内部的...原创 2018-02-23 11:02:15 · 365 阅读 · 0 评论 -
批量上传指定镜像(.sh脚本)
#可以使用下面的脚本,可以批量上传本地镜像到注册服务器中,省去了逐个打标记的步骤。默认是本地的127.0.0.1:5000#!/bin/sh# This script will upload the given local images to a registry server ($registry is the default value).# See: https://github.com/y...转载 2018-02-23 13:35:46 · 740 阅读 · 0 评论 -
Consul的安装与启动
Consul 是 HashiCorp 公司推出的开源工具,用于实现分布式系统的服务发现与配置。与其他分布式服务注册与发现的方案,Consul的方案更“一站式”,内置了服务注册与发现框 架、分布一致性协议实现、健康检查、Key/Value存储、多数据中心方案,不再需要依赖其他工具(比如ZooKeeper等)。使用起来也较 为简单。Consul使用Go语言编写,因此具有天然可移植性(支持Linux、w...转载 2018-02-23 13:38:50 · 14224 阅读 · 2 评论 -
微服务组件部署
参考资料:http://blog.csdn.net/forezp/article/details/69696915使用IDEA构建Eureka服务1、创建服务注册中心a、创建SpringBoot项目时勾中CloudDovery中的EurekaServerb、在Pom文件中,添加eureka依赖<dependencies> <!--eureka server --&g...原创 2018-02-23 13:42:04 · 1347 阅读 · 0 评论