Skip to content

Instantly share code, notes, and snippets.

@rohancme
Created July 15, 2017 01:38
Show Gist options
  • Save rohancme/7c09111161c0d647b91c0cceaf10c35e to your computer and use it in GitHub Desktop.
Save rohancme/7c09111161c0d647b91c0cceaf10c35e to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: jenkins-master-service
namespace: ci
spec:
type: LoadBalancer
ports:
- port: 80
name: http
targetPort: 8080
- port: 50000
name: jenkins-master
targetPort: 50000
selector:
name: jenkins-master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment