首页 > 其他分享 >Kubernetes 学习整理(一)

Kubernetes 学习整理(一)

时间:2024-01-21 20:58:45浏览次数:16  
标签:MetalLB load Kubernetes service 学习 cluster 整理 cloud

RKEv2: rolling upgrades, zero downtime upgrade, and automatic etcd backups. Variety of network plugins and has built-in support for the Helm package manager.

In RKEv2, CoreDNS is the default DNS,
is a flexible, extensible DNS server,
can serve as the Kubernetes cluster DNS,
can provide DNS services for other apps

MetalLB: is a load-balancer designed for bare metal k8s clusters,
using standard routing protocols such as BGP (Border Gateway Protocol) and ARP (Address Resolution Protocol).

A bare metal Kubernetes cluster is a Kubernetes cluster that runs directly on physical machines, not on virtual machines in a cloud environment.

CMO: Cluster monitoring operator. Monitor the altertmanager, performance and health of the Kubernetes cluster.

Kubernetes supports several types of services, each with a different use case:
Cluster IP: default type of service, it gives a service an internal IP that is accessible within the cluster;
NodePort: exposes the service on a static port on each node's IP, from outside the cluster, the NodePort is accessible via :
LoadBalancer: exposes the service externally using a cloud provider's load balancer.
It is specifically designed to distribute network traffic to multiple pods to ensure that no single pod is overwhelmed. In cloud environment, Kubernetes can leverage
the cloud provider's build=in load balancers to implement this.
However, in bare metal environments where there's no cloud provider's load balancer, MetalLB can be used to provide the LoadBalancer functionality.
The MetalLB does this by allocating a fixed external IP address to the service and then routing external traffic to the correct pods based on the service's configration.

It typically requires integration with a cloud provider's load balancer, which is not available in bare metal environments. That's where MetalLB comes in. MetalLB provides a way to implement LoadBalancer services in environments where they are not natively available (bare metal environments).

ExternalName: maps a service to a DNS name, rather than to a typical selector like my-service or cassandra.

MetalLB: exposing services to external network;
distribute network traffic to multiple pods.
Avoiding cloud provider Lock-In.
On-premises and Edge Computing.
Testing and Development: simulate the behavior of cloud load balancers.

标签:MetalLB,load,Kubernetes,service,学习,cluster,整理,cloud
From: https://www.cnblogs.com/vivivi/p/17978331

相关文章

  • 假期学习记录07
    本次学习了Spark概述,了解了Spark的一些基本概念,为更好的学习基于内存计算的分布式框架,拥有良好的性能,运行速度快,采用内存计算scala简介运行再jvm上,具有强大并发性,支持函数式编程,语法简洁,兼容java,交互式语言Spark与Hadoop比较Hadoop:磁盘io开销大,表达能力有限,延迟高,map......
  • 学习《机器学习》课程的一些总结
    回归(Regression)分类(Classification)朴素贝叶斯朴素贝叶斯(NB)是生成式(Generative)的。通过后验概率来进行分类(如:某一个物品在某一个类别的概率比较大,那么我们就认为这个物品属于这个类别)不妨假设数据服从二维正态分布,考虑利用训练集确定二维正态分布所需要的参数(均值\(\mu_1,\mu......
  • <学习笔记> 杜教筛
    杜教筛处理数论函数的前缀和问题,可以在低于线性的复杂度里求出\(S(n)=\sum_{i=1}^{n}f(i)\)。对于任意一个数论函数\(g\),必须满足:\[\sum_{i=1}^{n}(f*g)(i)=\sum_{i=1}^{n}\sum_{d\midi}g(d)*d(\frac{i}{d})\]\[=\sum_{d=1}^{n}g(d)\sum_{j=1}^{\lfloor\frac{n}{d}......
  • Kubernetes 学习整理
    MetalLB:routeTCPorUDPtraffic(layer4).Ingress:isbasedontheHTTPorHTTPS(layer7),usingNGINXorHAProxy.OnceMetalLBisinstalled,themetallb-operator-controller-managerdeploymentstartsapodnamedoperator.AssoonastheMetalLBoperat......
  • Shiro学习笔记
    Shiroshiro外部来看:内部来看:认证登录基本流程:收集用户身份/凭证,如用户名密码调用Subject.login(),进行登录,如果错误返回异常创建自定义的Realm类,继承org.apache.shiro.realm.AuthorizingRealm类,实现doGetAuthenticationInfo()方法授权流程:首先调用Subject.isPermit......
  • 学习笔记-24.1.21
    因此,当您在null引用上访问字段mingcheng时,它们不会被解析。相反,您应该首先创建一个对象并将其放入数组中。因此修改代码如下Pd[]pdd=newPd[20];for(inti=0;i<20;i++){Pdpd=newPd();pdd[i]=pd;} ......
  • RabbitMQ学习八 消费者可靠性
    一、消费者确认机制消费者的可靠性是靠消费者确认机制来保证。RabbitMQ提供了消费者确认机制(consumerAcknowledgement)。当消费者处理消息结束后,应该向RabbitMQ发送一个回执,告知RabbitMQ自己处理状态。回执有三种可选值:ack:成功处理消息,RabbitMQ从队列中删除该消息nack:......
  • Rocketmq学习3——消息发送原理源码浅析
    一丶概述RocketMQ消息发送的原理流程可以分为以下几个步骤:1.创建生产者在发送消息前,客户端首先需要创建一个消息生产者(Producer)实例,并设置必要的配置参数,如NameServer地址、生产组名称、消息发送失败的重试次数等。2.启动生产者创建生产者后,需要调用启动方法来初始化生产......
  • Evaluation Of postfix Expression using stack【1月21日学习笔记】
    点击查看代码//EvaluationOfpostfixExpressionusingstack#include<iostream>#include<stack>//stackfromstandardtemplatelibrary(STL)#include<string>usingnamespacestd;intEvaluatePostfix(stringexp);boolIsOperator(charc);intPe......
  • 算法学习Day36重叠区间
    Day36重叠区间ByHQWQF2024/01/21笔记435.无重叠区间给定一个区间的集合,找到需要移除区间的最小数量,使剩余区间互不重叠。注意:可以认为区间的终点总是大于它的起点。区间[1,2]和[2,3]的边界相互“接触”,但没有相互重叠。示例1:输入:[[1,2],[2,3],[3,4],[1......