Difference between revisions of "Kubectl create service loadbalancer"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
  
  apiVersion: v1
+
  {{type LoadBalancer}}
[[kind: Service]]
 
metadata:
 
  name: example-service
 
spec:
 
  selector:
 
    app: example
 
  ports:
 
    - port: 8765
 
      targetPort: 9376
 
  type: LoadBalancer
 
  
  

Revision as of 12:44, 10 October 2023

Advertising: