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
Scheduler Source Analysis
The last article mainly introduces the principle kubernetes principle of Kubernetes Scheduler--schedulerThis article mainly carries on the analysis to the Kubernetes Scheduler module source code. Scheduler Source Structure
Kubernetes Scheduler module in the
This is a creation in
Article, where the information may have evolved or changed. [Previous post] (https://studygolang.com/articles/12799) We looked at creating a container engine cluster with [TerraForm] (https://terraform.io/). In this blog post, we look at deploying containers into clusters using the container engine and [Kubernetes] (https://kubernetes.io/). # # Kubernetes First, what is [
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 same as any other Containner (Docker Containn
In a cluster with TLS enabled, each time the cluster interacts with identity authentication, using Kubeconfig (i.e., certificates) and token two authentication methods is the simplest and most common authentication method.Take Kubectl as an example to introduce the configuration of Kubeconfig. Kubectl is just a go-written executable program that can be used by any node in the cluster as long as the appropriate Kubeconfig is configured for Kubectl. Kubectl Default is to find files with file names
Deploying Heketi and Glusterfs in Kubernetes[TOC]1. PrefaceIn Kubernetes, using the Glusterfs file system, the procedure is usually:Create brick--> Create volume--> Create pv--> create pvc-->pod mount PVCIf you are creating more than one PV, you need to manually repeat these interlocking steps, Heketi can resolve these duplication problems.Heketi is used to manage the life cycle of the glusterfs volume and
By default, Kubernetes has a certificate validity period of 1 years when initializing a cluster. Manually generating certificates can avoid this problem.
Pull git code
git clone https://github.com/fandaye/k8s-tls.git CD k8s-tls/2. Edit the configuration file ' Apiserver.json ' file in the Hosts section, add the corresponding Kubernetes master node hostname and IP address to ', ' number interv
Reference article:1. Kubernetes Learning Resources1, "Kubernetes and cloud-native application" series of kubernetes system architecture and design concept2, [Docker Professional introduction website Dockerinfo] (Dockerinfo-docker container Technology tutorial, docker information dissemination and service platform)3, [Docker Professional introduction website Docko
Summary
Project Background (XX Bank customer): The private cloud on the k8s to run like MySQL in the state of the database services, performance and latency are relatively sensitive, not like the web bias application of stateless delay performance almost acceptable. But the network performance and delay is poor based on overlay mode, and the network architecture is more complex. And banks need to be simple and controllable for IP network management. Sr-iov is based on hardware implementation of
Kubernetes 1.9 clusters use traefik to publish services
This section describes how to use traefik to publish services in the kubernetes 1.5.2 cluster environment. Traefik is deployed in the daemonset mode. The http protocol is used to connect to the api-server, and rbac is not configured. This article describes how to deploy traefik in k8s 1.9 using deployment for service release.
Before starting, You Need
This article transferred from: http://blog.csdn.net/xingwangc2014/article/details/51204224Kubernetes through the kube-apiserver as the entire cluster management portal. Apiserver is the primary management node for the entire cluster, where the user configures and organizes the cluster through Apiserver, while the interactions between the nodes in the cluster and the ETCD store interact with the Apiserver. Apiserver implements a set of Restfull interfaces that allow users to interact directly wit
1, kubernetes installation of the creation of Kubeconfig filehttps://jimmysong.io/blogs/kubernetes-create-kubeconfig/2. Easy to understand kubernetes authentication functionhttp://qinghua.github.io/kubernetes-security/3. Security Configuration of Kubernetes clusterhttp://ton
Kubernetes using NFS as a shared storageKubernetes managed containers are encapsulated, and sometimes we need to put logs from the container running locally or shared storage to prevent the container from going down, and the logs can also analyze the problem. Kubernetes's shared storage scheme is currently more prevalent in three, namely: Nfs,glusterfs and Ceph.Previously wrote an article kubernetes use Glu
kubernetes clinet-go Development (I.)
Kubernetes currently provides two ways to create the required pod,service,replicationcontroller, one is through Kubectl create-f, a restful interface via HTTP, because of the work item's reason, Need to be customized according to the actual business needs of the development of K8s API, I used the library is the official, code base address: Https://github.com/
Service on the line to the top of the live pressure, carry the test, or to be said or we do things brother, remember this scene above?
The old method is a service cluster deployment, but there is always a limit, before with Ali when they have a flexible calculation can be set by the CPU's threshold to dynamically expand and shrink computing capacity, at that time the feeling is very strong, at least at that time our conventional approach is difficult to do, Did not expect to have
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 Google's mass production for 10 years.
K8s is mainly used for automated deployment, expansion
The pod is a container group, so let's create a pod now, just like Dockerfile.VI Nginx-pod.yaml (to pay great attention to the space, usually two spaces)Add to:Apiversion:v1Kind:podMetadataName:nginx1SpecContainers-NAME:NGINX1Image:docker.io/nginxPorts-containerport:9001Start podKubectl create-f Nginx-pod.yamlUse get Pods to view650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/88/89/wKioL1f7Tn_RJAOUAAAQwjCNxUA018.png "title=" 817cc777-d671-4aee-b74b-ca8300524af7.png "alt=" Wkiol1f7tn_r
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
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.