1. Bash Auto-refill for KUBECTL commandsThis is probably the easiest thing to do in the kubernetes process, but it's also one of the most useful. To add the auto-refill feature, if you use bash, simply execute the following command:echo"sourceIt will add an auto-complete command to your. bashrc file. So each shell window you open supports this feature. I found that auto-completion is especially useful for s
Kubernetes is Google's Open source container cluster management system. It is built on Docker technology and provides a whole set of functions, such as resource scheduling, deployment operation, service discovery, expansion and contraction capacity, for containerized applications, which can be regarded as Mini-paas platform based on container technology. The purpose of this article is to comb the architecture, concepts, and basic workflows of
Docker Network BasicsSince Kubernetes is based on the Docker container as the carrier of the application release, the network characteristics of Docker also determine that kubernetes in building a container interoperability network must solve the problem of Docker's own network.Network namespacesTo support multiple instances of the network protocol stack, Linux introduces a network namespace in the network
on OpenStack Cinder. An example of the definition of a cinder persisted volume is shown below. The Volumeid property points to the unique identity of the data volume that the administrator created in cinder. 4. Storage resource orientation matching the requirements for storage vary from one user to another, except for size and access, there may be special requirements for the speed of the disk, the data center where it is stored, and so on. To flexibly meet storage requirements and storage reso
status, get container info from cadvisor, pod info, root info, machine info.
Run the command in the container, kill the container, and delete all the containers for the pod.
2, proxy[load Balancing, routing and forwarding]
Proxy is designed to address the external network's ability to access application services provided across the container in a machine cluster, running on each node. Proxy provides a proxy for TCP/UDP socke
.
SchedulerThe scheduler in the cluster is responsible for the dispatch and distribution of pod in the cluster node.
KubeletResponsible for the lifecycle management of pod creation, modification, monitoring, deletion, etc. on node nodes, and kubelet the status information of "Escalation" node to API server.
ProxyImplement the service agent and software model of the load balancer.
The client accesses the Kubernetes system through the Kubectl
container.determine ingress IP and Ports Execute the following command to determine whether your Kubernetes cluster is running in an environment that supports external load balancers. [[emailprotected] ~]# kubectl Get svc istio-ingressgateway-n istio-systemname TYPE cluster-ipexternal-ipport (S) ageistio-ingressgatewaynodeport10.106.84.2defining ingress Gateway for Bookinfo applicationsNow that the B
On the left is my personal, if you need further communication, please add. On the right is my public number "OpenStack private cloud", if interested, please pay attention.in the previous post, " Kubernetes Getting Started learning mentioned in the Katacoda experimental environment can be further familiar with the use of k8s , the specific URL is: https://www.katacoda.com/courses/kubernetes/Recently spent s
expose this service to the external InternetNeed to set up firewall rules for the service port (s) (tcp:31576) to serve traffic.
Http://releases.k8s.io/release-1.2/docs/user-guide/services-firewalls.md for more details.Service "Kubernetes-dashboard" created
Verify:
# Kubectl Get Pods--namespace=kube-systemNAME READY STATUS Restarts ageKUBERNETES-DASHBOARD-3138400848-GRTFM 1/1 containercreating 0 27s
To view the detailed procedures for this contai
-infrastructure:latest"Kubelet_args= ""5. Start the Kube-proxy,kubelet,docker,flanneld service on all node nodes and set the boot# for SERVICES in Kube-proxy kubelet Docker flanneld;do systemctl restart $SERVICES; systemctl enable $SERVICES; Systemctl s Tatus $SERVICES; Done? Verify that the cluster is installed successfullyExecute the following command on master[[email protected] ~]# KUBECTL get nodeNAME STATUS Age192.168.137.147 Ready 7m192.168.137.
1. Reference documentationhttp://traefik.cn/2. Simple way to accessReference documentshttps://tonybai.com/2018/06/25/the-kubernetes-ingress-practice-for-https-service/Previous: Traefik Basic deployment record, describes the simplest HTTP access Traefik, the access process reference is shown below:Client---(via HTTP)---> Traefik----(via HTTP)----> ServicesNow to practice is more secure and more complex HTTPS access Traefik, there are two kinds of acces
The content of this article has been validated based on k8s v1.8.8. K8s Service defines the access entry address of a server, the front-end application accesses a cluster of pod replicas behind it through this entry address, and the access requests from outside are load balanced to each container application on the back end. Between the service and the back-end pod replica cluster, the docking is done through the label selector. The function of RC is to ensure service ability and service quality
The reference urls:https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/ ubuntu-calico.mdhttps://github.com/projectcalico/calico-docker/blob/master/docs/kubernetes/ Kubernetesintegration.md I have 3 hosts:10.11.151.97, 10.11.151.100, 10.11.150.101. Unfortunately, there is no Internet access in all 3 hosts. Following the guide, I-Build
two more points that need your attention:
Ideally choose a dual-core host with at least 2GB of RAM;
If you can select a custom user name when you configure the host, you will need to choose a custom username to discard the root selection. For example, Civo provides an option for ubuntu,civo or root;
Now perform the following steps on each machine, which may take you 5-10 minutes. If you think this process is too slow, you can also enter the following 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 kube-apiserv
what is kubernetes.
Kubernetes is a new, container-based distributed architecture leading solution. is an open source version of Google's internal cluster management system, Borg. It was not known until April 2015, when the papers were published. Kubernetes is an open platform for development. is not limited to any one language and does not qualify any programm
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.