Skip to content

Instantly share code, notes, and snippets.

@tylertreat
Created June 19, 2020 22:07
Show Gist options
  • Save tylertreat/8293014f66e3679294f9528f3336a7d7 to your computer and use it in GitHub Desktop.
Save tylertreat/8293014f66e3679294f9528f3336a7d7 to your computer and use it in GitHub Desktop.
GKE service with default BackendConfig
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