Skip to content

Instantly share code, notes, and snippets.

@KamilLelonek
Created April 21, 2019 08:23
Show Gist options
  • Save KamilLelonek/bc0f3f40164d5eb5fbb2cfa670a10f95 to your computer and use it in GitHub Desktop.
Save KamilLelonek/bc0f3f40164d5eb5fbb2cfa670a10f95 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: example-node-port
spec:
type: NodePort
selector:
app: api
ports:
- port: 4444
targetPort: 4444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment