Minikube

Dev machine as part of Minikube's network?

筅森魡賤 提交于 2019-12-05 23:15:22
问题 Is it possible to have my development machine to be part of Minikube's network? Ideally, it should work both ways: While developing an application in my IDE, I can access k8s resources inside Minikube using the same addressing that pods would use. Pods running in Minikube can access my application running in the IDE, for example via HTTP requests. This sounds like the first part is feasible on GCE using network routes, so I wonder if it's doable locally using Minikube. 回答1: There is an issue

containerd 与安全沙箱的 Kubernetes 初体验

依然范特西╮ 提交于 2019-12-05 19:51:19
作者 | 易立 阿里云资深技术专家 containerd 是一个开源的行业标准容器运行时,关注于简单、稳定和可移植,同时支持 Linux 和 Windows。 2016 年 12 月 14 日,Docker 公司宣布将 Docker Engine 的核心组件 containerd 捐赠到一个新的开源社区独立发展和运营。阿里云、AWS、 Google、IBM 和 Microsoft 作为初始成员,共同建设 containerd 社区; 2017 年 3 月,Docker 将 containerd 捐献给 CNCF(云原生计算基金会)。containerd 得到了快速的发展和广泛的支持; Docker 引擎已经将 containerd 作为容器生命周期管理的基础,Kubernetes 也在 2018 年 5 月,正式支持 containerd 作为容器运行时管理器; 2019 年 2 月,CNCF 宣布 containerd 毕业,成为生产可用的项目。 containerd 从 1.1 版本开始就已经内置了 Container Runtime Interface (CRI) 支持,进一步简化了对 Kubernetes 的支持。其架构图如下: 在 Kubernetes 场景下,containerd 与完整 Docker Engine 相比,具有更少的资源占用和更快的启动速度。 图片来源:

How to Debug .Net Core Application Running on Minikube from Visual Studio 2017

最后都变了- 提交于 2019-12-05 17:07:03
I have made a .Net Core Web Application and deployed it on container running on Minikube VM. I want to debug that app, How can I do it using Visual Studio 2017? You can use vsdbg to debug any remote dotnet core process on Linux. Kubernetes Minikube uses Docker underneath and Docker container is in fact something like a Linux VM. I wrote a post about this on Medium.com if you need more details. 来源: https://stackoverflow.com/questions/46361844/how-to-debug-net-core-application-running-on-minikube-from-visual-studio-2017

How to fix VM issue with minikube start ?

时间秒杀一切 提交于 2019-12-05 16:40:49
问题 I am a beginner to Kubernetes and starting off with this tutorial. I installed VM and expected to be able to start a cluster by using the command: minikube start But I get the error: Starting local Kubernetes v1.10.0 cluster... Starting VM... E0911 13:34:45.394430 41676 start.go:174] Error starting host: Error creating host: Error executing step: Creating VM. : Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known

Cannot stop 10 containers after Kubernetes minikube tutorial

六眼飞鱼酱① 提交于 2019-12-05 12:54:42
docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 7523fd2c20c7 gcr.io/google_containers/k8s-dns-sidecar-amd64 "/sidecar --v=2 --..." 18 hours ago Up 18 hours k8s_sidecar_kube-dns-86f6f55dd5-qwc6z_kube-system_c1333ffc-e4d6-11e7-bccf-0021ccbf0996_0 9bd438011406 gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64 "/dnsmasq-nanny -v..." 18 hours ago Up 18 hours k8s_dnsmasq_kube-dns-86f6f55dd5-qwc6z_kube-system_c1333ffc-e4d6-11e7-bccf-0021ccbf0996_0 5c35e00a5a27 gcr.io/google_containers/k8s-dns-kube-dns-amd64 "/kube-dns --domai..." 18 hours ago Up 18 hours k8s_kubedns_kube-dns

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

断了今生、忘了曾经 提交于 2019-12-05 12:39:12
问题 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

Starting an Ingress service on Docker for Mac

房东的猫 提交于 2019-12-05 10:27:54
Update: Using: kubectl expose deployment <Name-Of-Servce> --name=loadbalancer --port=8080 --target-port=8080 --type=LoadBalancer The kubectl get services is showing pending: loadbalancer LoadBalancer <x.x.x.x> <pending> 8080:32670/TCP 2m Before Docker surported Kubernetes, I could use MiniKube and Helm: helm install stable/jenkins kubectl get services // To get the service name minikube service original-llama-jenkins // << The service name Now that we have Docker for Mac(Edge) supporting Kubernetes, how do you add an EXTERNAL-IP ? Thanks Unless something seriously magical has happened with

Minikube安装

二次信任 提交于 2019-12-05 03:16:59
1、下载Minikube二进制文件 sudo curl -Lo minikube https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/releases/latest/minikube-linux-amd64 2、设置权限 sudo chmod +x minikube 3、添加到/usr/local/bin目录下 sudo install minikube /usr/local/bin 4、启动Minikube(使用aliyun镜像仓) minikube start --vm-driver=virtualbox --registry-mirror=https://registry.docker-cn.com --image-mirror-country=cn --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers 5、开启Minikube可视化面板 minikube dashboard 6、安装kubectl sudo curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com

Downgrade kubectl version to match minikube k8s version

江枫思渺然 提交于 2019-12-05 00:44:56
I started minikube with k8s version 1.5.2 and I would like to downgrade my kubectl so that it is also 1.5.2. Currently when I run kubectl version I get: Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-08-31T19:32:12Z", GoVersion:"go1.9", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"08e099554f3c31f6e6f07b448ab3ed78d0520507", GitTreeState:"clean", BuildDate:"1970-01-01T00:00:00Z", GoVersion:"go1.7",

delete kubernetes cluster on docker-for-desktop OSX

心不动则不痛 提交于 2019-12-05 00:37:59
What is the equivalent command for minikube delete in docker-for-desktop on OSX As I understand, minikube creates a VM to host its kubernetes cluster but I do not understand how docker-for-desktop is managing this on OSX. Tear down Kubernetes in Docker for OS X is quite an easy task. Go to Preferences , open Reset tab, and click Reset Kubernetes cluster . All object that have been created with Kubectl before that will be deleted. You can also reset docker VM image ( Reset disk image ) and all settings ( Reset to factory defaults ) or even uninstall Docker. It's really under the hood in the