Minikube

简单Kubernetes的Minikube安装, 很简单, 几分钟的事情 ?

不想你离开。 提交于 2020-02-28 02:21:21
https://www.jianshu.com/p/64ed63594485 原文使用的代理, minikube start --bootstrapper localkube --docker-env="http_proxy=http://192.168.186.200:8118" --docker-env="https_proxy=http://192.168.186.200:8118" 我不使用代理 直接 执行 minikube start 直接 执行 minikube start 出错 : This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory 解决方案: 进入BIOS,找到 Intel Virtualization Technology,这个配置,设置为enabled。 但是阿里云怎么修改bios里的virtualization为true呢? 阿里云的虚拟主机不支持再安装虚拟化软件了 我去 , 只能在本地测试了 。 来源: oschina 链接: https://my.oschina.net/lvguanglin/blog/3158041

为什么要考CKA&CKAD 和我的备考经验

别来无恙 提交于 2020-02-26 13:58:55
前言:春节期间因为疫情影响只能在家,正好用来进行网上视频复习,并在1月28日完成CKAD的考试,1月29日拿到通过证书,加上去年底拿到的CKA证书,我已经通过了CNCF的两大认证,即CKA和CKAD。应LF开源软件大学的邀请,写下这篇文章,介绍我为什么考CKA以及我的备考经验,希望可以帮助到有同样想法的同学。 首先为什么要学习云原生? 2011年著名互联网企业家和投资人Marc Andreessen在《华尔街日报》上指出“Software is eating the world”,他指出很多行业的创新领先者(例如广告行业的谷歌,视频行业的netflix)其实都是软件公司。而现在这个趋势越来越明显,即所有的行业都在进行数字化改造,每个行业的创新领先公司都是技术公司,是能充分利用互联网技术优势的互联网化的公司。而互联网公司中,研发是重要的基础部门。互联网研发的两个重要特点:1.是 Agile,即快速的迭代上线;2是scale,即能低成本进行快速弹性伸缩,流量激增的时候能快速扩容扛住,容量减少的时候也能快速缩容来降低成本。能比同行业的竞争对手进行更快的迭代和更低成本的伸缩是他们胜出的关键优势之一。 而要做到agile和scale,快速迭代的研发团队流程,弹性伸缩的基础设施还有易扩展和演进的系统架构,这三者缺一不可。而这三者的演进趋势:研发流程从瀑布到Agile,再到现在的DevOps

How can I install minikube on Mac OS Catalina

淺唱寂寞╮ 提交于 2020-02-02 06:54:43
问题 The provided methods on the Kubernetes documentation don't work and brew cask no longer seems to have the minikube formulae as of Mac OS Catalina. Error: Cask 'minikube' is unavailable: No Cask with this name exists. When I download it with curl it refuses to run with the following error. /bin/minikube: cannot execute binary file: Exec format error How can I install minikube on Mac OS Catalina. Or do I have to rollback to Mojave? 回答1: Minikube is no longer available as a cask . Change command

How can I install minikube on Mac OS Catalina

烂漫一生 提交于 2020-02-02 06:54:28
问题 The provided methods on the Kubernetes documentation don't work and brew cask no longer seems to have the minikube formulae as of Mac OS Catalina. Error: Cask 'minikube' is unavailable: No Cask with this name exists. When I download it with curl it refuses to run with the following error. /bin/minikube: cannot execute binary file: Exec format error How can I install minikube on Mac OS Catalina. Or do I have to rollback to Mojave? 回答1: Minikube is no longer available as a cask . Change command

Redis Pods are not able to join Redis cluster

微笑、不失礼 提交于 2020-01-25 06:52:33
问题 I want to create redis cluster of 6 nodes in kubernetes. I am running kubernetes using Minikube . Below is my implementation for creating the 6 node cluster. kind: StatefulSet metadata: generation: 1 labels: app: demo-app name: demo-app namespace: default spec: podManagementPolicy: OrderedReady replicas: 6 revisionHistoryLimit: 10 selector: matchLabels: app: demo-app serviceName: "" template: metadata: creationTimestamp: null labels: app: demo-app spec: containers: - command: - redis-server -

Minikube won't work after Ubuntu upgrade to 19.10

安稳与你 提交于 2020-01-25 03:57:44
问题 I just upgrade Ubuntu from 19.04 to 19.10 Now Minikube won't start. So, after a while, I just removed completely Minikube with. minikube stop; minikube delete docker stop $(docker ps -aq) rm -r ~/.kube ~/.minikube sudo rm /usr/local/bin/localkube /usr/local/bin/minikube systemctl stop '*kubelet*.mount' sudo rm -rf /etc/kubernetes/ docker system prune -af --volumes Now I want to reinstall everything, but I can't make it working. I download minikube, and move it to /usr/local/bin curl -Lo

Difference between Minikube, Kubernetes, Docker Compose, Docker Swarm, etc

对着背影说爱祢 提交于 2020-01-24 10:16:28
问题 I am new to cluster container management, and this question is the basis for all the freshers over here. I read some documentation, but still, my understanding is not too clear, so any leads.. helping to understand? Somewhere it is mentioned, Minikube is used to run Kubernetes locally. So if we want to maintain cluster management in my four-node Raspberry Pi, then Minikube is not the option? Does Minikube support only a one-node system? Docker Compose is set of instructions and a YAML file to

Difference between Minikube, Kubernetes, Docker Compose, Docker Swarm, etc

混江龙づ霸主 提交于 2020-01-24 10:16:26
问题 I am new to cluster container management, and this question is the basis for all the freshers over here. I read some documentation, but still, my understanding is not too clear, so any leads.. helping to understand? Somewhere it is mentioned, Minikube is used to run Kubernetes locally. So if we want to maintain cluster management in my four-node Raspberry Pi, then Minikube is not the option? Does Minikube support only a one-node system? Docker Compose is set of instructions and a YAML file to

Minikube not starting on Ubuntu, throwing errors

蹲街弑〆低调 提交于 2020-01-24 04:30:19
问题 I'm running Ubuntu 17.04 (zesty) on a Dell XPS 13 (3854 MB of RAM and Intel Core i5-5200U CPU @ 2.20GHz) and trying to start up Minikube, but I'm getting a couple errors when I try to start it up. ➜ minikube version minikube version: v0.22.3 ➜ kubectl version Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-08-31T09:14:02Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux

Cannot read configmap with name: [xx] in namespace ['default'] Ignoring

寵の児 提交于 2020-01-06 08:08:23
问题 New to k8s. Trying to read values from profile based config map. My configmap exists in default namespace. But, spring boot is not pickingup the values. Config map looks like: apiVersion: v1 kind: ConfigMap metadata: name: example-configmap-overriding-new-01 data: application.properties: |- globalkey = global key value application-qa.properties: |- globalkey = global key qa value application-prod.properties: |- globalkey = global key prod value The config map is created in default namespace