Skip to content

Instantly share code, notes, and snippets.

@phineas0fog
Created November 6, 2018 21:37
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 phineas0fog/f041bc74d1ca71cd156d336ef7642432 to your computer and use it in GitHub Desktop.
Save phineas0fog/f041bc74d1ca71cd156d336ef7642432 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
- name: https
port: 443
targetPort: 443
protocol: TCP
externalIPs:
- 192.168.1.221
- 192.168.1.222
selector:
app: ingress-nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment