Skip to content

Instantly share code, notes, and snippets.

@bitmage
Created March 26, 2017 04:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bitmage/8184d56d4670791c0c2fcdae17bc8a2f to your computer and use it in GitHub Desktop.
Save bitmage/8184d56d4670791c0c2fcdae17bc8a2f to your computer and use it in GitHub Desktop.
kubernetes example service
---
kind: Service
apiVersion: v1
metadata:
name: proxy-service
spec:
type: LoadBalancer
loadBalancerIP: 99.100.101.102
selector:
app: proxy
ports:
- name: http
protocol: TCP
port: 80
- name: https
protocol: TCP
port: 443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment