ceph-csi/vendor/k8s.io/kubernetes/cluster/gce/manifests/glbc.manifest

57 lines
1.7 KiB
Plaintext
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: Pod
metadata:
2018-03-06 22:33:18 +00:00
name: l7-lb-controller-v0.9.8-alpha.2
2018-01-09 18:57:14 +00:00
namespace: kube-system
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
labels:
k8s-app: gcp-lb-controller
2018-03-06 22:33:18 +00:00
version: v0.9.8-alpha.2
2018-01-09 18:57:14 +00:00
kubernetes.io/name: "GLBC"
spec:
terminationGracePeriodSeconds: 600
hostNetwork: true
containers:
2018-03-06 22:33:18 +00:00
- image: k8s.gcr.io/ingress-gce-glbc-amd64:0.9.8-alpha.2
2018-01-09 18:57:14 +00:00
livenessProbe:
httpGet:
path: /healthz
port: 8086
scheme: HTTP
initialDelaySeconds: 30
# healthz reaches out to GCE
periodSeconds: 30
timeoutSeconds: 15
successThreshold: 1
failureThreshold: 5
name: l7-lb-controller
volumeMounts:
- mountPath: /etc/gce.conf
name: cloudconfig
readOnly: true
- mountPath: /var/log/glbc.log
name: logfile
readOnly: false
resources:
2018-03-06 22:33:18 +00:00
# Request is set to accommodate this pod alongside the other
2018-01-09 18:57:14 +00:00
# master components on a single core master.
# TODO: Make resource requirements depend on the size of the cluster
requests:
cpu: 10m
memory: 50Mi
command:
# TODO: split this out into args when we no longer need to pipe stdout to a file #6428
- sh
- -c
2018-03-06 22:33:18 +00:00
- 'exec /glbc --verbose --apiserver-host=http://localhost:8080 --default-backend-service=kube-system/default-http-backend --sync-period=600s --running-in-cluster=false --use-real-cloud=true --config-file-path=/etc/gce.conf --healthz-port=8086 1>>/var/log/glbc.log 2>&1'
2018-01-09 18:57:14 +00:00
volumes:
- hostPath:
path: /etc/gce.conf
type: FileOrCreate
name: cloudconfig
- hostPath:
path: /var/log/glbc.log
type: FileOrCreate
name: logfile