Skip to content

Instantly share code, notes, and snippets.

@leahnp
Created March 22, 2017 23:00
Show Gist options
  • Select an option

  • Save leahnp/26e26609350c75bffef4987e4d263bc3 to your computer and use it in GitHub Desktop.

Select an option

Save leahnp/26e26609350c75bffef4987e4d263bc3 to your computer and use it in GitHub Desktop.
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