You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
916 B

  1. apiVersion: v1
  2. kind: ReplicationController
  3. metadata:
  4. name: tipgodoc
  5. spec:
  6. replicas: 1
  7. selector:
  8. app: tipgodoc
  9. template:
  10. metadata:
  11. name: tipgodoc
  12. labels:
  13. app: tipgodoc
  14. spec:
  15. volumes:
  16. - name: cache-volume
  17. emptyDir: {}
  18. containers:
  19. - name: gitmirror
  20. image: gcr.io/symbolic-datum-552/tip:v2
  21. imagePullPolicy: Always
  22. command: ["/go/bin/tip", "--autocert=tip.golang.org", "--autocert-bucket=golang-tip-autocert"]
  23. env:
  24. - name: TMPDIR
  25. value: /build
  26. - name: TIP_BUILDER
  27. value: godoc
  28. volumeMounts:
  29. - mountPath: /build
  30. name: cache-volume
  31. ports:
  32. - containerPort: 8080
  33. - containerPort: 443
  34. resources:
  35. requests:
  36. cpu: "1"
  37. memory: "2Gi"
  38. limits:
  39. cpu: "2"
  40. memory: "4Gi"