kubernetes(k8s) environment construction and deployment
kubernetes(k8s) environment construction and deployment
preface
The word kubernetes comes from Greek, which means navigator and container arrangement technology at the production environment level, which can realize automatic deployment, expansion and management of containers. Kubernetes, also known as K8S, in which 8 represents t ...
Posted by cactus on Sun, 16 Jan 2022 05:30:04 +0100
k8s core concepts NameSpace, Labels, Pods
Briefly understand some core concepts in k8s and their functions.
1. namespace
Namespace can be used for resource isolation. Namespace provides a range for Names. The Names of the resource are unique in the namespace. Namespace is a way to divide cluster resources into multiple uses (through resource quota).
1. Create
(1) Command line creation
...
Posted by searchman on Sat, 15 Jan 2022 20:14:35 +0100
K8s --- storage volumes configuration management
catalogue
1, Introduction to Volumes
2, emptyDir volume
Introduction to emptyDir
emptyDir example
3, hostPath volume
hostPath example
4, NFS example
V. persistent volume
Static PV
NFS dynamic allocation PV
1, Introduction to Volumes
The files in the container are temporarily stored on disk, which brings some problems to the speci ...
Posted by JPark on Sat, 15 Jan 2022 17:43:01 +0100
Adding k8s nodes in kubedm
From below, you can see that there are problems in three places etcd-master1,kube-apiserver-master1,kube-flannel-ds-42z5p
[root@master3 ~]# kubectl get pods -n kube-system -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
coredns-546565776c ...
Posted by usvpn on Sat, 15 Jan 2022 15:42:46 +0100
Prometheus Operator uses operator to manage alertmanager
Prometheus Operator - the second part uses Prometheus Operator to manage monitoring configuration, such as alertmanager alarm, user-defined alarm rules, etc~https://mp.weixin.qq.com/s?__biz=MzU0NjEwMTg4Mg==&mid=2247485774&idx=1&sn=1b0301dadc4b737e19b1066219813db7&chksm=fb63865bcc140f4d8966d1c3745c8f69c6384337c43a1a8eda6e1ae488bd ...
Posted by tridean34 on Sat, 15 Jan 2022 08:30:54 +0100
Kubernetes - preliminary understanding of K8s and K8s cluster deployment
1, Introduction to Kubernetes
1.kubernetes
Kubernetes, abbreviated as K8s, is an abbreviation of 8 characters instead of "ubernet". It is an open source application for managing container applications on multiple hosts in the cloud platform. Kubernetes aims to make the deployment of container applications simple and efficient. K ...
Posted by Democreous on Fri, 14 Jan 2022 03:34:45 +0100
kubeadm deploys the K8S cluster and uses containers as container runtime
WeChat Public Number: Operations Development Story by Joke
Preface
In December last year, when the Kubernetes community announced version 1.20, it gradually abandoned dockershis, and there were also many media campaigns promoting the abandonment of Docker s by Kubernetes. Actually, I think this is misleading, maybe just to calm down.
docke ...
Posted by jeva39 on Wed, 12 Jan 2022 18:58:18 +0100
Cluster network monitoring using KubeNurse
WeChat Public Number: Operations Development Story by Joke
Preface
In Kubernetes, networks are provided through third-party network plug-ins, whose implementation is so complex that they often run into difficulties when troubleshooting network problems. So what is the way to monitor all the network connections in a cluster?
kubenurse is on ...
Posted by OuchMedia on Wed, 12 Jan 2022 18:54:50 +0100
Linux (enterprise) - k8s(pod lifecycle / controller)
1. pod life cycle
init container
Case: when the service monitored by the init container is not configured, the main container and init container cannot start normally
apiVersion: v1
kind: Pod
metadata:
name: myapp-pod
labels:
app: myapp
spec:
containers:
- name: myapp-container
image: busyboxplus
command: ['sh', ' ...
Posted by ashwood on Wed, 12 Jan 2022 08:38:44 +0100
Run rainbow on Mac for 10 minutes for quick installation
prefacePrevious installation and deployment Rainbond No way can bypass the construction of Kubernetes cluster. Whether it is used as a development environment or for production delivery, the deployment process is very dependent on the server or virtual machine. This sets a high threshold in the process of experiencing the rainbow cloud native a ...
Posted by Alex C on Tue, 11 Jan 2022 05:26:21 +0100