Skip to content

Instantly share code, notes, and snippets.

@adamhenson
Last active February 5, 2019 14:09
Show Gist options
  • Save adamhenson/9359d45111b648c6cc53e36d40d38873 to your computer and use it in GitHub Desktop.
Save adamhenson/9359d45111b648c6cc53e36d40d38873 to your computer and use it in GitHub Desktop.
A Node.js cron job - Kubernetes service configuration.
apiVersion: v1
kind: Service
metadata:
name: cron
labels:
app: cron
spec:
ports:
- port: 3000
targetPort: 3000
selector:
app: cron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment