https://rominirani.com/ Tutorial-getting-started-with-kubernetes-on-your-windows-laptop-with-minikube-3269b54a226#.d9lmuvzf2
This article's Considerations:
1, as of 2017.01.20, window kubernetes is still experimental, there are a variety of unpredictable bugs, if you encounter bugs, please go to kubernetes GitHub sear
First, the experimental environment
Operating system: Centos 7 x86_64
docker:1.12.6
II. Deployment of k8s steps
2.1 Installation Kubectl
Cat
2.2 Installation Minikube
Download Address: HTTPS://STORAGE.GOOGLEAPIS.COM/MINIKUBE/RELEASES/V0.26.1/MINIKUBE-LINUX-AMD64
When the download is complete, rename the minikube-linu
This is a creation in
Article, where the information may have evolved or changed.
[TOC]
Minikube Code Analysis
Reference Blog: minikube Source Analysis
Download
Minikube source code can be downloaded from github:
git clone git@github.com:kubernetes/minikube.git
Compile
Environment:Ubuntu 16.04
# code download to any directory, here is/opt/kube/
Tip This blog post mainly records how to use the centos system to install minikube in a local environment. It fills in a lot of problems that may result in failed image download during the installation process, mainly using kubernete 1.12.1, for other different versions, the method is the same. 1. Download the deployment installation package Wget https://storage.googleapis.com/minikube/releases/v0.30.0/
What is minikube?The installation and deployment of kubernetes clusters is a hurdle for many beginners. To facilitate development and experience of kubernetes, The kubernetes open-source community provides minikube that can be deployed locally.Minikube is a tool that allows
extensively used containers for internal projects and has more than 10 years of development experience (source: thenextplatform). By contrast, Microsoft's ACS is a younger product, and kubernetes support was introduced only in February 2017.However, ACS provides flexibility: Users can choose the container Orchestration platform (Kubernetes, Docker Swarm, DCOs), and choose the option to deploy containerized
Installation Requirements:The BIOS of your computer must be enabled Vt-x or amd-v virtualizationInstalling hypervisorMacos:virtualbox or VMware Fusion, or Hyperkit.Linux:virtualbox or KVM.Note:The Minikube also supports the--vm-driver=none option, which can be run directly on the host instead of on the VM. With this option, Docker is required, not hypervisor.Installing KubectlRefer to the installation documentation for 0-1Installing MinikubeInstall ac
, the following is installed software and version: Docker:version 17.09.0-ce Oracle virtualbox:version 5.1.20 r114 628 (Qt5.6.2) minikube:version v0.22.2 kuberctl:Client version:v1.8.1 Server version:v1.7.5
Note: The Minikube boot k8s node instance is required to run in the VM virtual machine in this machine, so the VM needs to be installed in advance, where I choose Oracle VirtualBox. K8s run the bottom of the use of Docker containers, so the machine
spark2.3.0+kubernetes Application Deployment
Spark can be run in Kubernetes managed clusters, using native kubernetes scheduling features have been added to spark. At present, kubernetes scheduling is experimental, in future versions, Spark may have behavioral changes in configuration, container images, and portals.
(1
NetworkingKubernetes supports for Third-party netwroking the cluster via the MLM plugin. For more infromation, please see Cluster Networking.According to this Chinese blog, Principles and Solutions of Kubernetes Networking from Yourongyun the three top of the MLM Pro Viders for kubernetes cluster based on VMs is Project Calico, flannel, Weave Net.And also, here is comparison of variable networking solution
Learning notes TF064: TensorFlow Kubernetes, tf064tensorflow
AlphaGo: each experiment has 1000 nodes and each node has 4 GPUs and 4000 GPUs. Siri: 2 nodes and 8 GPUs for each experiment. AI research relies on massive data computing, instead of performance computing resources. The larger cluster running model shortens the weekly training time to the day-level hour level. Kubernetes, the most widely used cont
With such a large amount of data, there may be thousands of machines behind it, unable to manually monitor the state of the machine. Therefore, this article introduces the use of the Kubernetes container management tool and, through a simple example, tells you how to build a Spark cluster. Preparation Phase
1. You need to have a running kubernetes cluster and use KUBECTL to configure access permissions for
The current skaffold version is v0.4 and has not yet been released, and is not recommended for use in production environments;Skaffold is used for developer rapid deployment programs to Kubernetes,Skaffold provides dev, run two modes , and Skaffold requires a skaffold configuration file that defines Skaffold workflow ;The Skaffold workflow defines three main stages : Build, Push, Deploy;First, BuildDuring the build phase, Skaffold uses the dockerfile
of all applications and understand how to better cater to containers and clusters in the database lifecycle.
The first five parts of this series are as follows:
Ks1: Use Kubernetes to build a React Application
Ks2: Use minikube to detect React code changes
Ks3: Add a Python Web server that provides APIs
Ks4: enables minikube to detect Python code changes
K
cluster, it is containerized and deployed as a kubernetes pod. It also provides some additional functionality: You can choose how to deploy it (Deamon set runs on each node, or as a deployment of n replicas), configure health checks for it, and so on. When an application runs outside the cluster, it needs to manage it itself. The following configuration can make our tools more flexible and support two ways of defining clients based on Config flag:We'
by default, so you have to add that flag to solve the problem.4. Although the Minikube is Mini, the local use is powerfulMinikube is definitely the easiest way to start a kubernetes cluster locally. You just have to follow this [1] guide to download everything.Once all the components have been installed, you can simply run the following command:minikubestartAfter the command is executed, you will have a ru
This article starts with my public number clouddeveloper, and you are welcome to join me in learning cloud computing.
From the previous article we know that Kubernetes born in the borg,borg of Google in the beginning of the birth of Kubernetes has been in the internal battle of Google more than 10 years, and does not say its history has a long tradition, it is from Google that talented engineers hand, K
The Kubernetes network model is made up of four parts from inside to outside:
The network where the pod interior container resides
The network where the pod resides
Network for communication between pod and service
Network of communication between outside and service
It is recommended that you understand the network model of Docker before reading this article. Refer to the author's first two articles [
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.