Skip to content

Instantly share code, notes, and snippets.

@sudermanjr
Created November 9, 2018 04:09
Show Gist options
  • Save sudermanjr/dd978f2f18a6aca310eb381a88e2b17c to your computer and use it in GitHub Desktop.
Save sudermanjr/dd978f2f18a6aca310eb381a88e2b17c to your computer and use it in GitHub Desktop.
Kube202 Load Balancer Service
apiVersion: v1
kind: Service
metadata:
annotations:
name: test-service
namespace: kube202
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
app: nginx
sessionAffinity: None
type: LoadBalancer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment