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 file
Kubernetes Important Concept UnderstandingKubernetes is currently the most mainstream container orchestration tool, the next generation of distributed architecture of the king. 2018 Kubernetes The first version 1.10 has been released. Here's a look at some of the basic concepts of kubernetes.The kubernetes divides the machines in the cluster into master nodes and
Operational environment readiness and related software requirements1. Production-grade Kubernetes cluster recommended 1.8 or later2.Gitlab Docker Image Slpcat/gitlab-ce3.Jenkins Docker ImageJenkins master image Slpcat/kube-jenkins-service has been installed with various plugins required, preconfigured with Kubernetes management Jenkins slave Jenkins slave image s
Download deployment Files according to official documentshttps://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yamlEdit this and replace the role name with the following command implementation:
Create Kubernetes-dashboard-rbac.yamlDownload the deployment file, there is a place to note, it is created in
Status.loadBalancer.ingress.hostname
String
Host name of external load balancer
2. Service,rc,pod Architecture Hierarchy Relationship
3, VIP and Service agentThe kube-proxy process running on each node is actually an intelligent software load balancer that forwards requests for service to one of the pod instances on the back end and implements the load balancing of services within the session retention mechani
\dockerstart Etcd on master node ( can also be deployed separately ) Flannel systemctl start Kube-apiserver ,Kube-controller-manager ,Kube-schedulerYou can also write a script to start it:For master in Etcd Flanneld kube-apiserver Kube-controller-manager
a hour red
Is-slave-31tkb 172.17.0.10 centos2/192.168.1.112 Name=redis-slave Running Slave kubernetes/redis-slave:v2 Running minutes Redis-slave-uk
8nu 172.17.0.11 centos2/192.168.1.112 name=redis-slave Running minutes Slave kubernetes/redis-slave:v2 Running minutes NAME LABELS
SELECTOR IP (s) PORT (s) frontend name=frontend name=frontend 10.254.15
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 flann
architecture
Code instance
Summarize
Kubernetes Common instruction, kubectl instruction, etc.
Kubernetes Log
Kubernetes Monitoring
Day two: Deployment and core mechanism analysis
Kubeadm Rapid Deployment
Kubernetes how to achieve autonomous driving
Analysis of servic
following command to start the service in bulkin etcd kube-apiserver kube-controller-manager kube-scheduler; do systemctl restart $SERVICES systemctl enable $SERVICES systemctl status $SERVICESdoneSlave node ConfigurationNote: The slave node host is also installed Docker,flannel, k8sYum installation Kubernetesyum -y install flannel docker-y install --enablerepo=
microservices are integrated with Envoy sidecar, and all traffic to and from the integrated service is hijacked by Sidecar, so that the required hooks are prepared for external control, and then the Istio control plane can be used to provide service routing for the application,Functions such as telemetry data collection and policy enforcement.Next, according to the Istio environment, follow the instructions below to complete the deployment of the application. First verify that the
create a corresponding RBD block for kubernetes storage. Before you create a block device, you need to create a storage pool, and Ceph provides a default storage pool called RBD. We then create a kube store dedicated to storing the block devices used by kubernetes, and subsequent operations are performed on Client-node:Ceph OSD Pool Create
explained. Question 2: Which mirrors are required to quickly deploy kubernetes using rancher?List of mirrors required for Rancher v1.6.14 deployment k8s1.8.5 http://blog.csdn.net/CSDN_duomaomao/article/details/79127856 , this article takes version 1.6.14 as an example. Special Note:1, RANCHER_CN Head of the image, tiller this image is very special, it is Kubernetes deployment Tool Helm service-side compone
The content of this section:
Service Discovery and load balancing
Ingress Combat
First, service discovery and load balancingIn the previous installation deployment Kubernetes cluster, it was simple to demonstrate that pod and Service,kubernetes implemented service discovery and load balancing for containers within the Kubernetes cluster through
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
Haven't written a blog for a long time, the company engaged in a period of 997 is too brutal. 997 End also fast 1 weeks, finally slow down a bit, first two easy article, and then a little work, write a Kubernetes series. This article mainly introduces the kubernetes related commands, for the initial contact Kubernetes reference.Kubernetes through the
This article CSDN blog address: http://blog.csdn.net/huwh_/article/details/71308171First, the kubernetes of the general structure of the two, kubernetes each component introduction (a) kube-master[control node]
Workflow Flowchart for Master
Kubecfg sends a specific request, such as creating a pod, to the
local warehouse.
5, based on kubernetes cluster deployment Skydns Service--Continue to build the service registration Discovery system in Kubernetes: Skydns.
6, based on the Kubernetes cluster deployment Complete example--guestbook--built the back-end self-set cluster, service registration; Front end finds the full use case of the backend through service disco
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.