Brief introduction:Docker: An open-source application container engine that can create a lightweight, portable, self-sufficient container for your application.Kubernetes: The Docker container Cluster Management system, which is open source by Google, provides the functions of resource scheduling, deployment operation, service discovery, capacity scaling and so on for containerized applications.ETCD: A highly available key-value storage system develope
://cbs.centos.org/repos/virt7-testing/x86_64/os/Packages/And the latest version information is:Kubelet Version: v1.0.3.34+b9a88a7d0e357b cause of the problem:The CentOS-brought CD is used as the local Yum source, and the configuration file of the network Yum source with CentOS is removed.Workaround:Use the configuration file of the network Yum source that comes with CentOS.PS: How to Build a kubernetes cluster
There are two requirements for stateful cluster services: one is storage requirements and the other is cluster requirements.For storage requirements, the Kubernetes solution is: Volume, persistent Volume. For PV, in addition to manually creating a PV pool, the storage system can be automatically created by storage class.For c
kubernetes Introduction
Kubernetes is a container cluster management system that Google Open-source in June 2014, using the Go language development, Kubernetes also called k8s.
K8s is a Borg container cluster management system inside Google, Borg has been operating on Goog
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
Add/Remove node to Kubernetes cluster
Minion node pre-operation preparation#关闭防火墙systemctl stop firewalld#禁止防火墙开机启动systemctl disable firewalld#检查selinuxgetenforceDisabled#端口检查
Add node to the Kubernetes clusterWhen the KUBEADM Init initialization operation is complete, the system finally gives the command to join the node to the cluster:kubeadm join 10.0.0.
Kubernetes is a distributed cluster of Google's Docker based, with the following main components ETCD: High-availability storage sharing configuration and service discovery, used as a companion to flannel on Minion machines, to enable Docker running on each minion to have different IP segments The ultimate goal is to make the Docker Containner running on different minion have an IP address that is not the
document is by default in v1.11.2 version
Kube-dns
1.14.10
This document is by default in the 1.14.10 version
Dashboard
1.8.3
This document is by default in the 1.8.3 version
Heapster
v1.5.4
This document is by default in the v1.5.4 version
Influxdb
v1.5.2
This document is by default in the v1.5.2 version
Grafana
v5.0.4
This document is by default in the v5.0.4 version
Kubernetes can automatically run multiple copies of Odoo services, so it 's very well suited to make a highly available Odoo deployment, in this case,Odoo The service runs in the kubernetes cluster, while the PostgreSQL database runs in another Cluster host host Network on the other hostInstall
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.16
#Galera集群特点
No delay between clusters, synchronous replication. While Master-slave master-slave asynchronous replication, there is a delay.
Active-active Multi-master, the cluster internal server is written at the same time, must wait for all the databases in the cluster to complete the data write, the feedback is complete, so there is no data loss situation.
The
container sizes, and so on. Here are some interesting information and controls1. With Kubectl get deploy, you can view some details about each deployment2. Kubectl get RS for each deployment-related replication set (replicas)3. Use the KUBECTL scale command to specify how many containers to run for an appKubectl scale--replicas=3 rs/mvcapp-1456147153Note: In fact, when Kubectl run, you can specify the number of containers to run at the same time, and if you prefer, you can set it to Autoscale (
The next one is to deploy and expand the Kubernetes cluster based on rancher7. Configuring Redis with ConfigmapHttps://github.com/kubernetes/kubernetes.github.io/blob/master/docs/user-guide/configmap/redis/redis-configRedis-configMaxMemory 2MB Maxmemory-policy Allkeys-lru# kubectl Create Configmap example-redis-config--from-file=./redis-config# Kubectl Get config
This article will introduce the creation and use of Kube-ui (also called dashboard) on the basis of the previous article. This thing is essentially the WebUI connection Master API interface, through the API to obtain information about the k8s cluster, and then on the web display, for the user is more friendly, the actual use is not very large.One, download the image file and incorporate the unified management of the local warehouse# docker pull docker
"}, {_id:1, Host:"mongodb-1.mongodb.basic-app.svc.cluster.local:27017"}, {_id:2, Host:"mongodb-2.mongodb.basic-app.svc.cluster.local:27017" } ]});2. Create an administrative user: For specific reference: https://docs.mongodb.com/manual/tutorial/enable-authentication/Use admindb.createuser ({User:"Myuseradmin", pwd:"[email protected]", roles: [{role:"Useradminanydatabase"Db:"Admin"}]}) Db.auth ("Myuseradmin","[email protected]")3, after you can connect to create users, give role permissions to
The security of the cluster mainly considers the following aspects:
Isolation of the container from the host;
Limiting the ability of containers to adversely affect infrastructure and other containers;
The principle of least privilege--to reasonably restrict the permissions of all components, to ensure that the component only performs its mandated behavior, limiting the scope of the permissions it can achieve by restricting the ability of
Original intentionSince the advent of kubernetes (k8s), the installation of complex, difficult to deploy has been the industry to spit groove, but also a lot of beginners to block outside the door. While there are also official standalone deployment options for getting Started: Minikube, and the kubeadm used to build the cluster, the domestic green network environment makes the official program extremely co
This is a creation in
Article, where the information may have evolved or changed.
Kubernetes cluster has been set up, has been running very stable. Previous concerns have focused more on installation, configuration, and component debugging, and some of the minutiae has been overlooked. The settings for the time zone in the pod are one of them. I'm going to try to solve this problem today.
First, the problem
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.