Skip to content

Instantly share code, notes, and snippets.

@marcoceppi
Created October 17, 2017 09:25
Show Gist options
  • Save marcoceppi/52d642d932dec325452f834f47f9605e to your computer and use it in GitHub Desktop.
Save marcoceppi/52d642d932dec325452f834f47f9605e to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: registry-ingress # Name of resource
spec:
rules:
- host: {{domain}} # Hostname/DNS for registry. Or use registry.{{KUBERNETES-WORKER/0-IP}}.xip.io
http:
paths:
- backend:
serviceName: registry # Name of Service when you created registry
servicePort: 5000 # Port that service is configured on
path: /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment