incubator

“package java.net.http does not exist” error on JDK9

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a problem compiling simple blocking GET example from the HttpRequest JavaDoc: package org.example; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import static java.net.http.HttpRequest.noBody; import static java.net.http.HttpResponse.asString; public class Http2 { public static void main(String[] args) throws URISyntaxException, IOException, InterruptedException { HttpResponse response = HttpRequest .create(new URI("http://www

helm,efk日志系统

自作多情 提交于 2019-11-27 14:07:49
helm: 存放配单清单的 chart 图表 chart 仓库 chart,helm-->Tiller-->api server -->kube_cluster chart--->release helm: 核心术语 chart: 一个 helm 程序包,部署清单的定义,包含资源关系,镜像定义,并不包含镜像, repository: chart 仓库,存放 chart 的,就是一个 https/http 服务器 release: 特定的 chart 部署于目标集群上的一个实例 chart -->configmap --> Relese values.yaml 程序架构: helm: 客户端,管理本地 chart 仓库,管理 chart, 与 Tiller 服务器交互,用于发送 chart, 实例安装,查询,卸载等操作 Tiller: 服务端 监听来自 helm 的请求,接收 helm 发来的 chart 与 config, 合并生成 release; 部署 helm https://github.com/helm/helm/releases/tag/v2.9.1 mkdir helm && cd helm tar xf helm-v2.9.1-linux-amd64.tar.gz && cd linux-amd64/ mv helm /usr/bin/ helm --help 部署