Created
September 11, 2016 12:05
-
-
Save linki/b4d1b86cc23bfc2422728c60f48948ed to your computer and use it in GitHub Desktop.
example manifest for can
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: postgres | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: postgres | |
spec: | |
containers: | |
- name: postgres | |
image: postgres:9.5.3 | |
env: | |
- name: POSTGRES_USER | |
value: postgres | |
- name: POSTGRES_PASSWORD | |
value: postgres | |
- name: PGDATA | |
value: /var/lib/postgresql/data/pgdata | |
ports: | |
- containerPort: 5432 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment