Skip to content

Instantly share code, notes, and snippets.

@Chronojam
Last active July 15, 2016 15:07
Show Gist options
  • Save Chronojam/feb2a8fd5472ace0f64726acf55bddde to your computer and use it in GitHub Desktop.
Save Chronojam/feb2a8fd5472ace0f64726acf55bddde to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: "{{ name }}"
spec:
selector:
app: "{{ name }}"
type: LoadBalancer
ports:
- name: "webui"
protocol: "TCP"
port: {{ whatever port the container is hosting on }}
targetPort: {{ Whatever port the container is hosting on }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment