Minikube

Error restarting cluster: restarting kube-proxy: waiting for kube-proxy to be up for configmap update: timed out waiting for the condition

北战南征 提交于 2019-12-03 23:57:04
I am trying to start a local Kubernetes cluster using minikube start and getting the following error. Starting local Kubernetes v1.10.0 cluster... Starting VM... Getting VM IP address... Moving files into cluster... Setting up certs... Connecting to cluster... Setting up kubeconfig... Starting cluster components... E0912 17:39:12.486830 17689 start.go:305] Error restarting cluster: restarting kube-proxy: waiting for kube-proxy to be up for configmap update: timed out waiting for the condition Any idea how to ensure it starts? I am using VirtualBox and this tutorial. I tried the tip given here

How I can add root CA to minikube?

折月煮酒 提交于 2019-12-03 15:10:33
My company uses it's own root CA and when I'm trying to pull images. Even from a private registry I'm getting error: 1h 3m 22 {kubelet minikube} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "POD" with ErrImagePull: "image pull failed for gcr.io/google_containers/pause-amd64:3.0, this may be because there are no credentials on this request. details: (Error response from daemon: Get https://gcr.io/v1/_ping : x509: certificate signed by unknown authority)" 1h 10s 387 {kubelet minikube} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for

What does minikube docker-env mean?

非 Y 不嫁゛ 提交于 2019-12-03 14:42:44
问题 In the Kubernetes minikube tutorial there is this command to use Minikube Docker daemon : $ eval $(minikube docker-env) What exactly does this command do, that is, what exactly does minikube docker-env mean? 回答1: The command minikube docker-env returns a set of Bash environment variable exports to configure your local environment to re-use the Docker daemon inside the Minikube instance. Passing this output through eval causes bash to evaluate these exports and put them into effect. You can

Minikube vs Kubernetes in Docker for Windows

半世苍凉 提交于 2019-12-03 08:39:24
问题 Most tutorials I've seen for developing with Kubernetes locally use Minikube. In the latest Edge release of Docker for Windows, you can also enable Kubernetes. I'm trying to understand the differences between the two and which I should use. Minikube lets you choose the version of Kubernetes you want, can Docker for Windows do that? I don't see a way to configure it. Minikube has CLI commands to enable the dashboard, heapster, ingress and other addons. I'm not sure why because my

通过Kubernetes运行IPFS集群

给你一囗甜甜゛ 提交于 2019-12-03 06:36:09
通过Kubernetes运行IPFS集群 源项目: https://github.com/openthings/kubernetes-ipfs kubernetes-ipfs是一个基于Kubernetes集群系统运行IPFS服务的项目,可以在Kubernetes管理界面进行规模的快速伸缩,可以通过Prometheus/Grafana动态监控运行情况。 注意,运行IPFS集群需要消耗大量带宽和计算资源。 1、快速开始 kubernetes-ipfs 可以在全功能的kubernetes部署上运行,也可以在 minikube 上运行。 与Minikube工作 ./reset-minikube.sh 设置 minikube到初始状态。 ./init.sh 在minikube上创建 go-ipfs 和 grafana deployments。 运行测试 go run main.go tests/simple-add-and-cat.yml go application 返回 0 当满足期望结果时, 1 为失败。 2、度量收集: Prometheus/Grafana 下面的步骤说明如何访问在本地机器上的Grafana web UI。 运行 init.sh 脚本之前, 确保 grafana-core deployment 在 prometheus-manifests.yml 中

How to transfer files between local machine and minikube?

半世苍凉 提交于 2019-12-03 04:46:18
问题 I am using OS Ubuntu 16.0.4 and i installed minikube on it. I need to copy some files to minikube, so how can i do that? I tried next command but it asked me on password and i don't know it scp /media/myuser/sourceFolder docker@192.168.99.100:/home/docker/destiationFolder Note: minikube IP is 192.168.99.100 , and i used docker as default user for minikube but actually i don't know if it correct ot not. So what is the default username and password for minikube and how can i copy files from my

What does minikube docker-env mean?

白昼怎懂夜的黑 提交于 2019-12-03 04:31:34
In the Kubernetes minikube tutorial there is this command to use Minikube Docker daemon : $ eval $(minikube docker-env) What exactly does this command do, that is, what exactly does minikube docker-env mean? The command minikube docker-env returns a set of Bash environment variable exports to configure your local environment to re-use the Docker daemon inside the Minikube instance. Passing this output through eval causes bash to evaluate these exports and put them into effect. You can review the specific commands which will be executed in your shell by omitting the evaluation step and running

Minikube vs Kubernetes in Docker for Windows

独自空忆成欢 提交于 2019-12-03 00:06:06
Most tutorials I've seen for developing with Kubernetes locally use Minikube. In the latest Edge release of Docker for Windows, you can also enable Kubernetes. I'm trying to understand the differences between the two and which I should use. Minikube lets you choose the version of Kubernetes you want, can Docker for Windows do that? I don't see a way to configure it. Minikube has CLI commands to enable the dashboard, heapster, ingress and other addons. I'm not sure why because my undertstanding is that these are simply executing kubectl apply -f http://... . With Minikube I can do a minikube ip

从零开始入门 K8s| 阿里技术专家详解 K8s 核心概念

☆樱花仙子☆ 提交于 2019-12-02 19:53:42
作者| 阿里巴巴资深技术专家、CNCF 9个 TCO 之一 李响 一、什么是 Kubernetes Kubernetes,从官方网站上可以看到,它是一个工业级的容器编排平台。Kubernetes 这个单词是希腊语,它的中文翻译是“舵手”或者“飞行员”。在一些常见的资料中也会看到“ks”这个词,也就是“K8s”,它是通过将 8 个字母“ubernete ”替换为“8”而导致的一个缩写。 Kubernetes 为什么要用“舵手”来命名呢?大家可以看一下这张图: 这是一艘载着一堆集装箱的轮船,轮船在大海上运着集装箱奔波,把集装箱送到它们该去的地方。我们之前其实介绍过一个概念叫做 container,container 这个英文单词也有另外的一个意思就是“集装箱”。Kubernetes 也就借着这个寓意,希望成为运送集装箱的一个轮船,来帮助我们管理这些集装箱,也就是管理这些容器。 这个就是为什么会选用 Kubernetes 这个词来代表这个项目的原因。更具体一点地来说:Kubernetes 是一个自动化的容器编排平台,它负责应用的部署、应用的弹性以及应用的管理,这些都是基于容器的。 二、Kubernetes 有如下几个核心的功能: 服务的发现与负载的均衡; 容器的自动装箱,我们也会把它叫做 scheduling,就是“调度”,把一个容器放到一个集群的某一个机器上,Kubernetes

Expose port in minikube

感情迁移 提交于 2019-12-02 17:59:59
In minikube, how to expose a service using nodeport ? For example, I start a kubernetes cluster using the following command and create and expose a port like this: $ minikube start $ kubectl run hello-minikube --image=gcr.io/google_containers/echoserver:1.4 --port=8080 $ kubectl expose deployment hello-minikube --type=NodePort $ curl $(minikube service hello-minikube --url) CLIENT VALUES: client_address=192.168.99.1 command=GET real path=/ .... Now how to access the exposed service from the host? I guess the minikube node needs to be configured to expose this port as well. I am not exactly