简体   繁体   中英

Difference between nginx ingress controller kind:service vs kind: Ingress vs kind: configMap in Kubernetes

I am trying to understand the difference between Nginx ingress controller

kind:service 

vs

kind: Ingress

vs

kind: configMap

in Kubernetes but a little unclear. Is kind: Service same as Kind: Ingress in Service and Ingress?

kind represents the type of Kubernetes objects to be created while using the yaml file.

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM