Last active
October 1, 2020 09:07
-
-
Save CermakM/69b0e3f6ccdcdc82c433815d2490246b to your computer and use it in GitHub Desktop.
Kubernetes PSQL 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: apps/v1 | |
kind: Deployment | |
metadata: | |
annotations: | |
gist.github.com/url: "https://gist.github.com/CermakM/69b0e3f6ccdcdc82c433815d2490246b" | |
gist.github.com/owner: "https://github.com/CermakM" | |
name: dev-tools-psql | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: dev-tools | |
component: psql | |
template: | |
metadata: | |
labels: | |
app: dev-tools | |
component: psql | |
name: dev-tools-psql | |
spec: | |
containers: | |
- image: governmentpaas/psql:latest | |
command: | |
- sh | |
- -c | |
args: | |
- while true; do sleep 30; done | |
imagePullPolicy: IfNotPresent | |
name: psql | |
resources: | |
limits: | |
cpu: 100m | |
memory: 128Mi | |
requests: | |
cpu: 50m | |
memory: 64Mi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment