nginx ingress controller kind:service vs kind 的区别:Ingress vs kind:Kubernetes 中的 configMap
Difference between nginx ingress controller kind:service vs kind: Ingress vs kind: configMap in Kubernetes
我正在尝试了解 Nginx 入口控制器之间的区别
kind:service
对
kind: Ingress
对
kind: configMap
在 Kubernetes 中,但有点不清楚。
kind: Service 和 Kind: Ingress in Service 和 Ingress 一样吗?
kind表示使用yaml文件时要创建的Kubernetes对象的类型。
Kubernetes objects are persistent entities in the Kubernetes
system. Kubernetes uses these entities to represent the state of your
cluster. Specifically, they can describe:
- What containerized applications are running (and on which nodes)
- The resources available to those applications
- The policies around how those applications behave, such as restart policies, upgrades, and fault-tolerance
ConfigMap Object: A ConfigMap is an API object used to store
non-confidential data in key-value pairs. Pods can consume ConfigMaps
as environment variables, command-line arguments, or as configuration
files in a volume.
Ingress Object: An API object that manages external access to the
services in a cluster, typically HTTP. Ingress may provide load
balancing, SSL termination and name-based virtual hosting.
Service Object: In Kubernetes, a Service is an abstraction which
defines a logical set of Pods and a policy by which to access them
(sometimes this pattern is called a micro-service).
我正在尝试了解 Nginx 入口控制器之间的区别
kind:service
对
kind: Ingress
对
kind: configMap
在 Kubernetes 中,但有点不清楚。 kind: Service 和 Kind: Ingress in Service 和 Ingress 一样吗?
kind表示使用yaml文件时要创建的Kubernetes对象的类型。
Kubernetes objects are persistent entities in the Kubernetes system. Kubernetes uses these entities to represent the state of your cluster. Specifically, they can describe:
- What containerized applications are running (and on which nodes)
- The resources available to those applications
- The policies around how those applications behave, such as restart policies, upgrades, and fault-tolerance
ConfigMap Object: A ConfigMap is an API object used to store non-confidential data in key-value pairs. Pods can consume ConfigMaps as environment variables, command-line arguments, or as configuration files in a volume.
Ingress Object: An API object that manages external access to the services in a cluster, typically HTTP. Ingress may provide load balancing, SSL termination and name-based virtual hosting.
Service Object: In Kubernetes, a Service is an abstraction which defines a logical set of Pods and a policy by which to access them (sometimes this pattern is called a micro-service).