apiVersion: v1 # Indicates this as a service kind: Service metadata: # Service name name: reddit-clone-service spec: selector: # Selector for Pods app: reddit-clone ports: # Port Map - port: 3000 targetPort: 3000 protocol: TCP type: LoadBalancer
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter