Openstack electronic bare metal Practice 2 disk startup
I wrote an article about openstack iron bare metal operation before, which mainly introduces the state machine of iron and the introduction of issuing memory operating system with iron. Interested friends can refer to:
Openstack electronic bare metal Practice
In this article, I want to talk about the operation of lowering the image and starti ...
Added by Kryllster on Tue, 04 Jan 2022 14:42:20 +0200
Metrics server and HPA in kubernetes
1, K8S monitoring component metrics server
Installation steps
1.Add open source warehouse
[root@k8s-master ~]# helm repo add kaiyuanshe http://mirror.kaiyuanshe.cn/kubernetes/charts/
#Search metrics server
[root@k8s-master ~]# helm search repo metrics-server
2.download metrics-server package
helm pull kaiyuanshe/metrics-server
3.decompre ...
Added by enoyhs on Tue, 04 Jan 2022 11:46:05 +0200
k8s cluster environment construction
k8s cluster environment construction
preface
Today, let's use kubeam to build a k8s cluster to prepare the environment for the microservice project we will write later. First, let's take a look
Construction steps
Turn off firewall
systemctl stop firewalld.service
systemctl disable firewalld.service
Modify selinux
setenforce 0 temporary ...
Added by dynodins on Tue, 04 Jan 2022 08:52:04 +0200
kubernetes data persistence
Pod is composed of containers, and after the container is down or stopped, the data will be lost. This means that we have to consider the storage problem when we are doing Kubernetes cluster, and the storage volume is created for pod to save data. There are many types of storage volumes. We usually use four types: emptyDir, hostPath, NFS and ...
Added by jhbalaji on Tue, 04 Jan 2022 08:47:17 +0200
Microservice deployment on k8s platform
Micro services involved
demo involving three microservices:
Service registration and discovery: Eureka serverManagement service: admin serviceUser service: User Service
The management service and User service will register with eureka. When accessing the add user api of the Admin service, the Admin service will call the add user api of the U ...
Added by jcubie on Tue, 04 Jan 2022 00:19:23 +0200
Building a highly available Rancher cluster based on K3S
WeChat official account: operation and development story, author: Liu Daxian
K3S Description:
K3s (lightweight Kubernetes): similar to RKE, it is also a certified Kubernetes distribution. It is newer than RKE, easier to use and lighter. All components are in a binary file less than 100 MB. From Rancher v2 Starting from 4, the Rancher can be ...
Added by wiseass on Mon, 03 Jan 2022 23:32:20 +0200
Linux combat notes ----- configMap management, Secret management and Volumes management of k8s storage
1, Configmap configuration management
Introduction:
• Configmap is used to save configuration data in the form of key value pairs. • the configMap resource provides a way to inject configuration data into the Pod. • it aims to decouple the image from the configuration file in order to realize the portability and reusability of ...
Added by marli on Mon, 03 Jan 2022 21:32:35 +0200
Enterprise entry practice -- k8s kubernetes access control
k8s access control
Authentication There are 8 authentication methods. One or more authentication methods can be enabled. As long as one authentication method passes, other authentication methods will not be carried out. X509 Client Certs and Service Accout Tokens are usually enabled.
There are two types of users in Kubernetes cluster: Ser ...
Added by shazly on Mon, 03 Jan 2022 20:26:28 +0200
Container resource constraints for Kubernetes(k8s)
Implementation of resource constraints
Kubernetes' restriction on resources is actually controlled by cgroup, which is a set of related attributes of the container used to control how the kernel runs the process. There are corresponding cgroups for memory, CPU and various devices.
By default, Pod runs without CPU and memory limits. This m ...
Added by robin01 on Mon, 03 Jan 2022 10:48:46 +0200
linux12k8s -- > 04 resource management and detailed explanation of YAML files
Resource management and YAML files
1, Introduction to resource management
In kubernetes, all contents are abstracted as resources. Users need to manage kubernetes by operating resources.
Kubernetes is essentially a cluster system. Users can deploy various services in the cluster. The so-called deployment service actually means running ...
Added by fotobleu on Mon, 03 Jan 2022 08:38:36 +0200