First commit. Taken from open source branch of internal sample-tracking application.
This commit is contained in:
26
deploy/k8s/sample-tracking/app-service.yaml
Normal file
26
deploy/k8s/sample-tracking/app-service.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: cloud.google.com/v1
|
||||
kind: BackendConfig
|
||||
metadata:
|
||||
name: ereq-backend-config
|
||||
spec:
|
||||
timeoutSec: 60
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: sample-tracking-service
|
||||
labels:
|
||||
app: sample-tracking
|
||||
annotations:
|
||||
beta.cloud.google.com/backend-config: '{"default": "ereq-backend-config"}'
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: sample-tracking
|
||||
tier: web
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8989
|
||||
sessionAffinity: ClientIP
|
||||
Reference in New Issue
Block a user