In the previous blog post, we completed the Sonarqube deployment through Kubernetes's devlopment and service. Seems to be available, but there is still a big problem. We know that databases like MySQL need to keep data and not lose data. And the container is exactly the moment you exit, all data is lost. Once our Mysql-sonar container is restarted, any subsequent settings we make to Sonarqube will be lost. So we have to find a way to keep the MySQL data in the Mysql-sonar container.
What is PodPods are the smallest deployable units that can be used to create and manage kubernetes calculations. A pod represents a process that runs in a cluster.Pods are like pea pods, which consist of one or more containers (such as Docker containers) that share container storage, network, and container run configuration items. The containers in the pod are always dispatched at the same time and have a common operating environment. You can think of
ReviewSimply put: Each component version that Kubernetes relies on can be found in the corresponding ChanglogFor example, version 1.10 depends on the following conditions:Https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.10.md#external-dependenciesThe following simple example summarizes:k8s v1.10 dependent version Select 1.10.0 Dependent package:Ht
Simple IntroductionUse docker+kubernetes today to build a simple Hello World node. js Application.Actual operation1. Follow the tutorial to install docker+kubernetes for MACAbout ToolAbout states2. Verify SuccessDockerKubernetes versionThis docker+kubernetes installation is successful.2. Writing the node. JS ApplicationSave this code in a folder named Hellonode w
CentOS7 Build Kubernetes DashboardAn environmental statementCentos7 Three, master node one, node nodes twoDashboard requires a mirror and requires a command download:Docker Pull mritd/kubernetes-dashboard-amd64:v1.5.1PS: There are many other mirrors can also build dashboard, but this version is the Chinese version ofNote: All two node nodes need to download this image, the master node does not, because the
1.1. What is Kubernetes?A new approach to distributed architecture based on container technologyA complete distributed system support platformKubernetes is an open source project launched by the Google team, which aims to manage containers across multiple hosts, provide basic deployment, maintenance, and use scaling, primarily to implement the language as the Go language.1.2. Basic ConceptsNode: In Kubernetes
Kubernetes Network Model
A fundamental principle of the Kubernetes network model design is that each pod has a separate IP address, and that all pods are in a flat network space that can be directly connected. So whether or not they run in the same node (host), they are required to be accessed directly from each other's IP. The reason for this principle is that the user does not need to consider ho
One. Container:1. A container is a way to run one or a set of processes, isolating these processes from other processes on the host2. Containers are similar to virtual machines, but different from virtual machinesContainer virtual machineKernel calls the host's kernel per virtual machine oneStart speed seconds-level minuteResources use only the processes in the container occupy the entire virtual machineTwo. What is Kubernets?1. is a container organizer, or container manager:Not only manages con
Heapster is a container cluster monitoring and performance analysis tool that naturally supports kubernetes and CoreOS.Kubernetes has a well-known surveillance agent-cadvisor. The cadvisor is run on each kubernetes node, and it collects monitoring data (cpu,memory,filesystem,network,uptime) for both native and container.In the newer version, K8S has integrated the Cadvisor functionality into the Kubelet com
What am I going to write?"Understand each line of code-kubernetes" will contain k8s the entire project source code analysis, considering the threshold problem, before starting to analyze the k8s I will be in some of the less difficult Golang open source projects to help you improve Golang coding skills And then through the k8s related to some of the projects, to open up obstacles to k8s learning some of the major obstacles; the final focus on fire, wi
The previous article describes the use of Traefik for service publishing in Kubernetes 1.5.2 cluster environments. Traefik is deployed in Daemonset mode, and the connection Api-server is the HTTP protocol, and RBAC is not configured. This article describes the deployment of Traefik for service publishing in the K8s 1.9 release using the deployment method.Before you begin, you need to know what RBAC is. RBAC (role-based access control) using the Rbac.a
Tags: Host file Create request Val SSM LOB environment ant followThis article describes the deployment of MySQL master-slave cluster in a kubernetes environment, with data persistence using NFS. I. Introduction to the EnvironmentMySQL Version: 5.7 Mysql Master node:Host Name: VM1IP Address: 192.168.115.5/24 Mysql slave node:Host Name: VM2IP Address: 192.168.115.6/24 NFS Node:Host Name: VM2IP Address: 192.168.115.6/24Shared Directories:/home/mysql_mast
Participants : System engineers, software architects, software engineers, operations engineers, and it elites interested in cloud computingCourse Catalogue:First lesson Why you need to learn Dockerlesson two the container Base command series for Docker combatlesson Three the custom container image for Docker combatFourth lesson of the container interconnection of Docker actual combatFifth lesson Docker's container network mechanism (UP)Sixth lesson The container network mechanism of Docker Comba
the style and logic of the above code is no longer familiar: Create a The Schedulerserver object, which passes command-line arguments, and enters the schedulerserver Run method, does not die. --"kubernetes authoritative guide" source code guidance Kubernetes Scheduler Server is implemented by the Kube-scheduler process, which runs on the Kubernetes management nod
Basic knowledgeFirst: Docker is an open-source container, in fact this technology is not new. In the early days of Linux, there was a lightweight virtualization system like LXC. Docker is actually just a language to implement. Kubernetes means the helmsman of sailing, it's a powerful orchestration + Monitor + disaster preparedness + load management system for DockerSecond: Kubernetes is a summary and best p
First, IntroductionHeapster is a cluster-wide monitoring and event data aggregator. It natively supports kubernetes and can be run on all kubernetes settings. Heapster is run as a cluster in a group, similar to how any other kubernetes application runs. InfluxDB is an open source database written in go that is designed to handle time-series data with hi
in the previous section we discussed the services running on the Kubernetes architecture Master,This section discusses node nodes. Node is where the Pod runs, Kubernetes supports Docker, Rkt, and other container runtime. The Kubernetes components running on node have Kubelet, Kube-proxy, and Pod networks (such as flannel).KubeletKubelet is the agent of node, and
GlusterFSGlusterfs is an open-source, scale-out file system. These examples provide information about how to allow containers to use glusterfs volumes.The example assumes that you have set up the Glusterfs server cluster and is ready to use the running Glusterfs volume in the container.PrerequisiteThe Kubernetes cluster has been built.Installation of the Glusterfs clusterEnvironment IntroductionOS System: Centos 7.xGlusterfs of two nodes: 192.168.22.2
The problem of network error in Kubernetes
System environment#系统版本cat /etc/redhat-releaseCentOS Linux release 7.4.1708 (Core)#kubelet版本kubelet --versionKubernetes v1.10.0#selinux状态getenforceDisabled#系统防火墙状态systemctl status firewalld● firewalld.service - firewalld - dynamic firewall daemonLoaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)Active: inactive (dead) Docs: man:firewalld(1)
Pod anomaly Problem#d
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.