Skip to content

Instantly share code, notes, and snippets.

@ng-the-engineer
Created May 4, 2021 16:10
Show Gist options
  • Select an option

  • Save ng-the-engineer/79356be428f07c984e125d8fd1d1a4f6 to your computer and use it in GitHub Desktop.

Select an option

Save ng-the-engineer/79356be428f07c984e125d8fd1d1a4f6 to your computer and use it in GitHub Desktop.
Code snippet of tutorial node api k8s
apiVersion: v1
kind: Service
metadata:
name: tutorial-node-api-k8s
labels:
name: tutorial-node-api-k8s
annotations:
dev.okteto.com/auto-ingress: "true"
spec:
type: ClusterIP
ports:
- protocol: TCP
port: 8080
targetPort: 3001
selector:
name: tutorial-node-api-k8s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment