Difference between revisions of "Kubectl create service loadbalancer"

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

Revision as of 13:22, 9 December 2022

Advertising: