Difference between revisions of "LoadBalancer:"

From wikieduonline
Jump to navigation Jump to search
Line 18: Line 18:
  
 
  [[rules:]]
 
  [[rules:]]
 +
 +
[[status:]]
 +
    [[loadBalancer:]] {}
  
 
== See also ==
 
== See also ==

Revision as of 15:26, 27 November 2023

kind: Ingress
 apiVersion: v1[1]
kind: Service
metadata:
  name: my-service
spec:
  selector:
    app.kubernetes.io/name: MyApp
  ports:
    - protocol: TCP
      port: 80
      targetPort: 9376
  clusterIP: 10.0.171.239
  type: LoadBalancer
status:
  loadBalancer:
    ingress:
    - ip: 192.0.2.127
.../...
status:
  loadBalancer:
    ingress:
    - hostname: a324242432.elb.ap-southeast-1.amazonaws.com
.../...


.../... status:

 loadBalancer:
   ingress:
   - ip: 10.10.10.1
   - ip: 10.10.10.2

.../...


rules:
status:
   loadBalancer: {}

See also

  • https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
  • Advertising: