Deploy Kubernetes in Docker
Kubernetes is an open-source container management framework of Google. It provides a series of functions such as host, cluster management, container deployment, high availability, and auto scaling of Docker containers; kubernetes's design goals include putting the container cluster in the desired state at any time. Therefore, a complete cluster management mechanism is established
Configure the dashboard service for a Kubernetes Cluster
This article describes how to create and use kube-ui (also called dashboard) based on the previous article. This is essentially an api interface for connecting webui to the master. It obtains information about the k8s cluster through the api and then displays it on the web, which is more friendly to users, it is not very useful.
1. Download image files and integrate them into the local warehouse
Here the ETCD cluster is multiplexed with the 3 nodes that we tested, 3 node to install and start, note to modify the configuration file1, TLS certification file distribution: ETCD cluster authentication, in addition to the native, distributed to other node nodesSCP ca.pem KUBERNETES-KEY.PEM Kubernetes.pem [email protected]10.10. 90.106:/etc/kubernetes/SSLSCP ca.pem KUB
This article is transferred from Kenby's blog, more comprehensive move, turn to stay for later use.http://kenby.iteye.com/blog/1162698First, starting from a usage scenarioImportLogging#Create a loggerLogger = Logging.getlogger ('MyLogger') Logger.setlevel (logging. DEBUG)#create a handler to write to the log fileFH = logging. Filehandler ('Test.log') Fh.setlevel (loggin
Create a Kubernetes-dashboard
In the previous article (SEE), deploy the Kubernetes-dashboard Based on the deployed kubernetes. It is an official user management Kubernets cluster visualization tool; deploying a dashboard is the same as deploying other applications in kubernets. Just create the Replication Controller and Service services required by the dashboard;
If you're an OPS engineer, you know that Docker is valued at more than $1 billion, and Docker is one of the most popular technology brands. Docker containers are known as the de facto standard for container runtimes, but Google's kubernetes is winning the choreography framework market. When using container technology, we often encounter the question, "will using Kubernetes hurt Docker?" ”Many people believe
Logging file logs and logging logs1. Example
Import logginglogging.basicConfig(filename='log.txt ', # file name level = logging. DEBUG, # level format = U' time: % (asctime) s \ n Level: % (levelname) s \ n message: % (message) s \ n ', # log format datefmt = '% Y-% m-% d % H: % M: % s') # Time Format logging. debug (
Mesos and Kuberneteshttp://dockone.io/article/956 I firmly believe that their use will grow faster in the next year, so it is time to review the summary and prepare for 2016 years. I would like to discuss the current situation of Mesos and kubernetes and enumerate the strengths and weaknesses that will allow you to understand the concept of cluster manager.Mesos and KubernetesBefore I start, I'd like to take the time to roughly compare Mesos and
Colleagues who have studied kubernetes know that kubernetes if you need to enable TLS authentication, making a certificate is an essential step. However, many people encounter a lot of trouble in making certificates. Today is the main record of how I made my certificate during the deployment of Kubernetes. Throughout the process, the startup parameters for each c
Tags: WordPress MySQL KubernetesWordPress is the main platform for editing and publishing Web content. In this tutorial, I'll step through how to use kubernetes to build a high availability (HA) WordPress deployment.WordPress consists of two main components: a wordpress PHP server and a database for storing user information, posts, and website data. We need to make these two components in the entire application both highly available and fault tolerant
k8s Basic Concepts1. NodeNode as a working node in the cluster, running a real application, the smallest running unit kubernetes managed on node is the pod. Node runs Kubernetes's kubelet, Kube-proxy service processes, which are responsible for pod creation, startup, monitoring, restart, destruction, and load balancing for software patterns. The information that node contains:
node address: The IP address of the host, or node ID.
node op
First, introduce
This case is based on Kubernetes and Docker, which includes1, Web front-end2, Redis Master3, Redis SlaveWhere the Web front-end interacts with the JavaScript Redis API and Redis Master
Kubernetes System Architecture
Second, the configuration
0. PrerequisitesKubernetes Cluster
1, start Redis Master use replication controller to ensure that only one pod is running (when a node is down,
One, why use commons-logging+log4j? Commons-logging and log4j are open source projects under Apache. The purpose of commons-logging is to provide a unified interface for "All Java log implementations" that decouple the project from the Log Implementation tool, its own log function is weak (only a simple simplelog), so it is generally not used alone. The log4j fea
Kubernetes is Google's Open source container cluster management system. It is built on Docker technology and provides a whole set of functions, such as resource scheduling, deployment operation, service discovery, expansion and contraction capacity, for containerized applications, which can be regarded as Mini-paas platform based on container technology. The purpose of this article is to comb the architecture, concepts, and basic workflows of
Resources:k8s-Network Isolation Reference
Opencontrail is a open source network virtualization platform for the cloud. –kube-o-contrail–get your hands dirty with Kubernetes and Opencontrail
Opencontrail is a open source network virtualization platform for the cloud.
Opencontrail Architecture Document-flying Eagle's diary-NetEase Blog
Opencontrail Study (i)-wanjia19870902 's Colu
OverviewCoredns is so notorious because it was introduced from kubernetes1.9 as the default DNS for Kubernetes internal service discovery. There is no doubt that Kubernetes is one of Coredns's backend, so we speak Coredns, starting with Kubernetes as the back end.Many of Coredns's features are mentioned on the web and are not covered here. A simple comparison of
There are several ways to install the Kubernetes cluster, the KUBEADM approach is described earlier, and the manual installation method is described in this article.The installation environment has 3 VMS on Azure:HKUBE01:10.0. 1.4 HKUBE02: 10.0. 1.5 Hbube03: 10.0. 1.6Where hkube01 is the master node, it will install Docker, ETCD, Kubernetes Master, flannel required components;HKUBE02 and hkube03 are worker
1. Bash Auto-refill for KUBECTL commandsThis is probably the easiest thing to do in the kubernetes process, but it's also one of the most useful. To add the auto-refill feature, if you use bash, simply execute the following command:echo"sourceIt will add an auto-complete command to your. bashrc file. So each shell window you open supports this feature. I found that auto-completion is especially useful for some long parameters, such as--all-namespaces.
Controller manager, as the Management control center within the cluster, is responsible for the resource management in the cluster, including node, Pod, namespace, and rated resources. For example, when an unexpected node outage occurs, Controller Manager will promptly discover and perform an automated fix.First, deploy k8s Controller ManagerMake sure Controller-manager-key.pem and Controller-manager.pem exist, and I've created the relevant private key here in the previous article. Perform the f
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.