Last active
September 23, 2021 18:40
-
-
Save weyderfs/ceb5c978a1e9b992f52ba476173716bd to your computer and use it in GitHub Desktop.
Simple deployment K8s Pod Debug - To deploy use the raw link
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: | |
name: ubuntu-deployment | |
labels: | |
app: ubuntu | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: ubuntu | |
template: | |
metadata: | |
labels: | |
app: ubuntu | |
spec: | |
containers: | |
- name: ubuntu | |
image: ubuntu:latest | |
command: ["/bin/sleep", "3650d"] | |
imagePullPolicy: IfNotPresent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment