Skip to content

Instantly share code, notes, and snippets.

@0xAhmed
Last active October 3, 2017 13:22
Show Gist options
  • Save 0xAhmed/d8b27bf01205fa91f13dac8d7330684c to your computer and use it in GitHub Desktop.
Save 0xAhmed/d8b27bf01205fa91f13dac8d7330684c to your computer and use it in GitHub Desktop.
Example k8s LB as a Service
kind: Service
apiVersion: v1
metadata:
name: app-lb
spec:
type: LoadBalancer
ports:
- name: http
port: 80
targetPort: 8080
protocol: TCP
selector:
app: kubeapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment