| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: stack-2.9 | |
| namespace: stack-2.9 | |
| labels: | |
| app: stack-2.9 | |
| annotations: | |
| # Uncomment for cloud-specific load balancer configurations | |
| # service.beta.kubernetes.io/aws-load-balancer-type: "nlb" | |
| # service.beta.kubernetes.io/azure-load-balancer-internal: "true" | |
| # cloud.google.com/load-balancer-type: "External" | |
| spec: | |
| type: LoadBalancer | |
| ports: | |
| - name: http | |
| port: 8000 | |
| targetPort: 8000 | |
| protocol: TCP | |
| selector: | |
| app: stack-2.9 | |
| # For internal-only access, use ClusterIP: | |
| # type: ClusterIP | |