Please enable JavaScript.
Coggle requires JavaScript to display documents.
Services, Debugging - Coggle Diagram
Services
manifest
apiVersion
kind
metadata
spec
type: {NOdePort, CLusterIP, LoadBalancer}
ports
target
same as port
NodePort
default: any free nodeport
port
selector
enables communication
within cluster
Apps connect together
Application can have groups of pods
Front-End
Service makes it available
to External user
Backend
Service Makes it available
to FrontEnd Pods
database outside k8s cluster
Service makes it available
inside cluster
user connects to app
outside cluster
Listens on a PORT of node and
forwards the traffic to a pod
NodePort Service
Enables loose coupling
between micro-services
Debugging
Service was created for 3 pods but
traffic is being forwarded to more than 3 pods
k get svc serviceName
k describe svc serviceName
Service was created for single pod
but traffic is not being forwarded to it