Template:Type: LoadBalancer official example

From wikieduonline
Jump to navigation Jump to search
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

Advertising: