Created
January 18, 2019 17:19
-
-
Save sudermanjr/cf572fa3de4875e1613fa0c3299a2c37 to your computer and use it in GitHub Desktop.
This file contains 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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: utilities | |
labels: | |
app: utilities | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: utilities | |
template: | |
metadata: | |
labels: | |
app: utilities | |
spec: | |
containers: | |
- name: utilities | |
image: quay.io/sudermanjr/utilities:latest | |
# Just spin & wait forever | |
command: [ "/bin/bash", "-c", "--" ] | |
args: [ "while true; do sleep 30; done;" ] | |
securityContext: | |
readOnlyRootFilesystem: true | |
allowPrivilegeEscalation: false | |
runAsNonRoot: true | |
runAsUser: 10324 | |
capabilities: | |
drop: | |
- ALL | |
resources: | |
requests: | |
cpu: 30m | |
memory: 64Mi | |
limits: | |
cpu: 100m | |
memory: 128Mi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment