1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:04:47 -07:00
go/cmd/tip/tip-rc.yaml

41 lines
916 B
YAML
Raw Normal View History

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"