Created
March 22, 2017 23:00
-
-
Save leahnp/26e26609350c75bffef4987e4d263bc3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: log-app | |
| labels: | |
| app: log-app | |
| spec: | |
| containers: | |
| - name: log-app | |
| image: quay.io/leahnp/leah_log_app:latest | |
| ports: | |
| - containerPort: 8080 | |
| volumeMounts: | |
| - name: log-storage | |
| mountPath: /var/log | |
| - name: sidecar-log-collector | |
| image: leahnp/fb-test | |
| resources: | |
| limits: | |
| cpu: 100m | |
| memory: 200Mi | |
| volumeMounts: | |
| - name: log-storage | |
| readOnly: true | |
| mountPath: /mnt/log | |
| volumes: | |
| - name: log-storage | |
| emptyDir: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment