| apiVersion: extensions/v1beta1 |
| kind: Deployment |
| metadata: |
| name: maintner-deployment |
| spec: |
| replicas: 1 # MUST BE 1 FOR NOW |
| template: |
| metadata: |
| labels: |
| app: maintner |
| spec: |
| volumes: |
| - name: pv-maintner-cache |
| gcePersistentDisk: |
| pdName: maintner-cache |
| fsType: ext4 |
| containers: |
| - name: maintnerd |
| image: gcr.io/symbolic-datum-552/maintnerd:latest |
| imagePullPolicy: Always |
| command: ["/maintnerd", "--config=go", "--bucket=golang-maintner-log", "--verbose", "--data-dir=/cache", "--listen=:80", "--autocert=maintner.golang.org", "--autocert-bucket=golang-maintner-autocert"] |
| volumeMounts: |
| - mountPath: /cache |
| name: pv-maintner-cache |
| ports: |
| - containerPort: 80 |
| - containerPort: 443 |
| resources: |
| requests: |
| cpu: "1" |
| memory: "2Gi" |
| limits: |
| memory: "2Gi" |