Skip to content

Instantly share code, notes, and snippets.

@jait
Created March 25, 2019 08:17
Show Gist options
  • Save jait/11fbc285bee1ec6c02787e74fdfe7ca0 to your computer and use it in GitHub Desktop.
Save jait/11fbc285bee1ec6c02787e74fdfe7ca0 to your computer and use it in GitHub Desktop.
k3s-blog / service-lb-example.yaml
apiVersion: v1
kind: Service
metadata:
name: my-web-app
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 8080
loadBalancerIP: 10.10.10.51
selector:
app: my-web-app
type: LoadBalancer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment