Created
June 27, 2022 11:36
-
-
Save ajazfarhad/b4e6b7f6072616c755082659cffae5f3 to your computer and use it in GitHub Desktop.
GKE Internal load balancer service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: shop-api-internal-load-balancer | |
namespace: staging | |
annotations: | |
networking.gke.io/load-balancer-type: "Internal" | |
spec: | |
ports: | |
- port: 80 | |
protocol: TCP | |
targetPort: 3000 | |
selector: | |
app: shop-api | |
type: LoadBalancer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment