Skip to content

Instantly share code, notes, and snippets.

@nolram
Created November 11, 2019 21:10
Show Gist options
  • Save nolram/49ed0960d7251d971b72656eb524a65c to your computer and use it in GitHub Desktop.
Save nolram/49ed0960d7251d971b72656eb524a65c to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Namespace
metadata:
name: marlon
---
apiVersion: v1
kind: Pod
metadata:
name: testando-busybox
namespace: marlon
labels:
name: busybox
spec:
containers:
- name: testando-busybox
image: busybox
command:
- sleep
- "3600"
resources:
limits:
memory: "128Mi"
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Pod
metadata:
name: nginx
namespace: marlon
labels:
name: nginx
spec:
containers:
- name: nginx
image: nginx:latest
resources:
limits:
memory: "128Mi"
ports:
- containerPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment