mirror of
https://github.com/golang/go
synced 2024-11-18 12:44:49 -07:00
d07a458d9a
Fixes expired cert issue too, either by virtue of newer autocert, or that we're no longer hitting some LetsEncrypt rate limit. But we have a cache now at least, so we should be nicer to LetsEncrypt when the process dies. I did see some process crashes (old?) in the logs. So maybe we were crashing and re-hitting LE often. Verified that the cert now expires: Sunday, October 29, 2017 at 9:57:00 PM Pacific and that it's cached in GCS. Fixes golang/go#21251 Change-Id: I3def551ae8eef5df0ec7c51927c4d4bb52cd7a6a Reviewed-on: https://go-review.googlesource.com/52390 Reviewed-by: Chris Broadfoot <cbro@golang.org> Reviewed-by: Jessie Frazelle <me@jessfraz.com> Run-TryBot: Jessie Frazelle <me@jessfraz.com>
41 lines
916 B
YAML
41 lines
916 B
YAML
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
name: tipgodoc
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
app: tipgodoc
|
|
template:
|
|
metadata:
|
|
name: tipgodoc
|
|
labels:
|
|
app: tipgodoc
|
|
spec:
|
|
volumes:
|
|
- name: cache-volume
|
|
emptyDir: {}
|
|
containers:
|
|
- name: gitmirror
|
|
image: gcr.io/symbolic-datum-552/tip:v2
|
|
imagePullPolicy: Always
|
|
command: ["/go/bin/tip", "--autocert=tip.golang.org", "--autocert-bucket=golang-tip-autocert"]
|
|
env:
|
|
- name: TMPDIR
|
|
value: /build
|
|
- name: TIP_BUILDER
|
|
value: godoc
|
|
volumeMounts:
|
|
- mountPath: /build
|
|
name: cache-volume
|
|
ports:
|
|
- containerPort: 8080
|
|
- containerPort: 443
|
|
resources:
|
|
requests:
|
|
cpu: "1"
|
|
memory: "2Gi"
|
|
limits:
|
|
cpu: "2"
|
|
memory: "4Gi"
|