Created
June 19, 2020 22:07
-
-
Save tylertreat/8293014f66e3679294f9528f3336a7d7 to your computer and use it in GitHub Desktop.
GKE service with default BackendConfig
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: web | |
namespace: default | |
annotations: | |
beta.cloud.google.com/backend-config: '{"default": "config-default"}' | |
spec: | |
ports: | |
- port: 8080 | |
protocol: TCP | |
targetPort: 8080 | |
selector: | |
run: web | |
type: NodePort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment