Created
May 4, 2021 16:10
-
-
Save ng-the-engineer/79356be428f07c984e125d8fd1d1a4f6 to your computer and use it in GitHub Desktop.
Code snippet of tutorial node api k8s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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