Created
November 3, 2016 23:10
-
-
Save thomastaylor312/33fc6b9dbd3e5737349e293cb3e4f093 to your computer and use it in GitHub Desktop.
An example Deployment
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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: test | |
spec: | |
replicas: 1 | |
template: | |
spec: | |
containers: | |
- name: test | |
image: alpine:latest | |
volumeMounts: | |
- mountPath: /var/myapp/ | |
name: config | |
volumes: | |
- name: config | |
configMap: | |
name: alert-rules | |
defaultMode: 600 | |
items: | |
- key: foo-file | |
path: config.yml | |
- key: special.conf | |
mode: 644 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment