Created
October 27, 2022 14:43
-
-
Save tsoe77/b62edf9ccbba8ffb6c326fa87512a1fd to your computer and use it in GitHub Desktop.
k8s postgres client for temporary uses
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: v1 | |
| kind: Pod | |
| metadata: | |
| name: postgres | |
| labels: | |
| app: postgres | |
| spec: | |
| containers: | |
| - name: postgres | |
| image: postgres:latest | |
| command: ["/bin/sleep", "3650d"] | |
| imagePullPolicy: IfNotPresent | |
| restartPolicy: Always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment