conventions.io

Tech Challenge

2026-10-20

☸️

Daily Tech Challenge

Kubernetes

medium
Question 1 of 5

Service api lives in namespace frontend and has the selector shown. Every Pod labeled app: api runs in namespace backend; namespace frontend has no Pods with that label. What endpoints does the Service get?

Example
apiVersion: v1
kind: Service
metadata:
  name: api
  namespace: frontend
spec:
  selector:
    app: api
  ports:
  - port: 80
    targetPort: 8080

Tuesday, October 20, 2026 · A new challenge drops every day