Difference between revisions of "Kind: Service"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* https://kubernetes.io/docs/concepts/services-networking/service/
 
* https://kubernetes.io/docs/concepts/services-networking/service/
 
  [[kind:]] [[Service]]
 
  [[kind:]] [[Service]]
 +
<pre>
 +
apiVersion: v1
 +
kind: Service
 +
metadata:
 +
  name: my-service
 +
spec:
 +
  selector:
 +
    app: MyApp
 +
  ports:
 +
    - protocol: TCP
 +
      port: 80
 +
      targetPort: 9376
 +
</pre>
 +
  
  

Revision as of 10:09, 3 June 2022

Advertising: