apiVersion: v1 kind: Service metadata: name: math-exercises-service annotations: # Security annotations service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" spec: selector: app: math-exercises ports: - name: http protocol: TCP port: 80 targetPort: 8000 type: ClusterIP # Only accessible within the cluster internalTrafficPolicy: Local