Skip to content

Instantly share code, notes, and snippets.

@mdelder
Created May 3, 2019 14:52
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 mdelder/423f9e1b5b551e5786883ec473e558dc to your computer and use it in GitHub Desktop.
Save mdelder/423f9e1b5b551e5786883ec473e558dc to your computer and use it in GitHub Desktop.
An example Kubernetes Deployment for a Node app that interacts with the Watson Conversation API. See https://ibm.co/2zKfgIX for the full recipe.
# Service to expose frontend
apiVersion: v1
kind: Service
metadata:
name: watson-conversation-app
labels:
app: watson-conversation-app
tier: frontend
spec:
type: NodePort
ports:
- port: 3000
selector:
app: watson-conversation-app
tier: frontend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment