Using fluent as the docker log driver to collect logs

Preface The default log driver for docker is json-file Every container will generate a / var/lib/docker/containers/containerID/containerID-json.log locally. The log driver supports extension. This chapter focuses on the fluent driver collecting docker logs Fluentd is an open source data collector for unified logging layer. It is the sixth CNCF ...

Posted by Mortier on Sun, 16 Feb 2020 03:50:45 +0100

Pod Resource Management for K8s and Creation of Harbor Private Mirror Warehouse (with mirror pull operation, with troubleshooting in the middle)

pod is the smallest unit of k8s management There are multiple containers in a pod and only one in a real production environment Characteristic: 1. Minimum Deployment Unit2. A collection of containers3. A container in a Pod shares a network command space4.Pod is transient Pod container classification: 1:infrastructure container base conta ...

Posted by mhalloran on Sun, 16 Feb 2020 00:15:40 +0100

YUM warehouse online simple installation single node K8S (pure combat)

Simple online installation of single node K8S using YUM warehouse Experimental environment: Using system: CentOS 7.4 Name role IP address centos7-min2 master 192.168.142.220 centos7-4 node 192.168.142.136 Experimental steps: 1, Configuration step directory master configuration node configuration Test results 2, master configuration ...

Posted by Carlo Gambino on Tue, 04 Feb 2020 18:33:54 +0100

The key principle of kubernetes scheduler

kubernetes scheduler has analyzed SchedulerCache, ScheduleAlgorithm, scheduleextender, Framework and other core data structures, as well as the core implementation of optimization, scheduling and preemption processes. This paper is the last chapter of this series, and also a summary of the current stage's learning of scheduling I've updated the ...

Posted by JackSevelle on Tue, 04 Feb 2020 06:02:02 +0100

Kubernetes Binary Wire Network Deployment (Example!!!)

This category 1. Official three deployment options2.Kubernetes Platform Environment Planning3. Self-signed SSL certificate4.Etcd database cluster deployment5.Node Install Docker6.Flannel Container Cluster Network Deployment7. Deploy Master Components8. Deploy Node Components9. Deploy a test sample10. Deploy Web UI (Dashboard)11. Deploy the DNS ...

Posted by fotakis on Thu, 23 Jan 2020 18:57:54 +0100

k8s learning notes: installation and deployment of kubernetes (binary package mode)

Installation and deployment of kubernetes (binary package mode) 1, Introduction to installation and deployment 2, kubernetes (binary package mode) installation and deployment 1. Deploy etcd cluster 1.1 generate etcd certificate 1.2 download / decompress etcd binary package 1.3 create etcd configura ...

Posted by haixiao on Mon, 20 Jan 2020 16:01:36 +0100

Namespace and Pod in Kubernetes

1. Namespace 1) Overview of Namespace Namespace is an abstract collection of resources and objects that can be used, for example, to divide objects within a system into different project or user groups.Common pods, services, replication controllers, and deployments all belong to a namespace (default by default), whereas node, persistentVolumes ...

Posted by etingwall on Thu, 09 Jan 2020 20:15:22 +0100

How to deploy the traifik ingress controller in K8S cluster

Note: the version of traifik used in this article is 1.x In the production environment, we often need to control the external access from the Internet to the cluster, which happens to be the responsibility of Ingress.  The main purpose of Ingress is to expose HTTP and HTTPS from outside the cluster to the services running in the cluster. Thi ...

Posted by mulysa on Tue, 07 Jan 2020 11:13:53 +0100

Use GlusterFS storage in JupyterHub for K8s

Using GlusterFS in Kubernetes ( https://www.gluster.org/ There are endpoint (external storage) and heketi (k8s built-in GlusterFS service).This article focuses on using endpoint to set up GlusterFS storage for use in JupyterHub for K8s.For simplicity, install using the default JupyterHub helm.According to the Quick Setup JupyterHub for K8s Afte ...

Posted by docpepper on Mon, 06 Jan 2020 11:12:11 +0100

Detailed pod Scheduling for k8s

Usually, the default k8s scheduling method is used, but in some cases, we need to run the pod on the node with the characteristic label to run them all. At this time, the pod's scheduling policy can not use the default k8s scheduling policy. At this time, we need to specify the scheduling policy, telling k8s that we need to schedule the pod on ...

Posted by Wireless102 on Sun, 05 Jan 2020 22:12:08 +0100