Introduction to deploying Calico Network Calico Components:
The Felix:calico agent runs on each node, setting network information for the container: IP, routing Rules, iptable rules, etc.
Etcd:calico Back-End storage
BIRD:BGP Client: Responsible for broadcasting Felix's routing information set on each node to the Calico network (via the BGP Protocol).
BGP Route Reflector: Hierarchical routing distribution for large-scale clusters.
Calico:calico command-line administratio
appropriate for them. To achieve this, it assigns an IP address to each Pod.Kubernetes provides a Service abstraction that provides a stable IP address and DNS name to correspond to a dynamic set of pods, such as a set of pods that make up a microservices. This pod group is defined by the Label selector, because any pod group can be specified. When a container running in the Kubernetes Pod is connected to this address, the connection is forwarded by
This is a creation in
Article, where the information may have evolved or changed.
The topic of this share is: How to install CoreOS + Kubernetes automatically under bare metal. Mainly from the background, working principle, the specific process, the mining pit four to share.
Let's introduce the background.With the increase of the scale of the light and sound business, the number of online business products and the purchase volume of the server are al
more details about Kubernetes, refer to Kubernetes on CoreOS docs.Monitor containers with cAdvisor
Kubelet has a built-in cAdvisor for collecting, summarizing, processing, and exporting information about running containers of a given system. The cAdvisor contains a built-in web interface that can be accessed through port 4194.[Cadvisor web interface]
The cAdvisor web UI allows you to conveniently view the
exports information for a given system's running container. The cadvisor contains a built-in web interface that can be accessed via 4194 ports.cadvisor Web Interface .The Cadvisor Web UI makes it easy to see the status of system resource utilization and processing lists.System utilization information.Cadvisor can also be used to monitor special containers, such as Kube-apiserver running in the Kubernetes p
Install CalicoFor the nodes has no Internet access, I downloaded the calico plugin mannual from:https://github.com/projectcalico/calico-kubernetes/releases/tag/v0.6.0Move the plugin to the Kubernetes plugin directory:sudo mv Calico_kubernetes/usr/libexec/kubernetes/kubelet-plugins/net/exec/calico/calicoStart the Calico:sudo etcd_authority=127.0.0.1:4011./calicoc
running at Https://192.168.77.140:6443/api/v1/namespaces/kube-system/services/ Kibana-logging/proxykube-dns is running at Https://192.168.77.140:6443/api/v1/ Namespaces/kube-system/services/kube-dns:dns/proxymonitoring-grafana is running at https: //192.168.77.140:6443/api/v1/namespaces/kube-system/services/monitoring
This is a creation in
Article, where the information may have evolved or changed.
K8s Offline installation package Three-step installation, simple to unbelievable
Kubeadm Source Code Analysis
To say the truth, Kubeadm code is sincere, the quality is not very high.
A few key points to first talk about some of the core things Kubeadm did:
Kubeadm Generate certificate in/etc/kubernetes/pki directory
Kubeadm generate a static pod Yaml configurati
to see if it is available. In Kubernetes, nodes are saved with the following structure:{ "id": "10.1.2.3", "kind": "Minion", "apiVersion": "v1beta1", "resources": { "capacity": { "cpu": 1000, "memory": 1073741824 }, }, "labels": { "name": "my-first-k8s-node", },}The Kubernetes check node is available depending on the ID. In the current version, there are two interfaces that can be used to manage nodes:
-namespacesNAMESPACE NAME cluster-ip external-ip PORT (S) AgeDefault Kubernetes 10.254.0.1 Kube-system kubernetes-dashboard 10.254.141.158 [[Email Protected]_master ~]# kubectl get pod-o wide--all-namespacesNAMESPACE NAME Ready STATUS restarts IP NODEKube-system kubernetes-dashboard-1270457039-t1z15 1/1 Running 0 2m 10
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
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
Kubernetes Dashboard1.8.3 Deployment
DescriptionPlease click images to download and use the image below.
Installing Dashboard#下载yamlwget https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml#查看yaml中imageimage: k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.3
first introduce what k8s is: (Quote from k8s Chinese community)Kubernetes is a container cluster management system, it is an open source platform, can realize the automatic deployment of container cluster, auto-scaling capacity, maintenance and other functions. Kubernetes you can:
Quick Deploy app
Rapid extension Application
Seamless docking of new application features
.centos.x86_64.rpm oci-systemd-hook-1.10.3-44.el7.centos.x86_64.rpmdocker-common-1.10.3-44.el7.centos.x86_64.rpm yajl-2.0.4-4.el7.x86_64.rpmdocker-forward-journald-1.10.3-44.el7.centos.x86_64.rpmThe installation of ETCD and flannel is relatively simple and has no dependencies. Docker installation because of dependencies, you need to install Docker's dependency package before the installation succeeds. This is not the focus of this article, do not repeat.On all four machines, Etcd,docker must be
The previous blog post describes the deployment of the K8s cluster, which focuses on deploying Kube-dns and dashboard.Environment descriptionNode-1 (Master): 10.0.0.1Node-2:10.0.0.2Node-3:10.0.0.3The cluster uses a binary installation, and the Flannel network plug-in is deployed.Kube-dns
When doing the following, you must have already deployed the k8s cluster, if you do not have such a cluster, please refer to my previous blog post.
1, 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.