Skip to content

Instantly share code, notes, and snippets.

@gabrielrojasnyc
Last active April 6, 2018 04:25
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 gabrielrojasnyc/b2c99f65bb0cb03d2cdf76a2c36b464d to your computer and use it in GitHub Desktop.
Save gabrielrojasnyc/b2c99f65bb0cb03d2cdf76a2c36b464d to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: jenkins
spec:
type: NodePort
ports:
- port: 8080
targetPort: 8080
name: http-port
- port: 31000
targetPort: 31000
nodePort: 31000
name: jnlp-port
selector:
app: jenkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment