# Backend service apiVersion: v1 kind: Service metadata: name: backend-service namespace: suhailahamed spec: selector: app: fruitapp-backend ports: - protocol: TCP port: 5000 targetPort: 5000 --- # Frontend service apiVersion: v1 kind: Service metadata: name: frontend-service namespace: suhailahamed spec: selector: app: fruitapp-frontend ports: - protocol: TCP port: 80 targetPort: 80