Configuring the Kubernetes Network
Installation is required on both master and nodes flannel
Yum Install flannel
Configuration is required on both master and nodes flannel
Vi/etc/sysconfig/flanneld
# Flanneld configuration options# ETCD URL location. Point the server where ETCD runsFlannel_etcd_endpoints= "http://etcd:2379"# ETCD config key. This is the configuration key, that flann
can use the Kubernetes API or the KUBECTL CLI to access logs, and when a spark application is running, the application may log flow logs:
$ kubectl-n=
If you are installing in a cluster, you can also access the log through the Kubernetes dashboard.
L access the interface of the driver UI. The user interface associated with the application can be accessed locall
dashboard is "naked", there is no security to say:-Dashboard UI does not have access management mechanism, any access can take over the dashboard completely;-At the same time behind, dashboard accesses the apiserver through Insecure-port, without using the encryption mechanism.
Second, dashboard through the Kubeconfig file information access Apiserver
Let's start by establishing a secure communication mechanism between dashboard and apiserver.
The st
Description: Use the Grafana official plugins (Grafana-kuberneres-app) Link Prometheus show kubernetes informationNote: All monitoring-related information is placed on the Namespace=monitorGithub:https://github.com/grafana/kubernetes-app1, Installation PrometheusProm-rbac.yamlapiVersion: rbac.authorization.k8s.io/v1beta1kind: ClusterRolemetadata: name: prometheus namespace: monitorrules:- apiGroups: [""]
, please read Running Kubernetes locally via Minikube. kubeadm for non-prod Env Using Kubeadm, we can build a kubernetes cluster for Non-prod environment, which runs master key components as containers.For more kubeadm information, please see the Using kubeadm to Create a Cluster.Other IaaC for Prod EnvFor creating a kubernetes cluster on VMs for Prod ENV, We nee
Guide:Kubernetes a ride on the dust to open, then the enterprise should start to kubernetes migration? Under what circumstances do you really accept it? Some of the technology frontier companies first-step practice is probably the most persuasive and reference value. This article is a good reference.1Kubernetes now rage, it is part of a massive cloud-native movement. All major cloud providers use it as a solution for deploying cloud-native application
The Kubernetes network model is made up of four parts from inside to outside:
The network where the pod interior container resides
The network where the pod resides
Network for communication between pod and service
Network of communication between outside and service
It is recommended that you understand the network model of Docker before reading this article. Refer to the author's first two articles [
What is 1.1 kubernetes?First, it is a new, container-based, distributed architecture leading solution. is an open source version of Google's Borg (large-scale cluster management system).Second, if the system design follows the Kubernetes design idea, then the traditional system architecture and business does not have much to do with the underlying code or function modules (such as load balancing, service se
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 U
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
Concept GroomingIn order to solve the above-mentioned problem, Kubernetes does not need to find a way, after all, is the network security level of the problem, every service will encounter problems, the industry has a mature solution to solve. Here we look at industry scenarios and related concepts.
Symmetric encryption/Asymmetric encryptionThese two concepts belong to cryptography, which is not easy to understand for the students who have n
Use Kubernetes to manage containers on centos 71. Preface
The previous section describes the Kubernetes system architecture, which gives you a preliminary understanding of Kubernetes. However, you may not know how to use Kubernetes. This article describes how to deploy and configure the network environment of the
Kubernetes container cluster management system basic explanation, kubernetes Management SystemKubernetes Overview
Kubernetes is open-source by GoogleContainer Cluster Management SystemIs an open-source version of Google's large-scale container management technology Brog, which includes the following features:
Container-based application deployment, maintenance,
This is a creation in
Article, where the information may have evolved or changed.
Hello everyone, I am Xu Chao, engaged in Kubernetes development has been more than two years.
Today, I talk about Client-go repository from a developer's point of view and how to build a Controller with Client-go. At the same time, we also give you a talk about the development process encountered in the pit, I hope everyone in the development of the time can be around
Rancher 2.0 is an open-source, enterprise-class Kubernetes platform that is now available for beta releases. Rancher 2.0 simple and intuitive interface style and operation experience, will solve the industry legacy of the long-kubernetes native UI ease of use and the learning curve steep problem. and Rancher 2.0 Creative multi-
! [K8s-install] (https://raw.githubusercontent.com/opsnull/follow-me-install-kubernetes-cluster/master/images/ Dashboard-home.png) "And I step-by-Step deployment kubernetes cluster" since its release, by the Kubernetes community long-time enthusiasts attention, raised a lot of questions and suggestions (see Github issues), very happy to bring you help! Previous v
updates. such as our self-built computer room, the most depressed, not like some foreign public cloud so convenient, directly can download updates. How do you do it? First of all, you have to have a ladder, and then through the special Set update service, plus all_proxy, you can automatically update!
To make it easier to use Yoo-installer, I plan to do two versions, one VM version, once downloaded, directly available, and the other Docker version. Prepared by the insufficient, did not finish,
unnecessary problems. The firewall also shuts down to avoid firewall conflicts with the inside of the Docker Container.
[email protected] ~]# systemctl Stop Firewalld[email protected] ~]# systemctl Disable FIREWALLD
second, Start the installation 1. First add the k8s component to the Yum source that is downloaded in the node, as Follows:
Cat [virt7-docker-common-release]Name=virt7-docker-common-releasebaseurl=http://cbs.centos.org/repos/virt7-docker-co
Kubernetes Basic Primer-Installation Deployment Configuration ExampleDeploying Kubernetes SkydnsKubernetes can provide DNS internal domain name resolution services for pods.Its main function is to provide pods with the ability to resolve the IP directly through the service's name to the corresponding service!1. First add the options in the Kubelet process for each node:kubelet_args= "--cluster_dns=10.254.0.
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.