Skip to content

Instantly share code, notes, and snippets.

@weyderfs
Last active September 23, 2021 18:40
Show Gist options
  • Save weyderfs/ceb5c978a1e9b992f52ba476173716bd to your computer and use it in GitHub Desktop.
Save weyderfs/ceb5c978a1e9b992f52ba476173716bd to your computer and use it in GitHub Desktop.
Simple deployment K8s Pod Debug - To deploy use the raw link
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