Skip to content

Instantly share code, notes, and snippets.

@tomaszkiewicz
Created April 18, 2018 18:49
Show Gist options
  • Save tomaszkiewicz/bf86e1a430e9054bd8e44356b65c8b6a to your computer and use it in GitHub Desktop.
Save tomaszkiewicz/bf86e1a430e9054bd8e44356b65c8b6a to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: ingress-nginx
namespace: ingress-nginx
spec:
type: NodePort
ports:
- name: http
port: 80
targetPort: 80
protocol: TCP
nodePort: 30080
- name: https
port: 443
targetPort: 443
protocol: TCP
nodePort: 30443
selector:
app: ingress-nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment