Day 34 Task: Working with Services in Kubernetes
Task 1: Creating a Service for the todo-app Deployment
Service YAML File: service.yml
apiVersion: v1
kind: Service
metadata:
name: todo-app-service
namespace: node-app
spec:
selector:
app: todo
ports:
- protocol: TCP
port: 80
...
amitsinghs.hashnode.dev2 min read