OverviewKubernetes is a powerful container orchestration tool that enables users to reliably deploy and run containerized applications on a scalable system. Within the container area, k8s has undoubtedly become a community standard for container orchestration and management, and even Docker has announced support for K8s. The fighting in the field of container orchestration has been turned around, and the dust settles, and k8s has been unanimously endorsed by the players including Google, Huawei,
Teaches you how to accelerate the deployment of k8s in China and implement custom settings that have a k8s image of the warehouse with its namespace.OverviewKubernetes is a powerful container orchestration tool that enables users to reliably deploy and run containerized applications on a scalable system. Within the container area, k8s has undoubtedly become a community standard for container orchestration and management, and even Docker has announced support for K8s. The fighting in the field of
certification aspects of processing, certification is actually entrusted to K8s Apiserver responsible, dashboard just based on user login information generated Authinfo object, encrypted as token carried in the browser, that is Jwe protocol, Jwe Sub-package is the implementation of the JWE protocol, where Keyholder (Rsakeyholder concrete Class) manages the key pair used by Jwe and stores the secret key in Kubernetes-dashboard-key-holder Secrets objec
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, find the corresponding Yaml file on the offici
First of all, we need to understand the function of kubernetes, in short, it provides a container orchestration technology, to provide users with a container-based service rapid deployment, upgrade, rollback, access control, elastic scaling and other scheduling functions, so that users in the development, testing, production environment can achieve agile development, The purpose of fast and reliable delivery.Second, you need to understand the kubernet
Kubernetes is Google open source container choreographer, very suitable for the current hot micro-service architecture, in the Container choreography field, is gradually building a dominant position. This article mainly aims at the Kubernetes service to do some analysis, first briefly introduces the basic concept.
Basic concepts
The Pod:kubernetes minimum Dispatch unit is a set of containers that can be und
mountpath:/logs
volumes:
-name:app-logs Emptudir
: {}
View Log kubectl logs 5. Configuration management of Pod
The Kubernetes v1.2 version provides a unified cluster configuration management solution –configmap. 5.1. Configmap: Configuration management for container applications
Usage Scenario: Live as an environment variable within a container. Set startup parameters for the container startup command (set to environment variable). Mou
Use Google Cloud deployment Manager to install and run Istio's quick start instructions in Google kubernetes Engine(Gke).
This quick start is used to create a new Gke cluster, install Istio, and then deploy the BookInfo sample application. It is performed automatically using Deployment Manager and is described in detail in the istio on kubernetes setup Guide .
Note: The default installation creates a Gke Al
The introduction on GitHub:Ambassador is a open source kubernetes-native API Gateway built on Envoy, designed for MicroServices . Key features include:
Self-Service configuration, via Kubernetes annotations
First Class GRPC and HTTP/2 support
Support for CORS, timeouts, weighted round robin (Canary), and more
Istio Integration
Authentication
Robust TLS support, including TLS c
Outline:
? How to discover services in Kubernetes
? How to discover the services provided by pod
? How to use service discovery Services
? How to use the Kube-dns discovery service
? Kube-dns principle
? Composition
? Domain name format
? Configuration
Note: this share is based on the Kubernetes 1.2 version!Let's start with a simple example.1.How to discover service
images through projects. Kubernetes in the namespace to isolate resources, in an enterprise-level scenario, the combination of the two can effectively manage and access control of the mirrored resources used by kubernetes, enhancing the security of the image. Especially in multi-tenancy scenarios, the management and access control of multi-tenant mirrored resources can be achieved through a combination of
1:helm (deployment tool that can be used to deploy common applications, instead of Kubelet native commands)Https://github.com/kubernetes/helmApplication list: https://github.com/kubernetes/charts/tree/master/stable2:prometheus Operator (k8s system monitoring)https://github.com/coreos/prometheus-operator/3:dashboard (Kubernetes Web UI Management Interface)Https://
I. When deploying the Kubernetes cluster, we used Acs-engine to generate 3 JSON files and some certificate files, as follows:
Apimodel.json-Cluster configuration file
Azuredeploy.json-Core Arm (Azure Resource Model) template for deploying k8s clusters
Azuredeploy.parameters.json-Deployment parameters file, where parameters can be customized
Certificate and Access config Files-kubernetes
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.io/mritd/
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 cluster requirements, the Kubernetes solution is pet Set. The Pet Set also initializ
To succeed in today's fast-paced development environment,Leveraging container technology and DEVOPS practicesIt is important to build and continuously deliver microservices.As a Java developer,As you integrate the latest tools and development methodologies,You need to take advantage of some of the powerful features of the Java language.Today, we're going to learn how to deploy Java-based microservices applications to Kubernetes clusters using Micropro
In a production environment kubernetes if you provide only HTTP or HTTPS services, you can use seven-tier load balancing software such as nginx-ingress or Traefik. Of course, you can also expose HTTP or TCP services in a nodeport way. If you do not want to directly use the port number exposed by Nodeport, and the server is running on the Ali Cloud, you can expose the TCP service or Controller service externally using the
Objective
in the Kubernetes system, Scheduler is the only one in the plugin form of the module, this pluggable design to facilitate user-defined scheduling algorithm, so the source path for the plugin directory of CMD and pkg/scheduler
Scheduler is responsible for arranging the pod to the specific node, monitoring the Pods through the interface provided by API Server, acquiring the pod to be scheduled, ranking each node nodes according to a series
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.