Skip to content

Instantly share code, notes, and snippets.

@mblhaunted
Created October 18, 2017 19:14
Show Gist options
  • Save mblhaunted/8b4e541329868e82704a01c7d1c52b12 to your computer and use it in GitHub Desktop.
Save mblhaunted/8b4e541329868e82704a01c7d1c52b12 to your computer and use it in GitHub Desktop.
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
namespace: default
name: docker-registry-ingress
spec:
backend:
serviceName: docker-registry
servicePort: 5000
---
apiVersion: v1
kind: Service
metadata:
name: docker-registry
namespace: default
spec:
ports:
- protocol: TCP
port: 5000
selector:
app: docker-registry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment